glebstar/laravel5-products
Composer 安装命令:
composer require glebstar/laravel5-products
包简介
Products manager for Laravel 5
关键字:
README 文档
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
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-24