2017 © Pedro Peláez
 

library uri-parser

image

laithshadeed/uri-parser

  • Wednesday, February 1, 2017
  • by laithshadeed
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • Hack
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

An attempt in 2016 to explore Hack lang and revisit PHP & its ecosystem after last time I used it in 2014.

uri-parser

Sample URI Parser - Not meant to be used in production, (*2)

Install

composer require laithshadeed/uri-parser

Usage

$uri = new Http\Uri('http://عربي.امارات/أسئلة-متكررة?مستحيل=نعم');
echo $uri->host;

Hack & Travis

The code is written in Hack. I use h2tp to transpile it into plain PHP. To make travis build successfully for non-hhvm versions, I added ./transpile file. It does the following: - transpile {src,test} -> php/{src,test} - Copy hhvm libs, vendor, phpunit configs -> ./php, (*3)

The Versions

01/02 2017

dev-master

9999999-dev https://github.com/laithshadeed/uri-parser

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

uri