PHPackages                             cboxdk/statamic-overseer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cboxdk/statamic-overseer

ActiveLibrary

cboxdk/statamic-overseer
========================

31.6k—0%[4 issues](https://github.com/cboxdk/statamic-overseer/issues)PHP

Since Sep 3Pushed 1y ago2 watchersCompare

[ Source](https://github.com/cboxdk/statamic-overseer)[ Packagist](https://packagist.org/packages/cboxdk/statamic-overseer)[ RSS](/packages/cboxdk-statamic-overseer/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Overseer for Statamic
=====================

[](#overseer-for-statamic)

Introduction
------------

[](#introduction)

**Overseer for Statamic** is a powerful Statamic addon designed to collect audit and event data, allowing administrators to easily track who did what, when, and where within the system. With comprehensive logging capabilities and an intuitive user interface, Overseer ensures that every action and request is recorded, providing unparalleled visibility into your Statamic site's operations.

Features
--------

[](#features)

- **HTTP Requests Logging**: Track all incoming HTTP requests to your Statamic site.
- **SQL Queries Logging**: Monitor and log all SQL queries executed by your site.
- **Event Logging**: Capture critical events including:
    - Login and Logout activities
    - Creation, Update, and Deletion of entries
    - Changes to taxonomies, assets, blueprints, collections, and asset containers
    - Form submissions and form management actions
- **User Interface**: Easily view and search events through the Statamic control panel. The UI makes it simple to navigate and filter logs, providing a clear view of site activities.
- **Fieldtype Integration**: Seamlessly see changes in a single entry with a custom fieldtype.
- **Customizable Trackers**: Each tracker can be individually customized and configured. There is also the possibility to add more trackers or create your own.

Data Storage
------------

[](#data-storage)

Overseer offers flexible data storage options to suit your needs:

- **SQLite**
- **MySQL**
- **PostgreSQL**
- Other compatible databases

Data collected by Overseer can also be sent to a cloud server for long-term storage and advanced analysis, helping identify abnormal traffic patterns and potential security threats. Please note that cloud server integration is currently in alpha and will be available in future releases.

Installation
------------

[](#installation)

To install Overseer for Statamic, follow these steps:

1. Add the Overseer addon to your Statamic project using Composer:

```
composer require cboxdk/statamic-overseer
```

2. Optionally publish the addon configuration:

```
php artisan vendor:publish --tag=statamic-overseer-config
```

3. Configure the database connection if you want something else than the default connection
    E.g. for flatfile setup you you may want to use sqlite.
    For high traffic sites you may want to use secondary database for logging.
4. Run the database migration

```
php artisan migrate
```

Storage
-------

[](#storage)

Configure the database connection to be used in the `config/statamic/overseer.php` file according to your preferred database system (SQLite, MySQL, PostgreSQL, etc.).
Remember to configure your connection in the default `config/databases.php`

(Optional) Configure cloud server settings if you plan to use the cloud integration for long-term storage and analysis.

Configuration Example
---------------------

[](#configuration-example)

The configuration file (`config/statamic/overseer.php`) allows you to enable or disable Overseer, set storage options, and configure individual trackers.
You don't have to change the file, but can just set the .env variables to configure the addon.

```
