其他分享
首页 > 其他分享> > 安装laravels发现的问题

安装laravels发现的问题

作者:互联网

安装命令

composer require "hhxsv5/laravel-s:~3.5.0" -vvv

遇到问题

[root@lsujkgpy1c Laravel]# php artisan laravels publish


Command "laravels" is not defined.

需要配置config/app.php

'providers' => [
    Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider::class,
],
配置后问题解决

[root@lsujkgpy1c Laravel]# php artisan laravels publish
Copied file [/docker/www/Laravel/vendor/hhxsv5/laravel-s/config/laravels.php] To [/docker/www/Laravel/config/laravels.php]
Linked file [/docker/www/Laravel/vendor/hhxsv5/laravel-s/bin/laravels] To [/docker/www/Laravel/bin/laravels]
Linked file [/docker/www/Laravel/vendor/hhxsv5/laravel-s/bin/fswatch] To [/docker/www/Laravel/bin/fswatch]
Linked file [/docker/www/Laravel/vendor/hhxsv5/laravel-s/bin/inotify] To [/docker/www/Laravel/bin/inotify]

配置.env

LARAVELS_LISTEN_IP=0.0.0.0 LARAVELS_LISTEN_PORT=5200 LARAVELS_WORKER_NUM=4

 

标签:Laravel,发现,www,laravels,hhxsv5,bin,docker,安装
来源: https://www.cnblogs.com/buckliu/p/15610451.html