wedgesama / object-extensions
A library to extend Object capabilities.
v2.6.2
2024-06-20 16:30 UTC
Requires
- php: ^8.2
- ext-json: *
- symfony/property-access: ^5.4|^6.0|^7.0
- symfony/property-info: ^5.4|^6.0|^7.0
Requires (Dev)
- doctrine/collections: ~1.3
- doctrine/doctrine-bundle: ^2.9
- doctrine/orm: ~2.14|~3.0
- jms/serializer: ^3.14
- jms/serializer-bundle: ^3.10
- phpunit/phpunit: ^11.1
- symfony/config: ^5.4|^6.0|^7.0
- symfony/dependency-injection: ^5.4|^6.0|^7.0
- symfony/http-foundation: ^5.4|^6.0|^7.0
- symfony/http-kernel: ^5.4|^6.0|^7.0
- symfony/security-core: ^5.4|^6.0|^7.0
- symfony/serializer: ^5.4|^6.0|^7.0
- symfony/yaml: ^5.4|^6.0|^7.0
- dev-master
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.0
- v2.0.0-rc
- 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-20 15:43:52 UTC
README
A library to extend Object capabilities.
Install
composer require wedgesama/object-extensions
Symfony integration (^5.4|^6.0)
Flex not yet available.
- Enable the bundle in your
config/bundle.php
:<?php
return [
//...
WS\Library\ObjectExtensions\Bridge\Symfony\WSObjectExtensionsBundle::class => ['all' => true],
//...
];
- Create a new `config\packages\ws_extensions.yaml` file, you will config the bundle here.
ws_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