djinn-dev/php-fig

A fast PHP8 implementation of PHP-Fig interfaces.

Maintainers

Package info

github.com/djinn-dev/php-fig

Homepage

pkg:composer/djinn-dev/php-fig

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.2 2026-05-24 03:52 UTC

This package is auto-updated.

Last update: 2026-05-24 03:53:16 UTC


README

PHP Version License

PHP-Fig

A fast PHP8 implementation of PHP-Fig interfaces.

Interfaces Implemented

  • PSR-7
  • PSR-17

Installation

Install the package with Composer:

composer require djinn-dev/php-fig

Usage

Example

<?php

declare(strict_types=1);

use DjinnDev\Psr17\UriFactory;

$uri = UriFactory::getInstance()->createUri('https://djinn.dev/');
$target = (string) $uri->withPath('test');

// $target = 'https://djinn.dev/test'

License

This package is released under the MIT License. See LICENSE.