Skip to content

Commit 27c51d7

Browse files
committed
feat: add PSR-7, PSR-11, PSR-14, PSR-17, PSR-18, and PSR-20 badges to README and include ClockInterface in usage example
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent da0cae6 commit 27c51d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
44
[![PHP Version](https://img.shields.io/badge/php-^8.3-blue.svg)](https://www.php.net/releases/)
5+
[![PSR-7](https://img.shields.io/badge/PSR_7-http--message-777bb4.svg)](https://www.php-fig.org/psr/psr-7/)
6+
[![PSR-11](https://img.shields.io/badge/PSR--11-container-777bb4.svg)](https://www.php-fig.org/psr/psr-11/)
7+
[![PSR-14](https://img.shields.io/badge/PSR--14-event--dispatcher-777bb4.svg)](https://www.php-fig.org/psr/psr-14/)
8+
[![PSR-17](https://img.shields.io/badge/PSR_17-http--factory-777bb4.svg)](https://www.php-fig.org/psr/psr-7/)
9+
[![PSR-18](https://img.shields.io/badge/PSR_18-http--client-777bb4.svg)](https://www.php-fig.org/psr/psr-7/)
10+
[![PSR-20](https://img.shields.io/badge/PSR--20-clock-777bb4.svg)](https://www.php-fig.org/psr/psr-20/)
511

612
**Fast Forward Framework** is a lightweight and fast PHP framework designed for building modern web
713
and event-driven applications.
@@ -25,6 +31,7 @@ declare(strict_types=1);
2531

2632
use FastForward\Framework\ServiceProvider\FrameworkServiceProvider;
2733
use function FastForward\Container\container;
34+
use Psr\Clock\ClockInterface;
2835
use Psr\EventDispatcher\EventDispatcherInterface;
2936
use Psr\Http\Message\ResponseFactoryInterface;
3037

@@ -34,6 +41,7 @@ $container = container(new FrameworkServiceProvider());
3441

3542
$responseFactory = $container->get(ResponseFactoryInterface::class);
3643
$dispatcher = $container->get(EventDispatcherInterface::class);
44+
$clock = $container->get(ClockInterface::class);
3745
```
3846

3947
---

0 commit comments

Comments
 (0)