Download the PHP package pavel-krush/duration without Composer
On this page you can find all versions of the php package pavel-krush/duration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pavel-krush/duration
More information about pavel-krush/duration
Files in pavel-krush/duration
Download pavel-krush/duration
More information about pavel-krush/duration
Files in pavel-krush/duration
Vendor pavel-krush
Package duration
Short Description PHP implementation of GoLang time.Duration
License MIT
Package duration
Short Description PHP implementation of GoLang time.Duration
License MIT
Please rate this library. Is it a good library?
Informations about the package duration
Duration
PHP implementation of GoLang's time.Duration
The code is mostly ported from GoLang source code. See time/format.go and time/time.go
Setup
Ensure you have composer installed, then run the following command:
That will fetch the library inside your vendor folder. Then you can add the following to your .php files in order to use the library:
Usage
To parse string containing duration use Parser class:
All versions of duration with dependencies
PHP Build Version
Package Version
No informations.
The package pavel-krush/duration contains the following files
Loading the files please wait ....