mrgoodbytes8667 / date-bundle
用于处理日期的 Symfony 扩展包
v1.0.3
2024-09-12 16:54 UTC
Requires
- php: ^8.2
- mrgoodbytes8667/enum-serializer-bundle: ^5.0 | ^6.0 | ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.58
- mrgoodbytes8667/test-common: ^0.2.5 | ^0.3 | ^0.4.2
- mrgoodbytes8667/test-common-faker: >=0.6.0
- rector/rector: ^1.2
- symfony/test-pack: ^1.0.9
Conflicts
- phpunit/phpunit: <9.5 | 9.5.8 | >=10
README
安装
确保全局已安装 Composer,如 Composer 文档中的 安装章节 所述。
使用 Symfony Flex 的应用程序
打开命令行,进入您的项目目录并执行
$ composer require mrgoodbytes8667/date-bundle
未使用 Symfony Flex 的应用程序
步骤 1: 下载扩展包
打开命令行,进入您的项目目录并执行以下命令以下载此扩展包的最新稳定版本
$ composer require mrgoodbytes8667/date-bundle
步骤 2: 启用扩展包
然后,通过将其添加到项目 config/bundles.php
文件中注册的扩展包列表来启用扩展包
// config/bundles.php return [ // ... Bytes\DateBundle\BytesDateBundle::class => ['all' => true], ];
许可证
由 MrGoodBytes 编写的 Date Bundle 适用于 Creative Commons Attribution-NonCommercial 4.0 International License。
基于 https://github.com/mrgoodbytes8667/date-bundle 的作品。