bitweb / doctrine-extension
BitWeb Doctrine Extension.
Installs: 1 695
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 12
Forks: 0
Open Issues: 0
Requires
- bitweb/stdlib: ~1.1
- doctrine/dbal: ~2.4
- doctrine/orm: ~2.4
- zendframework/zend-filter: ~2.3
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2023-06-21 17:32:31 UTC
README
BitWeb extension for Doctrine ORM.
This extension adds the following types to Doctrine:
Class Name | Description | From version |
---|---|---|
BitWeb\DoctrineExtension\Type\FileType |
Adds the ability to save files. Filename is saved to database and file itself to filesystem. | 1.0.0 |
BitWeb\DoctrineExtension\Entity\SoftDeletable |
Adds the ability to "softly" delete data from database. The row itself is not deleted from database, but SoftDeletable::onDelete() function is called to mark the entity deleted. |
1.0.0 |
The following listeners are added:
Class Name | Description | From version |
---|---|---|
BitWeb\DoctrineExtension\Listener\IpListener |
Automatically adds IP address to the specified column. | 1.0.0 |
BitWeb\DoctrineExtension\Listener\UserAgentListener |
Automatically adds user agent data to the specified column. | 1.0.0 |