jsp / utilities
0.1.15
2020-05-08 14:56 UTC
Requires
- php: ^7.2
- ramsey/uuid-doctrine: ^1.6
- sensio/framework-extra-bundle: ^5.5
- symfony/orm-pack: ^1.0
- symfony/validator: ^4.1
This package is auto-updated.
Last update: 2024-09-09 01:38:12 UTC
README
版权所有 © 2019 由 John_Sear
库
这是一个库,用于在您的 symfony 应用程序中使用 JohnSear Symfony Bundles。
请确保您正在使用 symfony 版本 4.4。
此 Bundle 仍在开发中。某些功能可能已损坏 ;-)
安装
通过 CLI
在 cli 中运行 `composer require jsp/utilities:"0.1.*"
命令以使用版本 0.1 安装源代码
composer.json
将以下内容添加到您的 symfony 应用程序 composer json 文件中
{
"require": {
"jsp/utilities": "0.1.*"
}
}
配置
注册所有服务
目前,所有服务都必须通过 services.yaml 自动装配。
在 `config\services.yaml
的末尾添加以下行
services:
# ..
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
JohnSear\Utilities\:
resource: '../vendor/jsp/utilities/*'
# ..
附加文档
更多文档,例如 Uuid 配置,可以在 这里 找到