Skip to content

Glossary: PHP Basics

composer.json

The settings file Composer reads in a PHP project. It holds the PSR-4 autoload setting that maps a namespace to a folder and, after `composer require`, lists the packages the project depends on.

Where the book teaches it

Related terms

ComposerPSR-4composer.lock