Home >PHP Framework >Laravel >Laravel builds a paid website project creation

Laravel builds a paid website project creation

little bottle
little bottleforward
2019-04-19 11:51:064003browse

This article describes using laravel to create a paid website project, which has certain reference value. Interested friends can learn about it.

Install laravel (version 5.8):
This is a global installation, which means you can execute the following command to install it anywhere in the terminal.

composer global require laravel/installer

Create a project:
After installation, go to the folder where you store all your projects (all my projects are in the site folder):

cd site

Then create a new project, the name can be customized.

laravel new edu-system

Start the service:
The project has been created. Now enter the folder of the just created project and execute the start service command:

cd edu-system
php artisan serve

Visit in the browser http://localhost:8000/ You can see the homepage of laravel. Currently, valet is used, so there is no need to configure nginx, which is very convenient and fast.

Related tutorials: laravel Video tutorial

The above is the detailed content of Laravel builds a paid website project creation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete