Window Laravel 5.* Installation

Source: Internet
Author: User
Tags composer install

Installation Laraval can refer to http://laravelacademy.org/post/6665.html

Own this installation is to use composer to install drip, the premise needs your own computer installed composer, and add environment variables, so directly can use composer,

by Composer Create-project

composer create-project --prefer-dist laravel/laravel blog

So the default installation of the latest drops, if you want to install laravel5.2, you can add the following command

composer create-project --prefer-dist laravel/laravel blog 5.2.*

Wait a while and the directory will be generated

Next you need to go into this folder to execute composer install to mount the root directory of the Composer.json file inside the dependency package

Next you need to access the public directory, this is the portal file

This prompt key is incorrect when executing PHP artisan in this file root directory key:generate

This will be in the. evn file

Under Modify Database Configuration

Db_connection=mysql
db_host=127.0.0.1
db_port=3306
Db_database=homestead
Db_username=homestead
Db_password=secret

This is your own database configuration

Visit again


So you can start the Laravel trip.

Window Laravel 5.* Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.