wedgesama / doctrine-extensions
一个扩展 Doctrine ORM 功能的库。
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-09-18 12:49:24 UTC
README
一个扩展 Doctrine ORM 功能的库。
安装
composer require wedgesama/doctrine-extensions
Symfony 集成 (^4.4|^5.0)
Flex 菜谱尚未可用。
- 在您的
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