Download the PHP package absszero/laravel-stackdriver-error-reporting without Composer
On this page you can find all versions of the php package absszero/laravel-stackdriver-error-reporting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download absszero/laravel-stackdriver-error-reporting
More information about absszero/laravel-stackdriver-error-reporting
Files in absszero/laravel-stackdriver-error-reporting
Package laravel-stackdriver-error-reporting
Short Description Stackdriver Error Reporting for Laravel
License MIT
Informations about the package laravel-stackdriver-error-reporting
Stackdriver Error Reporting for Laravel
Requirements
Laravel 5.1
~ 11.x
Installation
composer require absszero/laravel-stackdriver-error-reporting
-
This package provides Package Auto-Discovery.
For Laravel versions before 5.5, you need to add the ServiceProvider in
config/app.php
php artisan vendor:publish --provider="Absszero\ErrorReportingServiceProvider"
Configuration
-
Get service account credentials with the role
logging.logWriter
(docs) -
Store the key file in your project directory and refer to it in your
.env
like this: -
For Laravel 11 and after versions. Edit
bootstrap/app.php
. -
For Laravel 10 and before versions. Edit
app/Exceptions/Handler.php
.For Laravel 9 and after versions.
For PHP version before 7, replace
\Throwable
with\Exception
.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Credits
TODO: Write credits
License
This project is licensed under the MIT License - see the LICENSE file for details
All versions of laravel-stackdriver-error-reporting with dependencies
illuminate/support Version >=5.1
google/cloud-error-reporting Version ^0.19