What’s a PHP composer? How to use PHP composer in your PHP Application? What are the benefits of using composer in your application?
PHP Composer is a dependency manager. It manages the dependency of PHP packages in your application. Using composer you can pull the required library and dependencies and manage them in one place. The concept of a composer is similar to npm in node.js and gem in Ruby.
Let’s first understand what is a dependency.
How to install composer on Mac OS.
What is Composer ?
Composer is a cross-platform dependency manager that allows you to manage package dependency in your project.
In my previous article i explained how to manage package dependency in PHP through composer.
Composer is a package dependency management tool. In Composer you can declare the libraries you need them in your project and it will install them. In this post i’ll talk about how to create composer.json file for your project.