PHP Classes

PHP URL Factory: Create and edit URLs altering the its parts

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 74 All time: 10,198 This week: 89Up
Version License PHP version Categories
url-factory 1.0.0MIT/X Consortium ...5HTTP


This package can create and edit URLs altering its parts.

It can start with no URL or take a given URL to manipulate using class functions that can add or alter parts of the URL.

Currently, it can:

- Get the edited URL

- Encode and decode the URL that the class can edit

- Return each part of the URL like the domain, sub-domain, protocol scheme, port, fragment, scheme, and URL extension

- Add, remove and use given URL query parameters

- Validate the URL

- Sign the URL

- Etc.

Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 23 packages by
Country: United States United States
Age: 33
All time rank: 806110 in United States United States
Week rank: 94 Up8 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Enum.php Class Class source
  Plain text file Url.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,198
This week:89Up