Laravel 5 framework learning-Introduction to Laravel and new projects, laravel new project

Source: Internet
Author: User
Tags php web development

Laravel 5 framework learning-Introduction to Laravel and new projects, laravel new project

This series of articles is the notes of the Getting Started series of videos in laracasts.com. I have made some modifications and can refer to this series of articles to learn about Laravel 5. The original video author is Jeffrey Way. Thank you. I am using a Mac system, but for Mac and Windows users, we recommend using virtual machines to install linux (server Edition) and then using shared folders for development. All command line commands should be executed in the Virtual Machine. phpstorm is recommended for modifying files on the host machine.

What is Laravl?

Laravel is a simple and elegant PHP Web development Framework ). In the world (excluding China), PHP framework shares more than 40%.

Set System

Check whether the composer is installed. If not, refer to the composer Chinese network and modify the Library to the Chinese source.

Copy codeThe Code is as follows:
Composer -- version
# Output
Composer version 1.0.0-alpha9 2014-12-07 17:15:20

Create a Laravel Project

Copy codeThe Code is as follows:
Cd/Shared Folder mounted in Virtual Machine
Composer create-project laravel/laravel learning-laravel-5 -- prefer-dist
# Waiting

Test Item

Copy codeThe Code is as follows:
Cd learning-laravel-5/
# X. x indicates the Virtual Machine address.
Php-S x. x. x. x: 8888-t public

Host browser Test

The above is all the content of this article, hoping to help you learn laravel5.

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.