LoginSignup
0
0

More than 3 years have passed since last update.

Laravel composerインストール後〜内蔵サーバー起動

Posted at

composer インストール後

Laravelをcomposerを使用してインストール

$ php composer.phar create-project --prefer-dist laravel/laravel プロジェクト名(ディレクトリ)

ディレクトリに移動

$ cd プロジェクト名(ディレクトリ)

Laravelのサーバーを起動

$ php artisan serve

Laravel development server started on http://localhost:8000/

※仮想マシン(vagrant)から使用する場合は、

php artisan serve --host 192.168.33.10 --port 8000

ディレクトリの一番上の階層でサーバーを立ち上げること。
(Laravelに内蔵されているサーバーが起動する)

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