Download the PHP package tourze/doctrine-timestamp-bundle without Composer
On this page you can find all versions of the php package tourze/doctrine-timestamp-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package doctrine-timestamp-bundle
Doctrine Timestamp Bundle
A Symfony bundle that automatically handles timestamp fields in Doctrine entities.
中文
English
Installation
Features
- Automatically sets creation time when an entity is created
- Automatically updates modification time when an entity is updated
- Supports both DateTime and timestamp formats
- Uses PHP 8.1 attributes for configuration
- No configuration needed, just add attributes to your entity properties
Usage
Add attributes to your entity properties:
Available Types
Types::datetime
- Stores as DateTime object (default)Types::timestamp
- Stores as Unix timestamp
Requirements
- PHP 8.1 or higher
- Symfony 6.4 or higher
- Doctrine Bundle 2.13 or higher
中文
安装
功能特点
- 自动设置实体创建时间
- 自动更新实体修改时间
- 支持 DateTime 和时间戳两种格式
- 使用 PHP 8.1 属性进行配置
- 无需额外配置,只需在实体属性上添加属性即可
使用方法
在实体属性上添加属性:
支持的类型
Types::datetime
- 存储为 DateTime 对象(默认)Types::timestamp
- 存储为 Unix 时间戳
系统要求
- PHP 8.1 或更高版本
- Symfony 6.4 或更高版本
- Doctrine Bundle 2.13 或更高版本
All versions of doctrine-timestamp-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
nesbot/carbon Version ^2.72 || ^3
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^2.20 || ^3.0
doctrine/persistence Version ^3.1 || ^4
symfony/config Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/http-kernel Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/property-access Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/bundle-dependency Version 0.0.*
tourze/doctrine-entity-checker-bundle Version ~0.0.8
psr/log Version ^3|^2|^1
nesbot/carbon Version ^2.72 || ^3
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^2.20 || ^3.0
doctrine/persistence Version ^3.1 || ^4
symfony/config Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/http-kernel Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/property-access Version ^6.4
symfony/yaml Version ^6.4 || ^7.1
tourze/bundle-dependency Version 0.0.*
tourze/doctrine-entity-checker-bundle Version ~0.0.8
psr/log Version ^3|^2|^1
The package tourze/doctrine-timestamp-bundle contains the following files
Loading the files please wait ....