drosalys-web / object-extensions
A library to extend Object capabilities.
v1.14.0
2024-12-09 08:36 UTC
Requires
- php: ^7.1|^8.0
- ext-json: *
- symfony/property-access: ^4.4|^5.0|^6.0
- symfony/property-info: ^4.4|^5.0|^6.0
Requires (Dev)
- doctrine/collections: ~1.3
- 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
- symfony/dependency-injection: ^4.4|^5.0|^6.0
- symfony/http-kernel: ^4.4|^5.0|^6.0
- symfony/security-core: ^4.4|^5.0|^6.0
- symfony/serializer: ^5.3|^6.0
- symfony/yaml: ^4.4|^5.0|^6.0
Conflicts
- doctrine/orm: <3.0
- dev-master
- v1.14.0
- v1.13.1
- v1.13.0
- v1.12.1
- v1.12.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-rc9
- v1.0.0-rc8
- v1.0.0-rc7
- v1.0.0-rc6
- v1.0.0-rc5
- v1.0.0-rc4
- v1.0.0-rc3
- v1.0.0-rc2
- v1.0.0-rc1
- v1.0.0-rc
This package is auto-updated.
Last update: 2024-12-09 08:37:34 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