PHP code example of mguinea / psr-20

1. Go to this page and download the library: Download mguinea/psr-20 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mguinea / psr-20 example snippets




use Mguinea\Psr20\Clock;

$now = (new Clock())->now(); // $now is an instance of DateTimeImmutable