PHP Classes

Mrasnika's URL validator: Validate and parse HTTP or FTP URLs

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 2,955 All time: 1,262 This week: 673Up
Version License Categories
mrasnika_urlvldtr 1.0GNU Lesser Genera...Text processing, Validation
Description 

Author

This class is meant to validates HTTP and FTP URLs. It can also parse the URLs and extract their component parts:

- Protocol
- User and password
- Domains and sub-domain
- TLD (top level domain)
- Port
- Path
- Query

Composite parts:

- Domain_name (domain + tld)
- Host (sub_domain(s) + domain + tld)
- Sub-domains array
- Path array

Picture of Kaloyan Kirilov
Name: Kaloyan Kirilov <contact>
Classes: 4 packages by
Country: Bulgaria Bulgaria

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file test.php Example An example
Plain text file url-validation.class.php Class The class itself

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,955
This week:0
All time:1,262
This week:673Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1892