工作常用的 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. Heya i'm for the first time here. I found this board and I in finding It really useful & it helped me out a lot. I'm hoping to present something again and aid others such as you helped me.

    Reply
  2. Awesome article.

    Reply
  3. Quality content is the main to invite the people to go to see the website, that's what this site is providing.

    Reply
  4. Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is great, as well as the content!

    Reply
  5. Way cool! Some very valid points! I appreciate you writing this post and also the rest of the website is also very good.

    Reply
  6. Hello, I think your website might be having browser compatibility issues. When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, wonderful blog!

    Reply