Top 7 Composer & Composer Related Libraries

Composer is a Dependency Management tool. Similar to npm in node.js and gem in Ruby. Dependency is any library which is required for your project, using composer you can manage those Dependency easily.



Here I found some awesome Top 7 Composer & Composer Related Libraries which you can use in your next php based project for smarter work.

1. Packagist

Packagist is the main Composer repository. It aggregates public PHP packages installable with Composer.

2. Composer Installers

This is for PHP package authors to require in their composer.json. It will install their package to the correct location based on the specified package type. The goal of Installers is to be a simple package type to install path map. Users can also customize the install path per package and package authors can modify the package name upon installing.Installers isn’t intended on replacing all custom installers. If your package requires special installation handling then by all means, create a custom installer to handle it.


3. Satis

Simple static Composer repository generator.

  • Install satis: composer create-project composer/satis:dev-master
  • Build a repository: php bin/satis build <configuration-file> <output-dir>

4. Composition

Composition provides a lightweight and generic API, that you can use to check your environment at runtime, instead of manually go checking for regex in constants, classes/functions existence, matching a version against a class constant,It only works when using Composer as package. management tool.


5. Version

Version is a library for creating, editing, and comparing semantic version numbers. Currently, v2.0.0 of the Semantic Versioning specification is supported.

6. NameSpacer

NameSpacer tool will assist you in taking older underscore/prefix spaced code and will namespace it as best as it can, and also make the files and class names ZF/PEAR compatible.

7. Patch Installer

Patch other composer packages on install or update.
Limitations

  • order of installation is important
  • do not try to patch a patch
  • can not uninstall (but updates)