Laravel 5 framework learning: Getting started with Laravel and creating new projects, laravel new projects_PHP tutorial

WBOY
Release: 2016-07-13 09:57:40
Original
744 people have browsed it

Laravel 5 Framework Learning: Getting Started with Laravel and New Projects, Laravel New Projects

This series of articles is the notes of the introductory series of videos in laracasts.com. I have made some modifications. You can refer to this series of articles to learn Laravel 5. The author of the original video is Jeffrey Way, thank you. The system I use is a Mac system, but regardless of Mac or Windows users, it is recommended to use a virtual machine to install Linux (the server version is enough), and then develop using a shared folder. All command line commands should be executed in the virtual machine and file modifications should be done in the host machine. It is recommended to use phpstorm.

What is Laravl

Laravel is a simple and elegant PHP Web development framework (PHP Web Framework). The share of PHP framework in the world (excluding China) exceeds 40%.

Set up the system

Check whether composer is installed. If not, please refer to composer Chinese website and modify the library to Chinese source.

Copy code The code is as follows:
composer --version
#output
Composer version 1.0.0-alpha9 2014-12-07 17:15:20

Create a Laravel project

Copy code The code is as follows:
cd /mount the shared folder in the virtual machine
composer create-project laravel/laravel learning-laravel-5 --prefer-dist
#need to wait

Test Project

Copy code The code is as follows:
cd learning-laravel-5/
#x.x.x.x is the virtual machine address
php -S x.x.x.x:8888 -t public

Host Browser Test

The above is the entire content of this article. I hope it will be helpful to everyone learning Laravel5.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/980220.htmlTechArticleLaravel 5 framework learning: Getting started with Laravel and new projects, laravel new projects This series of articles is the introduction in laracasts.com I made some modifications to the notes of the video series, you can refer to this...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template