Package Data | |
---|---|
Maintainer Username: | arcphysx |
Maintainer Contact: | arcphysx@gmail.com (arcphysx) |
Package Create Date: | 2021-02-02 |
Package Last Update: | 2021-09-02 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-31 03:07:42 |
Package Statistics | |
---|---|
Total Downloads: | 127 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Google Drive REST API Wrapper For Laravel and Lumen
You can install the package using composer
$ composer require arcphysx/laradrive
Then add the service provider to config/app.php
. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.
'providers' => [
...
Arcphysx\Laradrive\Providers\LaradriveServiceProvider::class
...
];
Run php artisan laradrive:install
to run first setup
Then add some required value on your .env file
GOOGLE_DRIVE_API_KEY="<your-google-api-key-here>"
GOOGLE_DRIVE_AUTH_TOKEN_STORAGE_PATH="app/google_auth_token.json"
GOOGLE_DRIVE_CREDENTIAL_STORAGE_PATH="credentials.json"
By default, laradrive will use your storage
to store your Google Authentication Info
You can publish the configuration file and assets by running:
$ php artisan vendor:publish --provider="Arcphysx\Laradrive\Providers\LaradriveServiceProvider"
After publishing a few new files to our application we need to reload them with the following command:
$ composer dump-autoload