工作常用的 laravel artisan 命令

总结工作中常用到的 laravel artisan 命令

laravel artisan 命令

module相关

ide-helper 生成代码文档

 php artisan ide-helper:model Modules\\Game\\Entities\\FinanceConfig

 Do you want to overwrite the existing model files? Choose no to write to _ide_helper_models.php instead (yes/no) [no]:
 > yes

Written new phpDocBlock to /Modules/Game/Entities/FinanceConfig.php

laravel-admin 生成controller

    php artisan admin:make FinanceConfigController --model=Modules\\Game\\Entities\\FinanceConfig

App\Admin\Controllers\FinanceConfigController created successfully.

Add the following route to app/Admin/routes.php:

    $router->resource('finance-configs', FinanceConfigController::class);
Responses
  1. Hey! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I'm getting sick and tired of Wordpress because I've had issues with hackers and I'm looking at alternatives for another platform. I would be awesome if you could point me in the direction of a good platform.

    Reply
  2. [url=https://worxtabs.com/]purchase stromectol[/url]

    Reply
  3. Nevertheless, 17 years just after PASPA, the battle for on the net sports betting in the U.S. began anew.

    Reply
  4. [url=http://pharmacylewis.com/]pharmacy online uae[/url] [url=http://cialisexpress.com/]buy cialis from mexico[/url] [url=http://cialisgenericnow.com/]order generic cialis online uk[/url] [url=http://cialisdf.com/]generic 5mg cialis[/url] [url=http://anviagra.com/]cheap generic viagra online[/url]

    Reply
  5. [url=https://startpills.com/]zestril 20 mg tab[/url]

    Reply
  6. This design is spectacular! You most certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Excellent job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

    Reply