Skip to content

djinn-dev/php-fig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A PHP8+ implementation of PSR-7 based off of the Nyholm/psr7 respository.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages