Mity Docs Mity Docs for Mity Digital
Logger for Statamic Documentation

Installation

Requirements

Logger for Statamic requires:

  • Statamic 4 or later

  • PHP 8.2 and later

Installation

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.