Composer Tips

Published on

Composer syntax: composer require VENDOR_NAME/PACKAGE_NAME OPTIONS composer install pulls in all of the packages that have been specified. The Composer directories vendor any packages pulled in through Composer vendor/bin any executables Composer uses an autoloader so you don’t have to keep typing require. Install globally whenever possible. Install packages the right way. Example: composer require … Continue reading Composer Tips

Installing Composer on Ubuntu

Published on

cd /tmp curl -s http://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/ alias composer=’/usr/local/bin/composer.phar’ Reference: https://getcomposer.org/download/