0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

php artisan コマンド 備忘録

Last updated at Posted at 2020-10-19

##コントローラー作成

php artisan make:controller XxxControllerでも十分だが、

php artisan make:controller XxxController --resource

の方が、登録・更新・参照・削除など必要なメソッドを用意してくれるため作業速度が上がるぞ。

Migration・Modelの作成

個別に作成しても問題ないが、名前をつける手間・ミスなどをなくすためにもなるぞ。

php artisan make:model Xxx --migration
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?