Download the PHP package kolyasiryk/yii2-date-behavior without Composer
On this page you can find all versions of the php package kolyasiryk/yii2-date-behavior. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kolyasiryk/yii2-date-behavior
More information about kolyasiryk/yii2-date-behavior
Files in kolyasiryk/yii2-date-behavior
Download kolyasiryk/yii2-date-behavior
More information about kolyasiryk/yii2-date-behavior
Files in kolyasiryk/yii2-date-behavior
Vendor kolyasiryk
Package yii2-date-behavior
Short Description This behavior makes it easy to save and to take date in correct format.
License MIT
Homepage https://github.com/KolyaSirik/yii2-date-behavior
Package yii2-date-behavior
Short Description This behavior makes it easy to save and to take date in correct format.
License MIT
Homepage https://github.com/KolyaSirik/yii2-date-behavior
Please rate this library. Is it a good library?
Informations about the package yii2-date-behavior
Yii2 Date Behavior
Installation
The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability
settings for your application's composer.json.
To install, either run
or add
to the section of your composer.json
file.
Usage
public function behaviors()
{
return [
[
'class' => \kolyasiryk\behaviors\DateBehavior::className(),
'datetimeDisplayFormat' => 'php:d.m.Y H:i',
'attributes' => [
'start_date' => 'datetime',
'end_date' => 'datetime',
],
],
];
}
All versions of yii2-date-behavior with dependencies
PHP Build Version
Package Version
The package kolyasiryk/yii2-date-behavior contains the following files
Loading the files please wait ....