Laravel Study Notes (i) Install the Configuration development environment

Source: Internet
Author: User
Summary

The goal of Laravel is to create a pleasant development process for developers without sacrificing the functionality of the application. Happy developers can create the best code! For this purpose, developers gain the benefits of a framework that is focused on laravel, which is even based on the development of languages or tools such as Ruby on Rails, ASP. NET MVC, and Sinatra.

Preliminary cognition of Laravel

Just engaged in PHP development not long, some of PHP framework to understand very little, in Csdn saw an article "PHP Development Framework popularity rankings: Laravel top", just know that there are laravel such a framework, just the company want to engage in laravel development, on the study. Then we searched a lot of information and learned what it was.

As for its detailed introduction I will not say, Google a bit, there is.

Laravel Environment Construction

After the initial cognition, of course, will start to build laravel development environment on their own computer.

System Environment Requirements

    • PHP 5.3.7 or later, if no system does not have the PHP environment installed, please go to the following address download: http://cn2.php.net/downloads.php
    • A Web server, Iis,apache, or other Web server on your computer
    • MCrypt PHP Extension

Installing composer

The Laravel framework uses Composer (PHP package management tool, reference Composer Chinese documentation) to manage code dependencies. In the Windows operating system, you can use the composer Windows installation tool. Install directly after download, after installation, you can enter composer in the console to see if the installation is successful.

Installing Laravel

    • Download the latest version on GitHub (currently 4.1): Https://github.com/laravel/laravel/archive/master.zip
    • Unzip the file to any location you want, for example, I unzipped to my H-disk Laravel_site directory
    • The console enters the directory (Laravel_site), executes the command composer install, and then the program downloads the necessary installation files to ensure that the network is unblocked

    • After the installation is complete, such as:

    • Then look at the file directory, more than one vendor folder, Composer.lock file has also been modified.

Of course, there is a way to install, is to download the full installation package directly, unzip it, download address: Http://ci.laravel-cn.com/laravel.zip

Server Configuration

After the above operation is completed, is to configure the site on the Web server, I believe that these operations, as long as the site has experienced the development of people have, I will not be detailed introduction. One thing to note here is that when the site is configured, the root directory is public and is not the most laravel_site, well-configured, run as follows:

Installation completed successfully!

The above describes the Laravel study notes (a) Installation configuration development environment, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.