Web Docroot in WordPress & Composer

Composer is a dependency manager for PHP that has been widely adopted by the PHP community at large, but is used less frequently with WordPress. WordPress is largely procedural in nature, and Composer has great tools for object oriented code, like autoloading. That’s nice to have but Composer is primarily a dependency manager, so today I’m going to show you the basics needed to manage a WordPress site with Composer.
Source: https://pantheon.io/blog/feed