kunstmaan/google-api-custom
Laravel/PHP wrapper for Google APIs with custom configuration support. Helps integrate Google services (e.g., analytics or other endpoints) using a simplified client setup, credential handling, and service initialization geared toward app-specific needs.
Adopt if:
Look elsewhere if:
For Executives: *"This package cuts Google API integration time by 70%—no more scattered credentials or duplicate client code. For example:
For Engineering Leads:
*"Problem: Our Laravel apps duplicate Google API client logic (e.g., Google_Client initialization) across services, making updates painful and error-prone.
Solution: This package provides:
For Developers: *"Tired of copying/pasting this every time you need a Google API?
$client = new Google_Client();
$client->setAuthConfig(__DIR__.'/credentials.json');
$client->addScope(Google_Service_Drive::DRIVE);
Use this instead:
$drive = app(GoogleDriveClient::class)->getService();
$files = $drive->files->listFiles();
Benefits:
.env or Laravel’s config).GoogleDriveClient example and replace all your manual client setups."For Security Teams: *"This package centralizes credential management and enforces Laravel’s config system, reducing the risk of:
.env files for credentials and validate configs on boot to fail fast if misconfigured."*How can I help you explore Laravel packages today?