Configuration
Publish the config file to change the dashboard path or storage location:
php artisan vendor:publish --tag=sms-catcher-config
This creates config/sms-catcher.php with these options:
| Option | What it does |
|---|---|
enabled | Turns the catcher on or off. Defaults to on in local or when APP_DEBUG=true. |
route.prefix | URL prefix for the dashboard. Defaults to /sms-catcher. |
route.middleware | Middleware stack wrapping the dashboard routes. |
storage_path | File that stores captured messages. |
The package is auto-discovered. If discovery is disabled, register SmsCatcher\SmsCatcherServiceProvider in config/app.php.