dskripchenko/orchid-loggable

Change logs for orchid platform.
1,318 1
Install
composer require dskripchenko/orchid-loggable
Latest Version:v1.2.2
PHP:^8.2
License:MIT
Last Updated:Sep 14, 2026
Links: GitHub  ·  Packagist
Maintainer: dskripchenko

orchid-loggable

Change-log / audit trail for Orchid platform models. Records create / update / delete changes and ships Orchid screens to browse them.

🌐 English · Deutsch · Русский · 中文

Packagist License

Requirements

PHP 8.2–8.5 · Laravel 11 / 12 / 13 · Orchid Platform 14 · dskripchenko/orchid-extra ^2.2.

Install

composer require dskripchenko/orchid-loggable
php artisan migrate

The service provider is auto-discovered and registers the change-log screens in your Orchid dashboard.

Usage

Make a model auditable by implementing LoggableEntity and attaching ChangeLogObserver:

use Dskripchenko\OrchidLoggable\Contracts\LoggableEntity;
use Dskripchenko\OrchidLoggable\Observers\ChangeLogObserver;
use Illuminate\Database\Eloquent\Model;

class Article extends Model implements LoggableEntity
{
    // How each change-log entry is labelled…
    public function getLoggableTitle(): string
    {
        return $this->title;
    }

    // …and where it links back to.
    public function getLoggableUrl(): string
    {
        return route('platform.articles.edit', $this);
    }

    protected static function booted(): void
    {
        static::observe(ChangeLogObserver::class);
    }
}

Changes are stored as ChangeLog records and viewable through the package's Orchid list / view screens. getLoggableTitle() / getLoggableUrl() control how each entry is titled and linked in that UI.

License

MIT © Denis Skripchenko

Related Packages

backpack/logmanager

An interface to preview, download and delete Laravel log files.

749,017 274
orchid/platform

Platform for back-office applications, admin panel or CMS your Laravel app.

2,610,289 4,797
understand/understand-laravel

Laravel service provider for Understand.io

113,481 24
understand/understand-laravel5

Laravel 5, 6, 7 and 8 service provider for Understand.io

589,732 24
infinety-es/logmanager

Laravel 5 interface to preview, download and delete Laravel log files.

85 1