定制 arokettu/date-doctrine 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

arokettu/date-doctrine

最新稳定版本:2.2.1

Composer 安装命令:

composer require arokettu/date-doctrine

包简介

Doctrine support for arokettu/date

README 文档

README

Packagist PHP License Gitlab CI Codecov

arokettu/date row classes and ID generators for Doctrine.

Installation

composer require arokettu/date-doctrine
  • Version 1.x is for doctrine/dbal v3
  • Version 2.x is for doctrine/dbal v4

The versions are fully interchangeable except for hard dependency on DBAL.

Usage

<?php

use Arokettu\Date\Date;
use Doctrine\ORM\Mapping\{Column,Table};

#[Entity, Table(name: 'date_object')]
class DateObject
{
    #[Column(type: DateType::NAME)]
    public Date $date;
}

Documentation

Read full documentation for the base library here: https://sandfox.dev/php/date.html

Also on Read the Docs: https://php-date.readthedocs.io/

Support

Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/php-date/-/issues

Feel free to ask any questions in our room on Gitter: https://gitter.im/arokettu/community

License

The library is available as open source under the terms of the MIT License.

统计信息

  • 总下载量: 40
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-01