php - Use Laravel 5 Illuminate\Html without Composer -


ok, need use illuminate\html package without composer.

i'm using plesk, has php 5.3 installed default. managed add version of php (5.5) using fastcgi run side side. allowed me install laravel (since didn't play 5.3).

i've got setup , working, when try install illuminate\html access form facade, i'm getting error message:

fatalerrorexception in compiled.php line 6466: class 'illuminate\html\htmlserviceprovider' not found 

i installed composer, because plesk runs php 5.3 default, , composer runs default php, following errors:

./composer.json has been updated loading composer repositories package information updating dependencies (including require-dev) requirements not resolved installable set of packages.    problem 1     - installation request illuminate/html 5.0.* -> satisfiable illuminate/html[v5.0.0].     - illuminate/html v5.0.0 requires php >=5.4.0 -> php version not satisfy requirement.   problem 2     - league/flysystem 1.0.2 requires php >=5.4.0 -> php version not satisfy requirement.     - league/flysystem 1.0.2 requires php >=5.4.0 -> php version not satisfy requirement.     - installation request league/flysystem == 1.0.2.0 -> satisfiable league/flysystem[1.0.2].   installation failed, reverting ./composer.json original content. 

all i'm getting error after error after error.

how can illuminate\html work, without requiring use of composer? i've googled , every page go tells me run composer update.

i've added following app.php

'providers' => [ ...    'illuminate\html\htmlserviceprovider' 

and

'aliases' => [ ...     'html' => 'illuminate\html\htmlfacade',     'form' => 'illuminate\html\formfacade' 

i've checked illuminate\html on server, it, in vendor directory.

what else need do?

thanks, , if can provide more information, please let me know.

edit

extra information:

  • i cannot upgrade directly php 5.5 5.3 because plesk not allow me this.

  • i have had use plesk php panda install additional php versions run fastcgi modules

  • php 5.3 runs on server apache module default.

  • i have access php 5.5 , php 5.6 on same server.

you can run composer flag ignore system requirements such php version.

composer update --ignore-platform-reqs 

from composer docs

--ignore-platform-reqs: ignore php, hhvm, lib-* , ext-* requirements , force installation if local machine not fulfill these.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -