wedgesama/object-extensions
最新稳定版本:v2.6.2
Composer 安装命令:
composer require wedgesama/object-extensions
包简介
A library to extend Object capabilities.
关键字:
README 文档
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
统计信息
- 总下载量: 97
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-03