Installation in laravel environment and laravel Environment

Source: Internet
Author: User

Installation in laravel environment and laravel Environment
Installation in laravel Environment

Composer I think is a special thing in php. For example, we compile a php extension module. so file, and then load it into php, while laravel uses something called Composer to solve the dependency problem.

1. Install Composer

It's easy to download and put it in the environment variable.

Curl-sS https://getcomposer.org/installer | phpmv composer. phar/usr/local/bin/composer
2. Use of composer

Use composer to create a laravel Project

# Composer create-project laravel/laravel test ...... # cd test # composer installLoading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileNothing to install or updateGenerating autoload filesGenerating optimized class loader

It is similar to pip install in python. It is easy to use.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.