robbiepaul / cloudconvert-laravel

A Laravel wrapper for the CloudConvert API
177 stars 34 forks source link

php artisan vendor:publish is showing error #70

Open itsdeo opened 4 years ago

itsdeo commented 4 years ago

Hi There,

I followed below steps and getting error on third steps.

  1. "robbiep/cloudconvert-laravel": "2.*" adding into composer.json
  2. added RobbieP\CloudConvertLaravel\CloudConvertLaravelServiceProvider::class in providers array into config/app.php
  3. php artisan vendor:publish While trying to run 3rd step I am getting below error.

php artisan vendor:publish In ExceptionHandler.php line 55: Invalid argument supplied for foreach()

My Laravel version is 5.6.39 and PHP version is 7.2.24.

Is there any one can help me on this? Thank you in advance!

Jagdishsinghrawat commented 4 years ago

When you update your composer in laravel its perfectly install or not - check this

On Fri, Sep 4, 2020 at 1:29 PM itsdeo notifications@github.com wrote:

Hi There,

I followed below steps and getting error on third steps.

  1. "robbiep/cloudconvert-laravel": "2.*" adding into composer.json
  2. added RobbieP\CloudConvertLaravel\CloudConvertLaravelServiceProvider::class in providers array into config/app.php
  3. php artisan vendor:publish While trying to run 3rd step I am getting below error.

php artisan vendor:publish In ExceptionHandler.php line 55: Invalid argument supplied for foreach()

My Laravel version is 5.6.39 and PHP version is 7.2.24.

Is there any one can help me on this? Thank you in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robbiepaul/cloudconvert-laravel/issues/70, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMR6WEZ4K3MG7LL5ELUMGTSECM7TANCNFSM4QXTOI3Q .

-- Thanks & Regards Jagdish Singh Rawat Ph : +91-7906867366 New Delhi

itsdeo commented 4 years ago

Yes composer install is successfully done. 1st step is to add in composer.json "require": { "robbiep/cloudconvert-laravel": "2.*" } 2nd step is Run composer install and 3rd step is Next you need to add the service provider to config/app.php

'providers' => array( ... RobbieP\CloudConvertLaravel\CloudConvertLaravelServiceProvider::class )

I got issue in the 4th step php artisan vendor:publish