PHPackages                             miqoo1996/google-drive - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. miqoo1996/google-drive

ActiveLibrary[API Development](/categories/api)

miqoo1996/google-drive
======================

Laravel/PHP package for google drive API

22PHP

Since Jan 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/miqoo1996/google-drive)[ Packagist](https://packagist.org/packages/miqoo1996/google-drive)[ RSS](/packages/miqoo1996-google-drive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel/PHP package for google drive API
----------------------------------------

[](#laravelphp-package-for-google-drive-api)

1. Authenticate to GoogleDrive
2. Add file/directory
3. Edit file/directory
4. Download file/directory
5. Delete file/directory

Demo - Authentication and get Files
-----------------------------------

[](#demo---authentication-and-get-files)

[Simple Demo](https://freelancedeveloper.site/dev-gg/)

Installation
------------

[](#installation)

```
composer require miqoo1996/google-drive
```

- add this parameters in you .env file

```
GDrive_client_id=
GDrive_client_secret=
GDrive_client_redirect_url=
```

Instructions
------------

[](#instructions)

```
// Get the API client and construct the service object.
$api = new \Miqoo1996\GDrive\Repositories\GoogleDriveRepository();
```

- to get URL to login or update account (access\_token) see the below example

```
