Products package for Laravel Enso.
This package cannot work independently of the Enso ecosystem.
For live examples and demos, you may visit laravel-enso.com
install using composer
composer require laravel-enso/products
- features a core products functionality with a model, enums, migrations, routes, controllers, resources, index table, etc
- provides CRUD functionality for the
- defines the relationship with a manufacturer and multiple suppliers and can manage the default supplier
- the Enso
Companymodel is used for the manufacturer, suppliers and default supplier relationships;
dynamic methodsare added on the
Companyfor the reverse relationships.
- the package's enums are registered automatically to the application's state
ProductFactoryis included and can be published
The package is meant to be installed on an Enso project and customized as required (or used as it is if that is enough).
php artisan vendor:publish --tag=products-factories- the included product factory,
are welcome. Pull requests are great, but issues are good too.
This package is released under the MIT license.