[PHP] getting started with Composer-php Tutorial

Source: Internet
Author: User
[PHP] Composer entry-level practice it is necessary to mention with many beginners that the development trend of Web is getting closer and closer to integration and automation. The reason why Node. js is so popular is that npm has a great deal of credit and has played a very convenient and efficient development form for developers. Therefore, PHP also came into being Composer for dependency management. Therefore, whether you want to become a professional PHP engineer or "work in harmony" with other teammates in your future Team, please master it!

Introduction

What is Composer? Composer is a PHP dependency management tool. what is a dependency management tool? It is a new standard. you can use it to manage the libraries and plug-ins to be loaded in a framework project. define the required resource package in the json file and use the composer command to automatically download and deploy the package.

Composer can be seen as a PHP package manager, similar to Python's easy_install and pip, Ruby's gem, Node. js's npm, and is a powerful ecosystem.

For popular PHP development frameworks such as Yii and Laravel, we recommend using Composer to install the framework locally. it is also mainly used for project resource management during local development.

  • Introduction
Install on Mac

Basic usage

Chinese document

Example of loading Silex Microframework and Tesseract-ocr php:

References
  • Composer uses five tips
  • Composer
  • Install Composer on Mac

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.