Introduction to Composer [installation and components]

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.

CLICK HERE TO READ THE FULL ARTICLE

--

--

--

An Italian coder and design enthusiast. I publish content on my blog that helps web developers improve their skills and share knowledge. http://anastasionico.uk

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Insertion of the Image in Database using MuleSoft

Need for Abstract Classes and Interfaces in JAVA.

Authentication and Authorization using Aerospike REST Client

What are webhooks? And how are they different from API’s?

The Pointless Existence of Code Shaming

New official MongoDB Go Driver and Google Protobuf — making them work together

One-off jobs on Kubernetes Nodes

Open Mic

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nico Anastasio

Nico Anastasio

An Italian coder and design enthusiast. I publish content on my blog that helps web developers improve their skills and share knowledge. http://anastasionico.uk

More from Medium

How to install Node.js and npm using Node Version Manager (NVM)

Connection Pooling in Database

How to Use a JavaScript Reporting Tool in Your Python Web App

Building Your First VsCode extension