User Tools

Site Tools


php:composer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
php:composer [2016/07/14 20:16] mithatphp:composer [2016/07/14 20:21] – [Composer] mithat
Line 1: Line 1:
 ====== Composer ====== ====== Composer ======
-[[https://getcomposer.org/|Composer]] is a PHP dependency manager. In other words, you (the developer) specify in a configuration file what PHP packages you want to use in your project, and Composer will automagically download the package and any other packages needed by the packages you listed. It also will generate an autoload file, which when ''require''d in your PHP script will automagicallay load (i.e., include) all the packages it downloaded.+[[https://getcomposer.org/|Composer]] is a PHP dependency manager. In other words, you (the developer) specify in a configuration file what PHP packages you want to use in your project, and Composer will automagically download the packages //as well as any other packages needed by the packages you listed//. 
 + 
 +It also will generate an ''autoload.php'' file, which when ''require''d or ''include''d in your PHP script will automagicallay load all the packages it downloaded and let you refer to them using a standard namespacing scheme.
  
 ===== Init ===== ===== Init =====
Line 23: Line 25:
 you specify packages you want to use (hereafter referred to as "dependencies") as follows: you specify packages you want to use (hereafter referred to as "dependencies") as follows:
  
 +TODO
 +
 +===== Using what Composer downloaded =====
 TODO TODO
  
php/composer.txt · Last modified: 2016/07/14 20:22 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki