wedgesama / doctrine-extensions
A library to extend Doctrine ORM capabilities.
v2.2.0
2023-11-18 11:04 UTC
Requires
- php: ^8.2
- doctrine/inflector: ^2.0
- doctrine/orm: ~2.5
- drosalys-web/string-extensions: ^1.0
Requires (Dev)
- symfony/config: ^5.4|^6.0
- symfony/dependency-injection: ^5.4|^6.0
- symfony/http-kernel: ^5.4|^6.0
- symfony/maker-bundle: ^1.0
This package is auto-updated.
Last update: 2024-12-18 13:18:26 UTC
README
A library to extend Doctrine ORM capabilities.
Install
composer require wedgesama/doctrine-extensions
Symfony integration (^4.4|^5.0)
Flex recipe not yet available.
- Enable the bundle in your
config/bundle.php
:<?php
return [
//...
WS\Library\DoctrineExtensions\Bridge\Symfony\WSDoctrineExtensionsBundle::class => ['all' => true],
//...
];
- Create a new `config\packages\ws_doctrine_extensions.yaml` file, you will config the bundle here.
ws_doctrine_extensions: ~
- That all for default configuration.
## Documentations
Here all capabilities documentations:
- [Available functions](doc/functions.md): Provide some useful Doctrine ORM functions for mariaDB.
- [Enum types](doc/enum.md): Provide a new Doctrine ORM type for native PHP enum.
- Auto-prefix table names (DOC TODO)
## 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