Browse Source

[docs] add section about packagist

Igor Wiedler 13 years ago
parent
commit
b56ae1a484
1 changed files with 8 additions and 0 deletions
  1. 8 0
      doc/01-basic-usage.md

+ 8 - 0
doc/01-basic-usage.md

@@ -122,6 +122,14 @@ also update the lock file.
 
     $ php composer.phar update
 
+## Packagist
+
+[Packagist](http://packagist.org/) is the main composer repository. A composer repository is basically a package source. A place where you can get packages from. Packagist aims to be the central repository that everybody uses. This means that you can automatically `require` any package that is available there.
+
+If you go to the [packagist website](http://packagist.org/) (packagist.org), you can browse and search for packages.
+
+Any open source project using composer should publish their packages on packagist.
+
 ## Autoloading
 
 For libraries that follow the [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) naming standard, composer generates