Skip to content

AdventistHealthSystem/website-analyzer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Analyzer

Build Status

This library allows a user to run through a list of websites, and determine which ones provide a positive response, and if so, aggregate a bunch of information about them.

Usage

<?php
require 'vendor/autoload.php';

use WebsiteAnalyzer\ListBuilder;

ini_set('error_log', 'errors.log');

// Define all of the constants
$urls = array_map('trim', file('data/sites.txt'));
$builder = new ListBuilder();
$results = $builder
    ->process($urls)
    ->getResults();


print_r($results->getMetrics('technology-stack'));
print_r($results->getMetrics('css-complexity'));
print_r($results->getMetrics('dns-data'));
print_r($results->getMetricSet('whois-data.regyinfo.registrar'));
print_r($results->getMetricSet('whois-data.regrinfo.domain.nserver'));

About

Library to analyze a given list of websites.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%