Category Laravel

Upload file in Google Drive using API

Create Auth URL

Fix specified key was too long issue in laravel

Go to the config/database.php update

Install Swagger in Laravel 9

Install and Configure Laravel with Passport

First we install and configure laravel app with passport then next we install the open api l5 swagger for api documentations.

Step 1: Install Laravel App

First create a new Laravel application using the following mentioned command.

Step your database credentials in your env file.

Case-sensitive where statement in laravel

Laravel 5 with Swagger (GET, POST, PUT, DELETE)

Swagger GET Example

Check Swagger Error

Run this command

Integration Dropbox in PHP

Use this link for documentation

Create a function for Curl call

Integration One Drive in PHP

Use this link for documentation

creating a function for curl call

Integration Google Drive in PHP

Install Google APIs Client Library for PHP
for more info check


SSL certificate problem: unable to get local issuer certificate

  1. Download this file:
  2. Place this file in the C:\wamp64\bin\php\php7.1.9 folder
  3. Open php.iniand find this line:


Change it to:

curl.cainfo = "C:\wamp64\bin\php\php7.1.9\cacert.pem"

Make sure you remove the semicolon at the beginning of the line.

Save changes to php.ini, restart WampServer, and you’re good to go!