0
0

Laravel PHPコマンドを使いこなす

Last updated at Posted at 2024-09-12

LaravelでのWebアプリケーションの作る際の初期段階として、migrationを使用したDB操作のやり方について随時更新していく

DBの作成

migrationではDBの作成自体はすることができないため、PHPMyAddmin等でDBをあらかじめ作成しておく

DB作成についてはこちら

テーブル作成

php artisan make:model {table名} -m
php artisan migration

ログイン機能の実装

デフォルトのログイン機能を実装

composer require laravel/ui
php artisan ui bootstrap --auth
npm install && npm run dev
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