Download the PHP package computerminds/php-edtf without Composer
On this page you can find all versions of the php package computerminds/php-edtf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download computerminds/php-edtf
More information about computerminds/php-edtf
Files in computerminds/php-edtf
Download computerminds/php-edtf
More information about computerminds/php-edtf
Files in computerminds/php-edtf
Vendor computerminds
Package php-edtf
Short Description A library for getting information about EDTF formatted strings.
License MIT
Package php-edtf
Short Description A library for getting information about EDTF formatted strings.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-edtf
php-EDTF
Usage
Use the factory to get instances of EDTFInfo:
$factory = new \ComputerMinds\EDTF\EDTFInfoFactory();
$dateInfo = $factory->create('1990-01');
Then you can call the various methods on the instance.
$valid = $dateInfo->isValid();
if ($valid) {
$min = $dateInfo->getMin();
$max = $dateInfo->getMax();
// $min and $max are just standard PHP \DateTime instances.
print $min->format('c');
}
All versions of php-edtf with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~6.1|~7.0
The package computerminds/php-edtf contains the following files
Loading the files please wait ....