drosalys-web / object-extensions
A library to extend Object capabilities.
v1.15.0
2025-10-08 07:37 UTC
Requires
- php: ^7.1|^8.0
- ext-json: *
- symfony/property-access: ^4.4|^5.0|^6.0|^7.0
- symfony/property-info: ^4.4|^5.0|^6.0|^7.0
Requires (Dev)
- doctrine/collections: ^2.2
- doctrine/doctrine-bundle: ^2.4
- doctrine/orm: ~3.0
- jms/serializer: ^3.14
- jms/serializer-bundle: ^3.10
- symfony/config: ^4.4|^5.0|^6.0|^7.0
- symfony/dependency-injection: ^4.4|^5.0|^6.0|^7.0
- symfony/http-kernel: ^4.4|^5.0|^6.0|^7.0
- symfony/security-core: ^4.4|^5.0|^6.0|^7.0
- symfony/serializer: ^5.3|^6.0|^7.0
- symfony/yaml: ^4.4|^5.0|^6.0|^7.0
Conflicts
- doctrine/orm: <3.0
This package is auto-updated.
Last update: 2026-06-09 12:01:04 UTC
README
A library to extend Object capabilities.
Install
composer require drosalys-web/object-extensions
Symfony integration (^4.2|^5.0)
Flex not yet available.
- Enable the bundle in your
config/bundle.php:<?php
return [
//...
DrosalysWeb\ObjectExtensions\Bridge\Symfony\DrosalysWebObjectExtensionsBundle::class => ['all' => true],
//...
];
- Create a new `config\packages\drosalys_object_extensions.yaml` file, you will config the bundle here.
drosalys_object_extensions: ~
- That all for default configuration.
## Documentations
Here all capabilities documentations:
- [Blame](doc/blame.md): Allow an object to have a User referenced for creation and update on the object.
- [Hierarchy](doc/hierarchy.md): Allow to create a hierarchy for a given class on itself (and children classes).
- [Slug](doc/slug.md): Allow an object to have a normalize slug. Useful for url's path.
- [Timestamp](doc/timestamp.md): Same as Blame but for time.
- [Translation](doc/translation.md): Allow an object to have translation attributes.
## TODO
- Better documentation.
- Flex recipe for Symfony.
- Add example for standalone usage.
## License
This bundle is under the MIT license. See the complete license:
LICENSE