Prague
steelants/laravel-boilerplate.warehouse (0.1.0)
Published 2025-10-10 12:10:25 +00:00 by JonatanRek
Installation
{
"repositories": [{
"type": "composer",
"url": "https://git.steelants.cz/api/packages/SteelAnts/composer"
}
]
}composer require steelants/laravel-boilerplate.warehouse:0.1.0About this package
Simple Warehouse Management System
Laravel Boilerplate Warehouse
Simple Laravel warehouse package providing models, migrations and Blade views for basic inventory, items, categories and suppliers management.
Installation
- Require the package in your Laravel app and run
composer dump-autoload. - Ensure auto-discovery registers
SteelAnts\LaravelBoilerplate\Warehouse\BoilerplateWarehouseServiceProvider. - Publish and run migrations:
php artisan vendor:publish --tag=boilerplate-warehouse-migrationsthenphp artisan migrate. - Optionally publish views:
php artisan vendor:publish --tag=boilerplate-warehouse-views.
Included
- Models:
Item,Inventory,Category,Supplier,InventoryItem,InventoryLog,Stockup. - Migrations for all related tables with foreign keys.
- Observers to cascade deletions for related records.
- Blade views hooking into expected Livewire components from the Boilerplate.
Routes
- Registered under prefix
admin/stockwith namesadmin.stock.*:GET /admin/stock/items→ items list viewGET /admin/stock/items/{item}→ item detailGET /admin/stock/inventories→ inventories list viewGET /admin/stock/sellers→ sellers list viewGET /admin/stock/process→ placeholder (points to inventories view)
Policies
- Default policies allow all actions; override in your app if needed by re-mapping via
Gate::policy().
Notes
- Traits like tenancy/auditing are not hard-required here; wire your own if needed.
Dependencies
Dependencies
| ID | Version |
|---|---|
| laravel/framework | ^11.0|^12.0 |
| livewire/livewire | ^3.0 |
| steelants/laravel-boilerplate | ^1.0|^2.0 |
Development Dependencies
| ID | Version |
|---|---|
| barryvdh/laravel-debugbar | ^3.9 |