Laravel 5 Framework Learning Laravel Introduction and new project _php instance

Source: Internet
Author: User
Tags php framework php web development
This series of articles is a laracasts.com in the introductory series of videos, I made some changes, can refer to this series of articles to learn Laravel 5. The original video author is Jeffrey, thanks here. I'm using a Mac system, but it's recommended that you use a virtual machine to install Linux (Server Edition) and then develop it in a shared folder, whether it's a Mac or a Windows user. All command-line commands should be executed in the virtual, file modification in the host, the recommended use of phpstorm.

What is LARAVL?

Laravel is a simple, elegant PHP Web development Framework (PHP Web framework). In the world (excluding China) The PHP framework has a share of more than 40%.

Setting up the System

Check whether the composer is installed, if not installed, please refer to composer Chinese network, the library is modified to Chinese source.

Copy the Code code as follows:
Composer--version
#输出
Composer version 1.0.0-alpha9 2014-12-07 17:15:20

Establish Laravel Project

Copy the Code code as follows:
CD/shared folder for mount in virtual machine
Composer Create-project Laravel/laravel learning-laravel-5--prefer-dist
#需要等待

Test Project

Copy the Code code as follows:
CD learning-laravel-5/
#x. x.x.x as the virtual machine address
Php-s x.x.x.x:8888-t Public

Host Browser Test

The above is the whole content of this article, I hope to be able to learn Laravel5 to help you.

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