LoginSignup
0
0

More than 3 years have passed since last update.

PHP artisanコマンドを適当に

Posted at

Laravel サーバが起動
$php artisan serve --host=$IP --port=$PORT

キャッシュクリアコマンド
$php artisan cache:clear

コマンドのリストを表示
$php artisan list

tinker起動
$php artisan tinker

Laravelのバージョン確認
$ php artisan --version

$ php artisan -v

make
$php artisan make:作りたい種類 ファイル名 --オプション

作成したマイグレーションを実行してテーブルを新規作成
$php artisan migrate

1つ前のマイグレーション操作に戻します
$php artisan migrate:rollback

メンテナンスモードの実行
$php artisan down

メンテナンスモード ⇒ 通常モード
$php artisan up

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