-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Harvey
committed
Mar 27, 2019
1 parent
44d2b92
commit 4077bc0
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
[![Release Badge](https://img.shields.io/github/release/kusabi-psr/uri.svg)](https://img.shields.io/github/release/kusabi-psr/uri.svg) | ||
[![Tag Badge](https://img.shields.io/github/tag/kusabi-psr/uri.svg)](https://img.shields.io/github/tag/kusabi-psr/uri.svg) | ||
[![Licence Badge](https://img.shields.io/github/license/kusabi-psr/uri.svg)](https://img.shields.io/github/license/kusabi-psr/uri.svg) | ||
[![Issues Badge](https://img.shields.io/github/issues/kusabi-psr/uri.svg)](https://img.shields.io/github/issues/kusabi-psr/uri.svg) | ||
[![Codacy Badge](https://img.shields.io/codacy/grade/a2236972c0084da8a41a880cb7e017b8.svg)](https://img.shields.io/codacy/grade/bec9194f88a843fd9abd4edef6102f9b.svg) | ||
[![Code Size](https://img.shields.io/github/languages/code-size/kusabi-psr/uri.svg)](https://img.shields.io/github/languages/code-size/kusabi-psr/uri.svg) | ||
|
||
An implementation of a [PSR-7](https://www.php-fig.org/psr/psr-7/) & [PSR-17](https://www.php-fig.org/psr/psr-17/) conforming Uri library | ||
|
||
# Using the Uri class | ||
|
@@ -6,7 +13,7 @@ The Uri class is a very basic wrapper around a Uri string. | |
|
||
|
||
```php | ||
use Kusabi\Psr\Uri; | ||
use kusabi-psr\Psr\Uri; | ||
|
||
// Instantiate a Uri instance | ||
$uri = new Uri('https://user:[email protected]:8080/users/22?filter=name#bottom'); | ||
|
@@ -29,7 +36,7 @@ The Uri factory can be used to create the Uri instance too. | |
|
||
|
||
```php | ||
use Kusabi\Psr\UriFactory; | ||
use kusabi-psr\Psr\UriFactory; | ||
|
||
// Instantiate a Uri instance | ||
$factory = new UriFactory(); | ||
|