# Google Drive Integration (PHP)

1. Pergi ke https://console.cloud.google.com/
2. Aktifkan Google Drive API untuk projek anda
3. Cipta `OAuth client ID` atau `Service Account`
4. Muat turun `credentials.json` dan letakkan dalam folder:
   includes/google-api/

5. Pasang Google Client Library (jika belum):
   composer require google/apiclient:^2.0

6. Dalam kod PHP anda:
   include 'includes/upload_to_drive.php';
   $driveId = uploadToDrive('uploads/resit_123.pdf', 'resit_123.pdf');

