2017 © Pedro PelĂĄez
 

library uri

WOK URI handler

image

wok/uri

WOK URI handler

  • Tuesday, March 7, 2017
  • by graphidev
  • Repository
  • 1 Watchers
  • 0 Stars
  • 50 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 2 % Grown

The README.md

Uri

This library is a URI manager interface., (*1)

SensioLabsInsight, (*2)

Diclaimer : This component is part of the WOK (Web Operational Kit) framework. It however can be used as a standalone library., (*3)

Install

It is recommanded to install that component as a dependency using Composer :, (*4)

composer require wok/uri

You're also free to get it with git or by direct download while this package has no dependencies., (*5)

git clone https://github.com/web-operational-kit/uri.git

Usage

``` php use \WOK\Uri\Uri, (*6)

// First instanciate a URI object $uri = Uri::createFromString('http://domain.tld/path/to/resource?param=abc');, (*7)

// Then you can either retrieve informations ... $uri->getScheme();, (*8)

// ... or update them, (*9)

```, (*10)

Checkout the full methods and components list as API., (*11)

Methods and components

Tip: - Methods prefixed with getX return the value or associated object - Methods prefixed with setX override the current value or associated object - Methods prefixed with withX clone the current Uri object with the new value., (*12)

String values

  • getScheme()
  • setScheme($scheme)
  • withScheme(scheme), (*13)

  • getFragment(), (*14)

  • setFragment($fragment)
  • withFragment(fragment)

Host component

  • getHost()
  • setHost($host)
  • withHost($host)

Path component

  • getPath()
  • setPath($path)
  • withPath($path)

Query component

  • getQuery()
  • setQuery($query)
  • withQuery($query)

User component

  • getUser()
  • setUser($user)
  • withUser($user)

The Versions

07/03 2017

dev-master

9999999-dev https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

07/03 2017

v1.2.5

1.2.5.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

07/03 2017

dev-develop

dev-develop https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

25/11 2016

v1.2.4

1.2.4.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

25/11 2016

v1.2.3

1.2.3.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

25/11 2016

v1.2.2

1.2.2.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

14/11 2016

dev-feature-psr7

dev-feature-psr7 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

The Requires

 

by SĂ©bastien ALEXANDRE

14/11 2016

v1.2.1

1.2.1.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

10/11 2016

v1.2.0

1.2.0.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

BSD

by SĂ©bastien ALEXANDRE

09/09 2016

v1.1.0

1.1.0.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

BSD

The Requires

 

by SĂ©bastien ALEXANDRE

09/09 2016

1.0.0

1.0.0.0 https://github.com/web-operational-kit/uri

WOK URI handler

  Sources   Download

BSD

The Requires

 

by SĂ©bastien ALEXANDRE