If someone asks you what was the best invention in the PHP realm during the last decade,
what would be your answer?
We have seen many updates in PHP during the last couple of years, we had the advent of PHP 7, Laravel and Symfony have reached a de-facto status, components such as PHPUnit and Xdebug are now standard for the majority of professionals, also through the use of package like Guzzle making and retrieving data from API has never been this simple.
If you have noticed all of these improvements come from the same place, and that would be my answer to the question above.
The best thing that has happened in PHP during the last decade is without any doubt Composer.
I still remember that more than a decade ago my teacher in school used to tell me that programmers are lazy people, and the lazier you are the best you can become as a programmer.
Composer is the essence of this statement.
There is no need to reinvent the weel.
Chance are that feature you need has been already developed and tested by a multitude of web developers all around the world.
Composer is a dependency manager, it provides packages containing the solution of your application problem under the shape of code.
in this new series, we'll go through all the documentation of Composer in an easy-to-read way and with lots of examples.