Download the PHP package arokettu/clock without Composer
On this page you can find all versions of the php package arokettu/clock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download arokettu/clock
More information about arokettu/clock
Files in arokettu/clock
Download arokettu/clock
More information about arokettu/clock
Files in arokettu/clock
Vendor arokettu
Package clock
Short Description PSR-20 Implementation
License MIT
Homepage https://sandfox.dev/php/clock.html
Package clock
Short Description PSR-20 Implementation
License MIT
Homepage https://sandfox.dev/php/clock.html
Please rate this library. Is it a good library?
Informations about the package clock
Clock
A collection of clock abstraction classes for PSR-20.
Installation
Supported versions:
- 1.x (LTS-ish, PHP 7.0+)
- 2.x (current, PHP 8.0+)
Example
For a specific example, lcobucci/jwt
:
Documentation
Available clock classes:
- SystemClock. Plain class that returns operating system clock, also available as a separate package: arokettu/system-clock
- ShiftedClock. System clock + fixed interval
- StaticClock. Clock that returns a single set value
- MutableClock. Based on mutable DateTime class
- TickingClock. Clock that advances an interval every call
- CallbackClock. A wrapper for a closure that also supports generator closures
- RoundingClock. A clock wrapper that rounds time to a certain precision
- OffsetClock. A clock wrapper that modifies the inner clock by a given interval
- ReplaceableClock. A wrapper that allows replacing the inner clock
Read full documentation here: https://sandfox.dev/php/clock.html
Also on Read the Docs: https://arokettu-clock.readthedocs.io/
Support
Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/php-clock/-/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.
All versions of clock with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
arokettu/datetime-rounding Version ^1.0
arokettu/system-clock Version ^2.0
psr/clock Version ^1.0
arokettu/datetime-rounding Version ^1.0
arokettu/system-clock Version ^2.0
psr/clock Version ^1.0
The package arokettu/clock contains the following files
Loading the files please wait ....