smallnews/laravel-shopcore is a Laravel package for shop core composer.
It currently has 0 GitHub stars and 2 downloads on Packagist.
Install it with composer require smallnews/laravel-shopcore.
Discover more Laravel packages by smallnews
or browse all Laravel packages to compare alternatives.
Last updated
shop core composer.
Shop core code package is being developed. Please look forward to it
$ composer require /smallnews/laravel-shopcore -vvv
在 AppServiceProvider 的 boot 方法加入 Shopcore::routes(); 注册 shopcore 路由
Shopcore::routes();
数据迁移
php artisan migrate
发布配置文件
php artisan vendor:publish --tag=shopcore-config
发布视图
php artisan vendor:publish --tag=shopcore-views
发布组件
php artisan vendor:publish --tag=shopcore-components
所有操作都触发了 Wsmallnews\Shopcore\Events\OperateLogEvent,您可以监听该事件完成操作日志的记录,可以用下面方法将监听器示例发布到应用中作为完成日志记录的参考
发布事件监听
php artisan vendor:publish --tag=shopcore-operloglistener
TODO
You can contribute in one of three ways:
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT