I wanted to use Form and HTML classes in Laravel 4, so I went to Meido’s GitHub pages for the HTML and Form ports. I followed the instructions to the letter. I added these lines to my app’s providers:
'Meido\Form\FormServiceProvider',
'Meido\HTML\HTMLServiceProvider',
I added these lines to my aliases:
'Form' => 'Meido\Form\FormFacade',
'HTML' => 'Meido\HTML\HTMLFacade',
This is `composer.json’
{
"require": {
"laravel/framework": "4.0.*",
"meido/form": "1.1.*",
"meido/html": "1.1.*"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/tests/TestCase.php"
]
},
"minimum-stability": "dev"
}
I ran composer install as instructed. Composer told me to run update so I did. Composer updated a number of dependencies, including some of the core of Laravel 4. My app is now completely broken. I just get a white screen on any page. I don’t get any error messages to debug the problem. Even the view source is blank. How can I fix this?
Laravel 4 is still undergoing development, and I’ve found that the updated dependencies won’t always work correctly without a fresh install of some of the files.
The main files that affected by this will be:
/app/config/app.php
/start.php
I’d recommend grabbing a fresh copy of these files from the repository and replacing them in your project, then using composer to update again and regenerate your autoload files (composer dump-autoload).
Hope this helps!