2017 © Pedro PelĆ”ez
 

library url-composer

Basic URL composer

image

retrinko/url-composer

Basic URL composer

  • Wednesday, August 17, 2016
  • by retrinko
  • Repository
  • 1 Watchers
  • 2 Stars
  • 360 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 5 % Grown

The README.md

Build Status Scrutinizer Code Quality Code Coverage, (*1)

retrinko/url-composer

Basic URL composer for PHP., (*2)

Installation

Install the latest version with, (*3)

$ composer require retrinko/url-composer

Dependencies

This library requires the php's intl extension to work., (*4)

Basic usage

<?php

require_once __DIR__ . '/../vendor/autoload.php';

use Retrinko\UrlComposer\UrlComposer;
try
{
    $urlComposer = new UrlComposer('http://my-url.com');
    $urlComposer->setUser('user')
                ->addToPath('blog')
                ->addToQuery('id', '25')
                ->setFragment('fragment');
    $url = $urlComposer->compose();
    printf('URL: %s' . PHP_EOL, $url);
}
catch (\Exception $e)
{
    printf('Exception!: %s' . PHP_EOL, $e->getMessage());
}

The Versions

17/08 2016

dev-master

9999999-dev

Basic URL composer

  Sources   Download

MIT

The Requires

  • ext-intl *
  • php >=5.5.0

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

07/07 2016

v0.7

0.7.0.0

Basic URL composer

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

19/06 2016

v0.6

0.6.0.0

Basic URL composer

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

02/06 2016

v0.5

0.5.0.0

Basic URL composer

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

11/04 2016

v0.4

0.4.0.0

Basic URL composer

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

11/04 2016

v0.3

0.3.0.0

Basic URL composer

  Sources   Download

Private

The Requires

  • php >=5.4.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

10/04 2016

v0.2

0.2.0.0

Basic URL composer

  Sources   Download

Private

The Requires

  • php >=5.4.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer

10/04 2016

v0.1

0.1.0.0

Basic URL composer

  Sources   Download

Private

The Requires

  • php >=5.4.0
  • ext-intl *

 

The Development Requires

by Miguel Ɓngel GraƱa

url composer