php - Laravel - Fatal error HTML Facade is Defered error -
trying install fresh copy of laravel, , having below error
fatalerrorexception in providerrepository.php line 119: call undefined method illuminate\html\htmlfacade::isdeferred()
composer.json
"require": { "php": ">=5.5.9", "laravel/framework": "5.2.*", "illuminate/html": "5.*" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~4.0", "symfony/css-selector": "2.8.*|3.0.*", "symfony/dom-crawler": "2.8.*|3.0.*" },
app.php
'providers' => [ /* * laravel framework service providers... */ illuminate\auth\authserviceprovider::class, illuminate\broadcasting\broadcastserviceprovider::class, illuminate\bus\busserviceprovider::class, illuminate\cache\cacheserviceprovider::class, illuminate\foundation\providers\consolesupportserviceprovider::class, illuminate\cookie\cookieserviceprovider::class, illuminate\database\databaseserviceprovider::class, illuminate\encryption\encryptionserviceprovider::class, illuminate\filesystem\filesystemserviceprovider::class, illuminate\foundation\providers\foundationserviceprovider::class, illuminate\hashing\hashserviceprovider::class, illuminate\mail\mailserviceprovider::class, illuminate\pagination\paginationserviceprovider::class, illuminate\pipeline\pipelineserviceprovider::class, illuminate\queue\queueserviceprovider::class, illuminate\redis\redisserviceprovider::class, illuminate\auth\passwords\passwordresetserviceprovider::class, illuminate\session\sessionserviceprovider::class, illuminate\translation\translationserviceprovider::class, illuminate\validation\validationserviceprovider::class, illuminate\view\viewserviceprovider::class, illuminate\html\htmlserviceprovider::class, illuminate\html\htmlfacade::class, illuminate\html\formfacade::class, /* * application service providers... */ app\providers\appserviceprovider::class, app\providers\authserviceprovider::class, app\providers\eventserviceprovider::class, app\providers\routeserviceprovider::class, ], /* |-------------------------------------------------------------------------- | class aliases |-------------------------------------------------------------------------- | | array of class aliases registered when application | started. however, feel free register many wish | aliases "lazy" loaded don't hinder performance. | */ 'aliases' => [ 'app' => illuminate\support\facades\app::class, 'artisan' => illuminate\support\facades\artisan::class, 'auth' => illuminate\support\facades\auth::class, 'blade' => illuminate\support\facades\blade::class, 'cache' => illuminate\support\facades\cache::class, 'config' => illuminate\support\facades\config::class, 'cookie' => illuminate\support\facades\cookie::class, 'crypt' => illuminate\support\facades\crypt::class, 'db' => illuminate\support\facades\db::class, 'eloquent' => illuminate\database\eloquent\model::class, 'event' => illuminate\support\facades\event::class, 'file' => illuminate\support\facades\file::class, 'gate' => illuminate\support\facades\gate::class, 'hash' => illuminate\support\facades\hash::class, 'lang' => illuminate\support\facades\lang::class, 'log' => illuminate\support\facades\log::class, 'mail' => illuminate\support\facades\mail::class, 'password' => illuminate\support\facades\password::class, 'queue' => illuminate\support\facades\queue::class, 'redirect' => illuminate\support\facades\redirect::class, 'redis' => illuminate\support\facades\redis::class, 'request' => illuminate\support\facades\request::class, 'response' => illuminate\support\facades\response::class, 'route' => illuminate\support\facades\route::class, 'schema' => illuminate\support\facades\schema::class, 'session' => illuminate\support\facades\session::class, 'storage' => illuminate\support\facades\storage::class, 'url' => illuminate\support\facades\url::class, 'validator' => illuminate\support\facades\validator::class, 'view' => illuminate\support\facades\view::class, 'html' => illuminate\html\htmlfacade::class, 'form' => illuminate\html\formfacade::class, ],
use laravel collective: https://laravelcollective.com/docs/5.1/html
it form , html besides now.
Comments
Post a Comment