Download the PHP package yaza/laravel-google-drive-storage without Composer
On this page you can find all versions of the php package yaza/laravel-google-drive-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yaza/laravel-google-drive-storage
More information about yaza/laravel-google-drive-storage
Files in yaza/laravel-google-drive-storage
Package laravel-google-drive-storage
Short Description This is my package laravel-google-drive-storage
License MIT
Homepage https://github.com/yaza-putu/laravel-google-drive-storage
Rated 5.00 based on 1 reviews
Informations about the package laravel-google-drive-storage
laravel-google-drive-storage
This package allow to store and get data from google drive like S3 AWS in laravel
Support
- Laravel 11 (php 8.2) use V3.x
- Laravel 10 (php 8.1) use V2.0.0
Installation
You can install the package via composer:
copy to .env
config filesystem.php
Setup Google Keys
- Getting your Client ID and Secret
- Getting your Refresh Token
Usage
you can use storage driver function by laravel
example :
refrensi code opration sample code
or use helper from this package
-
Put File
-
Get File
-
Get Large File with stream
-
download file
-
delete
-
delete directory
-
make directory
-
rename directory
- all folder & file
output
- all folder & file with sub folder
output
Limitations
Using display paths as identifiers for folders and files requires them to be unique. Unfortunately Google Drive allows users to create files and folders with same (displayed) names. In such cases when unique path cannot be determined this adapter chooses the oldest (first) instance. In case the newer duplicate is a folder and user puts a unique file or folder inside the adapter will be able to reach it properly (because full path is unique).
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- yaza
- All Contributors
Thanks to Masbug
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-google-drive-storage with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
masbug/flysystem-google-drive-ext Version ^2.2