Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2023-01-27 (7 months ago)  | | Not yet rated by the users | | Total: 30 | | All time: 10,879 This week: 125 |
|
Description | | Author |
This class can fetch and search the IANA PEN List.
It can send an HTTP request to the IANA Web site to retrieve the list of Internet networks, the companies responsible for those networks, the name of the responsible person, and the respective email address.
The list is stored in a cache file to avoid spending time retrieving the list again while the timeout of the cache file does not pass.
The package can also perform searches for names, email addresses, and identifier numbers in the list to return a list of match results for the values searched. Innovation Award
 January 2023
Number 9 |
The Internet Assigned Numbers Authority (IANA) is responsible for assigning the main numbers used to connect to networks all over the Internet.
One of the types of numbers that it assigns is the numbers of the companies responsible for networks connecting many nodes on the Internet.
This package can retrieve the complete list of companies IANA lists, so PHP developers can search that list for numbers and names of companies responsible for all the Internet network nodes made available in the IANA Enterprise numbers list.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 11x |
|
Details
iana-enterprise-numbers-fetcher
Fetch the PEN List from IANA and optionally search in it.
Example
header('Content-Type: text/plain');
$Fetcher = new IanaPenListFetcher();
$result = $Fetcher();
echo print_r(count($result), true). " Records found\n";
//This should search and find the SAME entry (by email, id, oid, name, org):
echo print_r($Fetcher('till@webfan.de'), true). "\n";
echo print_r($Fetcher(37553), true). "\n";
echo print_r($Fetcher('1.3.6.1.4.1.37553'), true). "\n";
echo print_r($Fetcher('Wehowski'), true). "\n";
echo print_r($Fetcher('frdl'), true). "\n";
Optionally with custom configuration:
$Fetcher->setRoot('1.3.6.1.4.1');
$Fetcher->setUrl('https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers');
$Fetcher->setCachelimit(60 * 60);
$Fetcher->setCachefile(__DIR__.\DIRECTORY_SEPARATOR.'penlist.php');
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.