vohinc/laravel-google-logging

Laravel Logging integrated to Google Cloud Logging
2,057 1
Install
composer require vohinc/laravel-google-logging
Latest Version:v1.0.2
License:MIT
Last Updated:Jun 25, 2020
Links: GitHub  ·  Packagist
Maintainer: casperlaitw

Laravel Google Logging Handler

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',
    ],
],

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658