Top "Laravel-artisan" questions

For programming questions about the Artisan Console, the command-line interface included with the Laravel PHP framework

Why has the artisan serve command been removed from Lumen 5.2?

Please. Does anybody know why Lumen's team removed the command php artisan serve? That command was very helpful !.

laravel-artisan lumen lumen-5.2
Laravel 5.4 - php artisan cache:clear does not clear cache files when using 'file' cache driver

Laravel 5.4 app. CACHE_DRIVER is set to file and QUEUE_DRIVER is set to sync in .env. When I run …

php caching laravel-5 queue laravel-artisan
Laravel Artisan CLI safely stop daemon queue workers

In order to process large numbers of jobs, I run a variable number of queue workers depending on howmuch work …

php laravel queue daemon laravel-artisan
artisan clear-compiled return error code 255

When runnning composer install on my laravel project I get the error: Script php artisan clear-compiled handling the post-install-cmd event …

php laravel composer-php laravel-artisan
PHP artisan migrate not creating new table

I am new to Laravel and I'm following Laravel Documentations as well as few Tutorial Videos. However, I am running …

php laravel laravel-artisan artisan-migrate
String as Primary Key in Laravel migration

I've had to change a table in my database so that the primary key isn't the standard increments. Here's the …

php laravel migration primary-key laravel-artisan
Database Laravel php artisan migrate connection refused

When I use 'php artisan migrate' I get the following error message: [Illuminate\Database\QueryException] SQLSTATE[HY000] [2002] Connection refused (SQL: …

laravel xampp connection laravel-artisan
Using Artisan::call() to pass non-option arguments

In the shell I can create a database migration (for example) like so: ./artisan migrate:make --table="mytable" mymigration Using …

php laravel laravel-artisan
Whats the point of running Laravel with the command 'php artisan serve'?

I dont seem to understand why we need to run a Laravel app with php artisan serve vs just running …

php apache laravel laravel-artisan
Laravel 5.3 storage:link -> symlink(): Protocol error

I'm trying to run the following artisan command: php artisan storage:link I get this error: [ErrorException] symlink(): Protocol error …

homestead laravel-artisan laravel-5.3