Answer the question
In order to leave comments, you need to log in
How to include a library via composer in laravel?
Installed the library in the root of the project composer require google/apiclient:^2.0
. Further, when I call a class from this library in the controller located at Laravel/app/Http/Controllers/YouTubeController.php , I $client = new Google_Client();
get the error Class 'App\Http\Controllers\Google_Client' not found. How to fix it? How to call a library class?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question