Author: Manuel Lemos
Updated on: 2022-10-28
Posted on: 2022-10-28
Package: URL Tracker Class
One challenge of short URLs is that they hide the actual destination URLs. If the pages of destination URLs have security issues, the users that get short URLs may not be aware of that until they access the short URL destination pages.
This package finds and returns the destination URLs of a given short URL. It may also return any intermediary URLs that browsers may need to access until they reach the final destination URL.
This way, developers may use security tools for auditing the safety of the final destination of the short URL, as well as all intermediary URLs.
About the URL Tracker Class Package
The package URL Tracker Class is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Get the URL to where a short URL redirects
Here follows in more detail what it does:
This class can get the URL to where a short URL redirects.
It can take a short URL and sends an HTTP request to the respective Web server to determine the destination URL.
If the destination URL also redirects to another URL, the class also determines the respective destination URL until no more redirection happens.
The class returns an array with the list of all URLs it accesses until it reaches its final destination URL.
The URL Tracker Class can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,602,584 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.