turbolabit / service-entity-plus-bundle
dev-main
2024-08-27 13:29 UTC
Requires
- php: ^8.3
- turbolabit/php-foreachable: dev-main
Requires (Dev)
- phpunit/phpunit: @stable
- symfony/dotenv: @stable
- symfony/framework-bundle: @stable
- symfony/yaml: @stable
This package is auto-updated.
Last update: 2024-09-27 13:43:29 UTC
README
一个用于创建 "ServiceEntities" 的新 Symfony 扩展包。
📦 使用 composer 安装它
symfony composer require turbolabit/service-entity-plus-bundle:dev-main
👷 用它来构建
仓库
- 创建你自己的抽象 BaseRepository
- 扩展它
- 配置常量(《ENTITY_CLASS》是必填项)
- 使用函数
ServiceCollection
- 创建你自己的抽象 BaseServiceCollection
- 扩展它
- 配置常量(《ENTITY_CLASS》是必填项)
- 使用函数
🧪 测试它
bash scripts/symfony-bundle-tester.sh