[Laravel] 安裝laravel project(install laravel project)

繁體中文:

安裝composer之後,即可透過composer來安裝laravel專案,假設新建的專案資料夾為learning-laravel,則執行以下指令:

$ composer create-project laravel/laravel learning-laravel dev-develop

安裝好後,再執行以下指令,即可在瀏覽器瀏覽網頁:

// 瀏覽Larval的版本
$ php artisan -V
Laravel Framework version 5.0-dev
$ php artisan serve
Laravel development server started on http://localhost:8000

English Version:

Install Laravel project called “learning-laravel” after installing composer, type the following commands:

$ composer create-project laravel/laravel learning-laravel

Then you can type the following commands to browse web on browser:

$ php artisan serve
Laravel development server started on http://localhost:8000