Mity Docs Mity Docs for Mity Digital
Logger for Statamic Documentation



Logger for Statamic requires:

  • Statamic 5 or later

  • PHP 8.2 and later

Statamic 4 support is available in 1.x, but is no longer supported.


Install Logger for Statamic via composer:

1composer require mitydigital/statamic-logger

You may need the configuration file too - although for some use cases, the options in the .env file might be enough. If you need the config file:

1php artisan vendor:publish --tag=statamic-logger-config

Keep reading to the Configuration to find out how to get Logger for Statamic up and running, or find out more about subscribing to your own events, or extending Logger for Statamic's built-in listeners.