Download the PHP package adonko3xbitters/symfony-archivable without Composer
On this page you can find all versions of the php package adonko3xbitters/symfony-archivable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download adonko3xbitters/symfony-archivable
More information about adonko3xbitters/symfony-archivable
Files in adonko3xbitters/symfony-archivable
Download adonko3xbitters/symfony-archivable
More information about adonko3xbitters/symfony-archivable
Files in adonko3xbitters/symfony-archivable
Vendor adonko3xbitters
Package symfony-archivable
Short Description A reusable Symfony trait for archiving entities using Doctrine filters.
License MIT
Package symfony-archivable
Short Description A reusable Symfony trait for archiving entities using Doctrine filters.
License MIT
Please rate this library. Is it a good library?
Informations about the package symfony-archivable
Symfony Archivable
A lightweight Symfony package that provides a reusable Archivable
trait and a Doctrine filter to automatically exclude archived entities from queries.
📦 Installation
Install the package via Composer:
🚀 Features
- Easily mark entities as archived using a single trait.
- Automatically exclude archived records from Doctrine queries.
- Enable or disable the filter at runtime.
🧑💻 Usage/Examples
1. Use the trait in your entities
2. Register the Doctrine filter in your configuration
In :
3. Archive an entity
To archive an entity, simply set the property:
4. Doctrine queries will exclude archived entities by default
The filter automatically applies to all entities using the Archivable trait.
5. Disable the filter manually (when needed)
If you want to include archived entities in a specific query:
📂 Directory Structure
📄 License
This package is open-sourced software licensed under the MIT license.
👤 Authors
All versions of symfony-archivable with dependencies
PHP Build Version
Package Version
The package adonko3xbitters/symfony-archivable contains the following files
Loading the files please wait ....