Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

WARNING: You are browsing the documentation for Symfony 3.3 which is not maintained anymore. Consider upgrading your projects to Symfony 5.2.

Installing Composer

3.3 version

Installing Composer

Composer is the package manager used by modern PHP applications. Use Composer to manage dependencies in your Symfony applications and to install Symfony Components in your PHP projects.

Since this article was first published, Composer installation has improved a lot. Therefore, the original contents of this article have been removed and you are encouraged to install Composer as explained in the official Composer documentation.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.