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.