mel*_*uji 3 laravel laravel-5.2 entrust
为什么运行这个时不会创建文件entrust.php:
php artisan vendor:publish
Run Code Online (Sandbox Code Playgroud)
我正在关注这个配置,这是我的composer.json
"zizaco/entrust": "5.2.x-dev"
Run Code Online (Sandbox Code Playgroud)
"您还可以发布此软件包的配置,以进一步自定义表名称和模型名称空间.只需使用php artisan vendor:publish,将在app/config目录中创建entrust.php文件." 但是没有创建文件entrust.php.我能做什么?这很奇怪.
在你提供的链接中,他们说 and, if it does not appear, manually copy the /vendor/zizaco/entrust/src/config/config.php file in your config directory and rename it entrust.php.
| 归档时间: |
|
| 查看次数: |
660 次 |
| 最近记录: |