vohinc / laravel-google-logging
Laravel Logging integrated to Google Cloud Logging
Installs: 2 057
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vohinc/laravel-google-logging
Requires
- google/cloud-logging: ^1.20
 - illuminate/log: 5.8.* || ^6.0 || ^7.0
 - illuminate/support: 5.8.* || ^6.0 || ^7.0
 - monolog/monolog: ^2.1
 
This package is auto-updated.
Last update: 2025-10-25 19:52:55 UTC
README
Laravel google logging handler
Requirement
- Laravel 5.8 or above
 - Logging Admin Role in Google Cloud Platform IAM
 
Install
composer require vohinc/laravel-google-logging
Config
Add a new driver to your logging.php
'google-logging' => [
    'driver' => 'custom',
    'via' => \Voh\LaravelGoogleLogging\LoggingDriver::class,
    'level' => 'debug',
    'projectId' => 'your-google-project-id',
    'keyFilePath' => 'google-credential-file-path,
    'logName' => 'application-log',
    'labels' => [
        'application' => 'my-application',
    ],
],