Laravel introduction and Installation

Source: Internet
Author: User
Tags composer install

Laravel is currently the most popular PHP framework. It has been heard before and has not been well studied yet. Currently, due to the needs of projects, this framework can only be learned from the scalp. Today is the first day of laravel's learning. Let's talk about the installation process of the laravel framework.

  1. Download the latest version of laravel framework. You can download it from the laravel official website or from the community in China. download the latest version and unzip it to the root directory of the server network.

  2. Laravel framework uses composer (PhP package management tool) to manage code dependencies. First, you need to download the composer phar package file (composer.pharAfter the download is completed, put it in the project directory orusr/local/binDirectory to make global calls in the system. In Windows, you can use composer's Windows Installation tool.

  3. There are two ways to install it. You can go to the CMD console and use the create-Project command of composer to install it.

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/38/63/wKioL1Ozy0bzLFPvAAAcm2Mw15M404.jpg "Title =" Small q-20140702170124.png "alt =" wkiol1ozy0bzlfpvaaacm2mw15m404.jpg "/>

    You can also run the command composer install or PHP composer-phar install in the root directory of the laravel framework.

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/38/65/wKioL1Ozy-OgwOzJAAAYVsowNAk046.jpg "Title =" Small q-20140702170427.png "alt =" wKioL1Ozy-OgwOzJAAAYVsowNAk046.jpg "/>

    The installation process is as follows:

    650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/38/67/wKiom1OzzV_hJBHPAAJNyZVt2VA549.jpg "Title =" Small q-20140702170924.png "alt =" wkiom1ozzv_hjbhpaajnyzvt2va549.jpg "/>


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.