.. _system_clock_package:

The System Clock Package
########################

|Packagist| |GitLab| |GitHub| |Bitbucket| |Gitea|

The smallest possible PSR-20_ implementation for the case when you don't need all the fancy testing clock classes.

.. _PSR-20: https://www.php-fig.org/psr/psr-20/

Installation
============

.. code-block:: bash

   composer require 'arokettu/system-clock'

Documentation
=============

SystemClock class extracted and packaged.

The smallest thing you need for PSR-20.

See :ref:`the SystemClock class <system_clock_class>`

License
=======

The library is available as open source under the terms of the `MIT No Attribution License`_.

.. _MIT No Attribution License: https://spdx.org/licenses/MIT-0.html

.. |Packagist|  image:: https://img.shields.io/packagist/v/arokettu/system-clock.svg?style=flat-square
   :target:     https://packagist.org/packages/arokettu/system-clock
.. |GitHub|     image:: https://img.shields.io/badge/get%20on-GitHub-informational.svg?style=flat-square&logo=github
   :target:     https://github.com/arokettu/php-system-clock
.. |GitLab|     image:: https://img.shields.io/badge/get%20on-GitLab-informational.svg?style=flat-square&logo=gitlab
   :target:     https://gitlab.com/sandfox/php-system-clock
.. |Bitbucket|  image:: https://img.shields.io/badge/get%20on-Bitbucket-informational.svg?style=flat-square&logo=bitbucket
   :target:     https://bitbucket.org/sandfox/php-system-clock
.. |Gitea|      image:: https://img.shields.io/badge/get%20on-Gitea-informational.svg?style=flat-square&logo=gitea
   :target:     https://sandfox.org/sandfox/php-system-clock
