glebstar / laravel5-products
Products manager for Laravel 5
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.5.9
- illuminate/support: 5.x
This package is not auto-updated.
Last update: 2025-01-16 03:36:16 UTC
README
This is a Laravel 5 package - https://github.com/glebstar/laravel5-products
Installation
{ "require": { "glebstar/laravel5-products": "1.0.*" } }
or run composer require glebstar/laravel5-products
Then run composer update in your terminal to pull it in.
You will need to add the service provider to the providers array in your app.php config as follows:
GlebStarProducts\ServiceProvider::class,
Add an alias for ProductMiddleware in app/Http/Kernel.php into $routeMiddleware array:
'product' => \GlebStarProducts\Middleware\ProductMiddleware::class,
To publish a the package files, run:
php artisan vendor:publish --provider="GlebStarProducts\ServiceProvider"
Apply migration
php artisan migrate