2017 © Pedro Peláez
 

library rewrite-helper

A library for path of url using mod_rewrite

image

prob/rewrite-helper

A library for path of url using mod_rewrite

  • Thursday, August 25, 2016
  • by jongpak
  • Repository
  • 1 Watchers
  • 1 Stars
  • 94 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Prob/Rewrite

A library for path of url using mod_rewrite, (*1)

Build Status codecov, (*2)

Usage

basic

<?php

use Prob\Rewrite\Url;

$url = new Url();
$url->setSite('http://somesite.com');
$url->setDispatcher('index.php');
$url->setPath('/post/56');

echo $url->parse();         // http://somesite.com/post/56
echo $url->parse(false);    // http://somesite.com/index.php/post/56

The Versions

25/08 2016

dev-master

9999999-dev https://github.com/jongpak/prob-rewrite

A library for path of url using mod_rewrite

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires