Install Laravel

Change Composer Repositories (China ONLY)

Execute composer config repo.packagist composer https://packagist.phpcomposer.com

Increase the installing speed via using Chinese repositories.
If you are not in China, just ignore it.

Install Dependencies

Go into the laravel root directory, excute the command composer install

Than wait for composer to install dependency modules.

Configure Laravel

Execute php artisan key:artisan

Application key [base64:xxxxxxxxxxxxxxxxxxxxxxxxxx] set successfully.

Execute php artisan config:cache

Configuration cache cleared!
Configuration cached successfully!

Now you can run your laravel 🙂

    分享到:
分类: Web Dev

发表评论

电子邮件地址不会被公开。 必填项已用*标注

验证码 *