laravel maintained by mozzy
Mozzy for Laravel
Automatic exception reporting for Mozzy Assistance without editing
bootstrap/app.php, config/services.php, or bootstrap/providers.php.
Install
composer require mozzy/laravel
php artisan mozzy:install
Paste 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:test
The 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.
Manual environment setup
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