dimanche 13 mars 2016

Laravel: class HTML not found despite having installed everything needed (cloud 9 )

I am familiar with Laravel. Have done it countless times but never on cloud 9. However installation as per procedure perfectly fine the Laravel installation.

In order to install the HTML class I went:

"require": {
        "php": ">=5.5.9",
        "illuminate/html": "5.*",
        "laravel/framework": "5.2.*"

and composer update

Then in the app.php file Providers array

Illuminate\View\ViewServiceProvider::class,
Illuminate\Html\HtmlServiceProvider::class,

Now same file, Façade:

'Html'      => Illuminate\Html\HtmlFacade::class,
'Form'      => Illuminate\Html\FormFacade::class,

yet, when I wrote the

{{ !! HTML:: style('css/styles.css') !! }}

it still goes Class 'HTML' not found

I restarted the server too.

I am flummoxed

is there anything I am missing in the c9.io coding for environment?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire