Send PHP errors to Flare

Related tags

Laravel php errors flare
Overview

Send PHP errors to Flare

Latest Version on Packagist Tests Total Downloads

This repository contains a PHP client to send PHP errors to Flare.

Screenshot of error in Flare

Documentation

You can find the documentation of this package at the docs of Flare.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

You might also like...
States allows you to create PHP classes following the State Pattern in PHP.

States allows you to create PHP classes following the State Pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and this improve maintainability and workflows writing.

PHP components - collection of cross-project PHP classes

PHP components Collection of cross-project PHP classes. Install: $ composer require ansas/php-component Ansas\Component\Convert\ConvertPrice Convert "

Lavacharts is a graphing / charting library for PHP 5.4+ that wraps Google's Javascript Chart API.

Lavacharts 3.1.12 Lavacharts is a graphing / chart library for PHP5.4+ that wraps the Google Chart API. Stable: Dev: Developer Note Please don't be di

PHP Secure Headers

Secure Headers Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration. Version Installatio

A Simple GUID creator Laravel Package for PHP

A Simple GUID creator package for PHP. This package is useful for creating globally unique identifiers (GUID). It's under MIT license so it's free for

laravel package for the Ar-PHP Project
laravel package for the Ar-PHP Project

laravel package for the Ar-PHP Project this is just a wrapper to use with laravel for the Ar-PHP Library, for more details checkout khaled-alshamaa

A laravel service provider for the netsuite-php library service

netsuite-laravel A PHP supplemental package to the ryanwinchester/netsuite-php package to add the NetSuite service client to the service container of

Simplest Slugify for PHP to convert string into a slug.
Simplest Slugify for PHP to convert string into a slug.

Simplest Slugify for PHP to convert string into a slug. Documentation You can find the detailed documentation here in Slugify Documentation. Contribut

PHP package to help the development of Laravel-based Telegram bots
PHP package to help the development of Laravel-based Telegram bots

Laravel-telegram-bot Project description goes here. This description is usually two to three lines long. It should give an overview of what the projec

Comments
  • PHPUnit to Pest Converter

    PHPUnit to Pest Converter

    This pull request contains changes for migrating your test suite from PHPUnit to Pest automated by the Pest Converter.

    Before merging, you need to:

    • Checkout the shift-52828 branch
    • Review all of the comments below for additional changes
    • Run composer update to install Pest with your dependencies
    • Run vendor/bin/pest to verify the conversion
    opened by freekmurze 6
  • Add support for report filtering

    Add support for report filtering

    Adds the ability to prevent reports from being sent.

    The motivation behind it that we need a way to dynamically allow/disallow reports from being sent, for example based on if git tree is clean, which can be compute heavy and cannot be done during boot.

    Compared to filterExceptionsCallable it can also prevent logs and errors from being sent, and that's why it's in sendReportToApi() instead of shouldSendReport()

    Usage is something like this:

    Flare::filterReportsUsing(function(Report $report) {
      return false;
    });
    
    opened by Jellyfrog 1
  • catch throwable instead of exception for getSession failure

    catch throwable instead of exception for getSession failure

    The following was erroring for me in latest version of L9 - I'd not run my migration files after pruning my docker containers.

    [2022-02-28 09:31:26] local.ERROR: Uncaught Error: Object of type Illuminate\Session\Store is not callable in /var/www/html/vendor/symfony/http-foundation/Request.php:698
    Stack trace:
    #0 /var/www/html/vendor/spatie/flare-client-php/src/Context/RequestContextProvider.php(88): Symfony\Component\HttpFoundation\Request->getSession()
    #1 /var/www/html/vendor/spatie/flare-client-php/src/Context/RequestContextProvider.php(147): Spatie\FlareClient\Context\RequestContextProvider->getSession()
    #2 /var/www/html/vendor/spatie/laravel-ignition/src/ContextProviders/LaravelRequestContextProvider.php(90): Spatie\FlareClient\Context\RequestContextProvider->toArray()
    #3 /var/www/html/vendor/spatie/flare-client-php/src/Report.php(280): Spatie\LaravelIgnition\ContextProviders\LaravelRequestContextProvider->toArray()
    
    opened by bobbypiper 1
Releases(1.3.1)
  • 1.3.1(Nov 16, 2022)

    What's Changed

    • Bug: Correct report sending logic by @Jellyfrog in https://github.com/spatie/flare-client-php/pull/11

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.0...1.3.1

    Source code(tar.gz)
    Source code(zip)
  • 1.3.0(Aug 8, 2022)

    What's Changed

    • Allow reportErrorLevels to be 0 by @Jellyfrog in https://github.com/spatie/flare-client-php/pull/9
    • Add support for filtering reports before sending to Flare by @Jellyfrog in https://github.com/spatie/flare-client-php/pull/10

    New Contributors

    • @Jellyfrog made their first contribution in https://github.com/spatie/flare-client-php/pull/9

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.2.0...1.3.0

    Source code(tar.gz)
    Source code(zip)
  • 1.2.0(May 16, 2022)

  • 1.1.1(May 11, 2022)

    What's Changed

    • Flat map request headers for PSR request context (47302e83d1b212ebc682bd18d7c27b8027db6c4e)
    • Update .gitattributes by @angeljqv in https://github.com/spatie/flare-client-php/pull/6

    New Contributors

    • @angeljqv made their first contribution in https://github.com/spatie/flare-client-php/pull/6

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.1.0...1.1.1

    Source code(tar.gz)
    Source code(zip)
  • 1.1.0(Mar 11, 2022)

    • Allow passing an initialised Report instance to report() to Flare

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.0.5...1.1.0

    Source code(tar.gz)
    Source code(zip)
  • 1.0.5(Mar 1, 2022)

  • 1.0.4(Feb 28, 2022)

    What's Changed

    • catch throwable instead of exception for getSession failure by @ZeoKnight in https://github.com/spatie/flare-client-php/pull/5

    New Contributors

    • @ZeoKnight made their first contribution in https://github.com/spatie/flare-client-php/pull/5

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.0.3...1.0.4

    Source code(tar.gz)
    Source code(zip)
  • 1.0.3(Feb 25, 2022)

    What's Changed

    • Remove arguments from stacktrace frames (unused in UI and causing issues, see https://github.com/spatie/ignition/issues/48)
    • Update .gitattributes by @PaolaRuby in https://github.com/spatie/flare-client-php/pull/4

    New Contributors

    • @PaolaRuby made their first contribution in https://github.com/spatie/flare-client-php/pull/4

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.0.2...1.0.3

    Source code(tar.gz)
    Source code(zip)
  • 1.0.2(Feb 16, 2022)

  • 1.0.1(Feb 4, 2022)

  • 1.0.0(Jan 18, 2022)

  • 0.0.4(Jan 11, 2022)

  • 0.0.2(May 31, 2021)

  • 0.0.1(May 31, 2021)

Owner
Spatie
We create products and courses for the developer community
Spatie
Your users do not always report errors, LaraBug does. LaraBug is a simple to use and implement error tracker built for the Laravel framework.

Your users do not always report errors, LaraBug does. LaraBug is a simple to use and implement error tracker built for the Laravel framework. This rep

LaraBug 197 Dec 9, 2022
Fearless refactoring, it does a lot of smart checks to find certain errors.

Find Bugs Before They Bite Built with ❤️ for lazy laravel developers ;) Why repeat the old errors, if there are so many new errors to commit. (Bertran

Iman 1.2k Dec 29, 2022
Laravel Authentication Log is a package Log user authentication details and send new device notifications.

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

Anthony Rappa 540 Jan 5, 2023
Trigger email failures to assert what happens on your Laravel Application when an email fails to send

Laravel Email Failer composer require --dev rogervila/laravel-email-failer About Trigger email failures to assert what happens on your Laravel Applica

Roger Vilà 30 Jul 17, 2022
Simple project to send bulk comma-separated emails using laravel and messenger module from quick admin panel generator.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Novath Thomas 1 Dec 1, 2021
Send ping to search engine by Index now protocol.

Index now PHP protocol Easy to use protocol that websites can call to notify search engines whenever website contents on any URL is updated or created

Baraja packages 3 Sep 10, 2022
myV - Send valentine to Your love!

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 2 Feb 14, 2022
How to get cookies from users' browser and send the information to your email address and telegram bot

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

MAXWELL 3 Dec 3, 2022
Public API for the project coding.events. Made in PHP 8.0 with Lumen 8, PHP-FPM, NGINX and MySQL 8.

coding.events API Uma API feita apenas para passar o tempo, montando uma API para o site <coding.events>. Sinta-se livre para usar esse código como es

Kaique Garcia 3 Oct 9, 2022
PHP phonebook with map (Active Directory, LDAP -> MySQL, PHP)

LDAP phonebook ???? ???? Development ветка Вопросы предпочтительнее задавать в Issues, а не по почте Корпоративный телефонный справочник с отображение

null 47 Nov 30, 2022