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 5 years have passed since last update.

Laravelプロジェクト作成してみた

Posted at

まずはcomposerでlaravel installerをinstall

$ composer global require "laravel/installer"

バージョンを確認

$ laravel -v
Laravel Installer 2.0.1

laravelプロジェクト作成。3分くらい待って完了した

$ laravel new laravelapp
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 86 installs, 0 updates, 0 removals
  - Installing doctrine/inflector (v1.3.0): Downloading (100%)         
  - Installing doctrine/lexer (v1.0.1): Downloading (100%)         
  - Installing dragonmantank/cron-expression (v2.2.0): Downloading (100%)         
  - Installing erusev/parsedown (1.7.1): Downloading (100%)         

省略~~~

Application key set successfully.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: beyondcode/laravel-dump-server
Discovered Package: fideloper/proxy
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Package manifest generated successfully.
Application ready! Build something amazing.

確認する。laravelappフォルダが作成されてる

$ ll
total 0
drwxr-xr-x   3 Syy  staff   96  2 16 00:34 .
drwxr-xr-x   7 Syy  staff  224  2 16 00:34 ..
drwxr-xr-x  25 Syy  staff  800  2 16 00:37 laravelapp

ローカルサーバーを立ち上げる

$ cd ./laravelapp
$ php artisan serve
Laravel development server started: <http://127.0.0.1:8000>

http://127.0.0.1:8000 にアクセスする。laravelページが表示された。
スクリーンショット 2019-02-16 0.43.36.png

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?