You can also use Flare in combination with non-Laravel PHP projects.
To get started, require the Flare PHP client as a dependency in your PHP project:
composer require facade/flare-client-php
Sending errors to Flare
If you want to send errors to Flare, you must specify a valid API key when registering the generic Flare client. You can get an API key when creating a new project or by visiting the project settings screen for an existing project.
To tell Flare to report all unhandled errors and exception, register the Flare PHP client and give it your API key:
$flare = Flare::register('YOUR-API-KEY')
This will bind Flares exception and error handler and Flare is set up and ready to go.