Articles tagged with #composer




Clear Laravel 4 Autoload

Laravel 4 currently has a very frustrating issue. If you add a model it will not know of it until you clear the autoload. [ps]composer dump-autoload[/ps] Make sure you have setup composer to be accessed globally. Otherwise you'll need to do this command. [ps]/usr/local/bin/composer …



Setting up Composer globally for Laravel 4

An easy way to set up composer globally is to follow the instructions on getcomposer.org site: [ps] \$ curl -s http://getcomposer.org/installer | php \$ sudo mv composer.phar /usr/local/bin/composer [/ps] Now I can use composer by invoking just the composer command. Optional way to do it …