Laravel 5 Basic Tutorials (i) Installation and deployment-table seriousness

Source: Internet
Author: User
Tags composer install

Laravel is a powerful and concise PHP framework, you must be clear this point, I will no longer introduce the history of Laravel, founder, PHP history, founder ... The invention and use of the fire.

First of all, before installing and configuring Laravel we need to know what composer is.

Composer is a class library management tool for PHP, and with this tool we can install almost any open source PHP class library on the network, as we have previously installed the class library.

Open five cents browser > silently open search engine > Tap Word > Skip Baidu certification > into the official website ...

(╯ ") ╯╧═╧╧═╧╧═╧

And now:

Composer Install Lala_lib

Don't say anything, feel it for yourself.

And if such libraries rely on other class libraries composer will help you install all dependencies yourself.

It is to love you.

Installing composer

Windows users:
1. Https://getcomposer.org/download
2. Looking for Windows Installer, download Composer-setup.exe (or similar name)
3. Various Next steps

Linux/mac Users:
1. Https://getcomposer.org/download
2.curl -sS https://getcomposer.org/installer | php

or ' Php-r ' ReadFile (' Https://getcomposer.org/installer '); "| PHP '

Now tap on the command line (run cmd under win) composer , if it's not a help page (like below), please bring your own ladder and try again

   ______  / ____/___  ____ ___  ____  ____   ________  _____ / /   / __ \/ __  ' __ \ / __ \/ __ \/ ___/ _ \/ ___// /___/ /_/ / / /  / / / /_/ / /_/  (__  )   __/ /\____/\____/_/  /_/ /_/ .___/\____/____/\___/_/                     /_/Composer version 1.0-dev  ( 8E9659BD8317AD3F623C4D17940380443CF8772C) Usage: command [options] [arguments]options: ...

After successful installation, pick a list of pleasing to the eye, execute:

Composer Create-project Laravel/laravel--prefer-dist

After waiting for a period of time (35 minutes indefinite, depending on the national conditions), if you see the following information, Laravel installation is successful

... Application key ... set successfully!...

Shameless hard wide into

Laravel 5 Video Tutorial Address-table serious lecture (can audition)

Shameless hard wide out

Execute into laravel directory, execute

Php-s localhost:8000-t Public

Enter Browser typehttp://localhost:8000

If you see a page similar to the one below stating that Laravel installation is successful, we can do the Fast (KU) fun (BI) development phase!

650) this.width=650; "src=" http://sfault-image.b0.upaiyun.com/275/686/2756866526-55ae2d647074b "style=" border:0px ; vertical-align:middle; "/>

Reason for failure:
-Network Reason
-Path Reason
-No PHP environment

If you have questions, please comment below,/sprinkle flowers ~


Laravel 5 Basic Tutorials (i) Installation and deployment-table seriousness

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.