Composer & Cygwin

Just tripped over the same problem and found a solution. Posting it here, just in case I’ll ever have to look it up again. Set up a bin directory right under /home/my-username: cd ~ mkdir bin Move the composer.phar (or any other of those nifty new PHP imps that are on the rise) into the … Read more

Class ‘Illuminate\Html\HtmlServiceProvider’ not found Laravel 5

First add this line to composer.json “illuminate/html”: “~5.0” Then do a composer update Wait for the update to finish, then open config/app.php add this: ‘Illuminate\Html\HtmlServiceProvider’, to the providers array and this: ‘Form’ => ‘Illuminate\Html\FormFacade’, ‘Html’ => ‘Illuminate\Html\HtmlFacade’, to the aliases array, and be sure when you use Html in blade or wherever use it in … Read more

Composer auto self-update

Composer doesn’t have a feature to automatically run self-update to my knowledge. Also, running self-update by itself doesn’t seem like the right way. Maybe you don’t have permission? Then try using sudo, like: sudo composer self-update. It is just a simple command, and you should only need to do it once about every 30 days. … Read more