glebstar/laravel5-products is a Laravel package for products manager for laravel 5.
It currently has 0 GitHub stars and 22 downloads on Packagist (latest version 1.0.1).
Install it with composer require glebstar/laravel5-products.
Discover more Laravel packages by glebstar
or browse all Laravel packages to compare alternatives.
Last updated
This is a Laravel 5 package - https://github.com/glebstar/laravel5-products
{
"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