Download the PHP package dsentker/watcher without Composer
On this page you can find all versions of the php package dsentker/watcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dsentker/watcher
More information about dsentker/watcher
Files in dsentker/watcher
Download dsentker/watcher
More information about dsentker/watcher
Files in dsentker/watcher
Vendor dsentker
Package watcher
Short Description Allows to track changes on doctrine entities with an easy-to-use API.
License MIT
Package watcher
Short Description Allows to track changes on doctrine entities with an easy-to-use API.
License MIT
Please rate this library. Is it a good library?
Informations about the package watcher
Watcher
[]()
[
]()
[
]()
Allows to track changes on doctrine entities with an easy-to-use and highly customizable API.
Documentation
Quick example
You can use this library to track changes to Doctrine Entities. Use annotations to define the fields that you want to monitor. They determine where the changes are to be saved.
Symfony4 services.yaml integration (example)
Known Limitations
- This package is able to track changes on single fields and associations (collections), but depends
on the concept of Doctrine, which is limited to track changes on fields on the owning side. That means, that inverse side associations (
@OneToMany
) are NOT supported.@ManyToMany
and@ManyToOne
associations are supported. - Also consider the overhead. If you've chosen the DatabaseHandler, each tracked entity change results in a single database request.
Testing
TBD (support is appreciated!)
Credits
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub.
ToDo
- Use interfaces for everything
- Easy Symfony integration
- Write tests
- Optimize performance (group changes?)
External Libraries
This library depends on Doctrine (surprise!) and subpackages.
Copyright and license
Watcher is licensed for use under the MIT License (MIT). Please see LICENSE for more information.
All versions of watcher with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3 || ^8.0
doctrine/orm Version 2.14.*
doctrine/annotations Version 1.*
psr/log Version ^1.0
ext-mbstring Version *
doctrine/orm Version 2.14.*
doctrine/annotations Version 1.*
psr/log Version ^1.0
ext-mbstring Version *
The package dsentker/watcher contains the following files
Loading the files please wait ....