PHP Classes

IANA Enterprise Numbers Fetcher: Fetch and search the IANA PEN List

Recommend this page to a friend!

  Author Author  
Picture of Till Wehowski
Name: Till Wehowski <contact>
Classes: 29 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 11x


  Detailed description   Download Download .zip .tar.gz  
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.

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');

  Classes of Till Wehowski  >  IANA Enterprise Numbers Fetcher  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IANA Enterprise Numbers Fetcher
Base name: iana-enterprise-numb
Description: Fetch and search the IANA PEN List
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Searching Search engines, crawling and indexing View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
January 2023
Nominee
Vote
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

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file IanaPenListFetcher.class.php Class Class source

Download Download all files: iana-enterprise-numb.tar.gz iana-enterprise-numb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file IanaPenListFetcher.class.php Class Class source

Download Download all files: iana-enterprise-numb.tar.gz iana-enterprise-numb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.