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
Laravel:5 · 6 · 7
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...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

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

418,291,778 609
nunomaduro/collision

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

394,964,158 4,660

Version History

Version Released Laravel License
v1.0.2 5.8.* || ^6.0 || ^7.0 MIT
v1.0.1 5.8.* || ^6.0 || ^7.0 MIT
v1.0.0 5.8.* || ^6.0 || ^7.0 MIT