flareia / laravel-sdk
Reports exceptions from a Laravel application to a FlareIA instance.
v0.1.0
2026-11-08 17:09 UTC
Requires
- php: ^8.2
- flareia/php-sdk: ^0.1.0
- illuminate/http: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-08 17:33:30 UTC
README
SDK Laravel para reportar exceptions, performance e logs ao FlareIA.
Instalar
composer require flareia/laravel-sdk php artisan vendor:publish --tag=flareia-config
Registar o handler
Laravel 11+ em bootstrap/app.php:
->withExceptions(function (Exceptions $exceptions) { \FlareIA\Sdk\Laravel\FlareIA::handles($exceptions); })
Verificar
php artisan flareia:test
Defina FLAREIA_API_KEY no .env.
Documentação: flareia.com.br/docs/sdks/laravel.
Desenvolvimento
composer config repositories.flareia-php path ../flareia-php-sdk
composer install
composer test
Remova o repositório path antes de publicar no Packagist; em produção use flareia/php-sdk do registry.