{"repo":"GlueDev/laravel-stackdriver","free":true,"listed":false,"github":"https://github.com/GlueDev/laravel-stackdriver","clone":"git clone https://github.com/GlueDev/laravel-stackdriver.git","description":"Enables logging, tracing and error reporting to Google Stackdriver for Laravel","language":"PHP","stars":47,"topics":["laravel","stackdriver","tracing","logging","error-reporting","google-cloud"],"license":"MIT","category":"analytics","readme_excerpt":"Laravel Stackdriver [![Latest Version on Packagist][ico-version]][link-packagist] [![Total Downloads][ico-downloads]][link-downloads] Enables logging, tracing and error reporting to Google Stackdriver for Laravel. Requires PHP = 7.1 Screenshots Installation Via Composer And publish the config file Usage First, you will want to open config/stackdriver.php . Here you can see that you have four environment settings available to enable and disable the different features of this package: The first variable listed has priority over the others. Authentication At the time of writing, Google prefers you to authenticate using a service account. It will throw a warning otherwise, which you can (but probably should not) disable by setting SUPPRESS GCLOUD CREDS WARNING=true Create a service account with the appropriate roles attached to it and add it to your project. Make sure not to commit this file to git, because of security. You can then specify the path to the service account JSON file in the keyFilePath or in the STACKDRIVER KEY FILE PATH environment variable. Tracing Tracing requires the OpenCencus module to be installed. As we use docker, this is how we install it: Please note : If you run in to an opencensus.so: undefined symbol: ZVAL DESTRUCTOR error after installing the OpenCencus extension, it is recommended to build the extension yourself, following these instructions. Logging Other than changing the values in the config file, logging needs no additional setup. Error reportin","default_branch":null,"files":null,"tree":[],"storefront":"/r/GlueDev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GlueDev/laravel-stackdriver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}