Composer Dependency Manager

suggest change

Introduction

Composer is PHP’s most commonly used dependency manager. It’s analogous to npm in Node, pip for Python, or NuGet for .NET.

Syntax

Parameters

Parameter | Details | —— | —— | license | Defines the type of license you want to use in the Project. | authors | Defines the authors of the project, as well as the author details. | support | Defines the support emails, irc channel, and various links. | require | Defines the actual dependencies as well as the package versions. | require-dev | Defines the packages necessary for developing the project. | suggest | Defines the package suggestions, i.e. packages which can help if installed. | autoload | Defines the autoloading policies of the project. | autoload-dev | Defines the autoloading policies for developing the project. |

Remarks

Autoloading will only work for libraries that specify autoload information. Most libraries do and will adhere to a standard such as PSR-0 or PSR-4.

Helpful Links

Few Suggestions

  1. Disable xdebug when running Composer.
  2. Do not run Composer as root. Packages are not to be trusted.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Composer dependency manager:
* Composer Dependency Manager

Table Of Contents
2 Arrays
4 Types
10 Cookies
14 JSON
15 SOAP
17 cURL
19 XML
21 Traits
24 Composer dependency manager
35 UTF-8
36 URLs
38 PHPDoc
41 Loops
44 Closur
72 YAML
77 Cache
78 Streams
81 PDO
82 SQLite3
83 Sockets
87 MongoDB
93 IMAP
94 Redis
95 Imagick
102 APCu
108 PSR