Introduction
When installing Laravel Flare into a PHP application, you'll have two package options:
- flare-client-php v2: a more general client for all PHP applications out there (PHP 8.2 and later)
- laravel-flare v2: an extended version of flare-client-php which integrates excellently with everything Laravel offers (8.2 & Laravel 11.0 and later)
We recommend the laravel-flare client for a Laravel application, while the flare-php-client package should be used for every other PHP application.
In the past we'be had multiple clientswithout support for performance monitoring. While these packages are still available, we recommend using the newer packages for all new projects:
- spatie/flare-client-php v1: supports PHP 8.0 and later
- facade/flare-client-php v1: supports PHP 7.1 until 8.0
For Laravel application the following older packages are available:
- spatie/laravel-flare v1: supports PHP 8.1 and later, Laravel 11.0 and 12.0
- spatie/laravel-ignition: supports PHP 7.1 and later, Laravel 5.5 until 12.0
Upgrading
You can find more information about the laravel-flare
upgrade from v1 to v2 here.
- On this page
- Upgrading