Artisan command help

Laravel - Web Sanatçılarının PHP Framework’ü
Site Admin
Mesajlar: 18
Kayıt: Pzr Oca 19, 2020 4:27 pm

Artisan command help

Mesaj gönderen abdulkadirlevent »

Artisan command help
To check the options of artisan command, Run artisan commands with --help flag. For
example, php artisan make:model --help and see how many options you have:

Kod: Tümünü seç

 -a, --all Generate a migration, factory, and resource controller for
the model
 -c, --controller Create a new controller for the model
 -f, --factory Create a new factory for the model
 --force Create the class even if the model already exists.
 -m, --migration Create a new migration file for the model.
 -p, --pivot Indicates if the generated model should be a custom
intermediate table model.
 -r, --resource Indicates if the generated controller should be a resource
 -h, --help Display this help message
 -q, --quiet Do not output any message
 -V, --version Display this application version
 --ansi Force ANSI output
 --no-ansi Disable ANSI output
 -n, --no-interaction Do not ask any interactive question
 --env[=ENV] The environment the command should run under
 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2
for more verbose output and 3 for debug