laravel - Cloudstack client installation -


i have xampp installed on windows 10. , have installed composer, laravel. can see basic laravel project page on local server. try things out installed yii2. can see basic yii2 page on local server.

now i'm trying install generic cloudstack client: https://github.com/pcextreme/cloudstack-client

in xampp, under htdocs have dir called 'laravelprojects'.

dir structure

first made project laravel command:

laravel new pcextreme 

then in pcextreme directory give command:

composer require pcextreme/cloudstack-client:~0.1 

the composer breaks , shows conclusion: remove laravel/framework 5.2.41

but in instructions there method install package. when editting composer.json in main laravel dir. 'laravelprojects' under xampp/htdocs these lines:

"require": { "pcextreme/cloudstack-client": "~0.1" }  

and run "composer update" command.

i don't error.

but follow these steps:

once package installed need open app/config/app.php , register required service provider:

`'providers' => [ 'pcextreme\cloudstackclient\providers\laravelserviceprovider']` 

the application breaks. can't see basic page showing 'laravel 5' on server anymore. instead of fatal error:

whoops, looks went wrong. 1/1 fatalerrorexception in providerrepository.php line 146: class  'pcextreme\cloudstackclient\providers\laravelserviceprovider' not found 

further in instructions, when give command below:

php artisan config:publish pcextreme/cloudstack-client 

i error:

  [symfony\component\debug\exception\fatalerrorexception]   class 'pcextreme\cloudstackclient\providers\laravelserviceprovider' not found 

i have tried out different things find on internet nothing seems work in case.

could kindly me out this? appreciated!

execute in project folder command: composer update


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -