I am trying to connect the zoom api in my projects I install the both of these ( $ composer require firebase/php-jwt
OR
$ composer require guzzlehttp/guzzle
) then i create traits and also create a controller and trying to create the zoom meeting by using laravel api.php routes but i face the errror
"Class ‘IlluminateSupportFacadesHttp’ not found".
These version are install in my project :-
"laravel/framework": "5.8.*",
"php": "^7.1.3",
"firebase/php-jwt": "^6.4",
"guzzlehttp/guzzle": "^7.5",
"laravel/tinker": "^1.0",
I need a zoom meeting link which zoom response api provide for the user after create the meeting .
2
Answers
http-client does not exist for this version of Laravel
it has introduced since laravel "7.x"
You are on Laravel version
5.8
, if you check the Facades documentation for that version, you will see that theHttp
facade was not a part of the framework at that time.It is true that that facade requires
Guzzle
, which you installed, but this will not magically make the Facade appear in your Laravel project. The LaravelHttp
facade is essentially a wrapper aroundGuzzle
, so you have two options here:Laravel 5.8 was released 4 (!) years ago. I would highly suggest that you upgrade to a more recent version. If for whatever reason, this is not possible, you can always use the
Guzzle
package without the facade.If you decide to upgrade, consulting the upgrade guide for Laravel 6.0 would be a good start. Since you are on a very old version you will probably have to do all the updates sequentially. A tool like Laravel Shift might help to simplify the process.