Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Auditor Laravel Package

damienharper/auditor

View on GitHub
Deep Wiki
Context7

Installation

Install auditor using Composer

This guide covers the installation of the auditor library using Composer.

📋 Requirements

Version 5.x (Current)

Requirement Version
PHP >= 8.4
Symfony >= 8.0

Doctrine ORM support requires the separate auditor-doctrine-provider package.

Previous Versions

Version PHP Symfony Doctrine DBAL Doctrine ORM
4.x >= 8.4 >= 8.0 >= 4.0 >= 3.2
3.x >= 8.2 >= 5.4 >= 3.2 >= 2.13
2.x >= 7.4 >= 4.4 - -
1.x >= 7.2 >= 3.4 - -

📦 Install via Composer

Open a terminal in your project directory and run:

composer require damienharper/auditor

This will install the latest stable version compatible with your PHP and dependency requirements.

Installing a Specific Version

To install a specific version:

# Install the latest 5.x version
composer require damienharper/auditor:^5.0

# Install the latest 4.x version
composer require damienharper/auditor:^4.0

Installing with Doctrine ORM support

composer require damienharper/auditor damienharper/auditor-doctrine-provider

🎵 Symfony Integration

For Symfony applications, we recommend using the auditor-bundle which provides:

  • ✅ Automatic service configuration
  • ✅ Web interface for browsing audits
  • ✅ Console commands
  • ✅ Twig extensions
composer require damienharper/auditor-bundle

[!TIP] See the auditor-bundle documentation for more details.

🔧 Standalone Usage

The library can be used without Symfony. You'll need to manually configure the Auditor and register providers.

See the Quick Start Guide for a complete setup example.

📚 Dependencies

The auditor core library automatically installs the following dependencies:

Package Purpose
symfony/event-dispatcher Event handling
symfony/options-resolver Configuration handling

Provider packages bring their own additional dependencies. For example, auditor-doctrine-provider adds:

Package Purpose
doctrine/dbal Database abstraction layer
doctrine/orm Object-Relational Mapping
symfony/cache Metadata caching
symfony/lock Command locking

Next Steps

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums