Install package Google Drive API V3 composer require nao-pon/flysystem-google-drive:~1.1 Thêm provider GoogleDriveServiceProvider vào file config/app.php 'providers' => [ // ... App\Providers\GoogleDriveServiceProvider::class, // ... ], Nội dung provider tham khảo ở dưới https://github.com/ivanvermeyen/laravel-google-drive-demo/blob/master/app/Providers/GoogleDriveServiceProvider.php Update tiếp config/filesystems.php 'disks' => [ // ... 'google' => [ 'driver' => 'google', 'clientId' => env('GOOGLE_DRIVE_CLIENT_ID'), 'clientSecret' => env('GOOGLE_DRIVE_CLIENT_SECRET'), 'refreshToken' => env('GOOGLE_DRIVE_REFRESH_TOKEN'),... Continue Reading →
XGallery – Bài toán queues và workers trên VPS Hostvn
Giải quyết bài toán crawling với queues / mongodb & redis / MySQL trên VPS 2 cores / 2 GB RAM
XGallery vs Google Drive
Flickr . ! Feature này được develop để đưa photos download từ Flickr qua XGallery lên thẳng Google Drive luôn. Như vậy giảm tải cho local storage, dễ dàng sharing hơn. Tất nhiên cái giá phải trả là trả cho Google Drive. Vậy feature này work sao Dĩ nhiên đầu tiên là download photos (... Continue Reading →