bawahtanah/laradrive
最新稳定版本:1.3
Composer 安装命令:
composer require bawahtanah/laradrive
包简介
Google Drive REST API Wrapper For Laravel and Lumen
README 文档
README
Google Drive REST API Wrapper For Laravel and Lumen. Forked from arcphysx/laradrive (https://github.com/arcphysx/laradrive)
Installation
You can install the package using composer
$ composer require bawahtanah/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
统计信息
- 总下载量: 573
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-28