PHP Classes
elePHPant
Icontem

PHP URL Manipulation Library: Manipulate and get different types of URLs

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-05-19 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 159 All time: 8,498 This week: 409Up
Version License PHP version Categories
php-url 1.1.6MIT/X Consortium ...5.6HTTP, PHP 5
Description Author

This class can manipulate and get different types of URLs.

It provides many types of functions that can get URLs relative to the current HTTP request and manipulate them in several ways. Currently it can:

- Get URL from the current page
- Get the base URL of the site
- Get the protocol from the current HTTP request or a given URL:
- Check if the current site is secure for being served using SSL
- Get the server name
- Get URI
- Remove subdirectories from URI if they are there
- Set parameters from the URL and return the URL without them
- Get the server port
- Add backslash if it does not exist at the end of the URL path
- Go to the previous URL
- Redirect to chosen URL
- Converts URLs into HTML links
- Get all URL parts
- Get the URL first and last item segment

  Performance   Level  
Name: Josantonius <contact>
Classes: 30 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 11x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetests (1 file)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONDUCT.md Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpcs.xml Data Auxiliary data
Accessible without login Plain text file phpmd.xml Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README-ES.md Doc. Documentation
Accessible without login Plain text file README.md Doc. Documentation

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

  Files folder image Files  /  tests  
File Role Description
  Plain text file UrlTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:159
This week:0
All time:8,498
This week:409Up