Automatic exception reporting for Mozzy Assistance without editing
bootstrap/app.php, config/services.php, or bootstrap/providers.php.
composer require mozzy/laravel
php artisan mozzy:installPaste the endpoint and private token shown in your Mozzy connection details. The
installer saves them to .env and immediately tests the connection.
To test it again later:
php artisan mozzy:testThe package reports Laravel web, queue, scheduled task, and console exceptions through Laravel's global exception handler. A Mozzy network failure is always caught and never interrupts the host application.
The installer can be skipped by adding these values to .env:
MOZZY_ENABLED=true
MOZZY_ENDPOINT=https://your-mozzy.example/api/v1/assistance/events
MOZZY_ASSISTANCE_TOKEN=your-private-token