PHP Classes

PHP Website SEO Tools: Analyses a given page to evaluate SEO aspects

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 297 This week: 1All time: 7,439 This week: 560Up
Version License PHP version Categories
seoreport 1.0.0GNU General Publi...5.6HTML, PHP 5, Parsers
Description 

Author

This class can analyses a given page to evaluate SEO aspects.

It can take a given URL and retrieves the page HTML to perform several types of analysis to show in report Web page or save as PDF file. Currently it can determine:

- If your site page exists or not
- Number of JS and CSS in your page
- If it uses HTTP or HTTPS
- Page load and server response time
- Page information from the HEAD section like the title, meta tags for description and keywords
- Images and their alt tags
- Broken links URLs and count
- Text keyword frequency

Picture of Kishor Mali
  Performance   Level  
Name: Kishor Mali <contact>
Classes: 3 packages by
Country: India India
Age: 35
All time rank: 2828173 in India India
Week rank: 411 Up26 in India India Up
Innovation award
Innovation award
Nominee: 2x

Example

<?php

require_once "SeoReport.php";

if(isset(
$_POST["url"])){
   
   
$url = $_POST["url"];
   
   
$report = new SeoReport($url);
   
   
$reqHTML = $report->getSeoReport();
}

?>
<DOCTYPE html>
<html>
<head>
<title>SEO Report Demo</title>
</head>
<body>
<h1>SEO Report Demo</h1>
<br><br><br>
<form action="index.php" method="post">
URL : <input type="text" name="url" />
<p>You must enter valid url</p>
<br><br>
<input type="submit" value="submit" />
</form>
<br>
<br>
<br>
<?php

if(isset($reqHTML)){
    echo
$reqHTML;
}
?>

</body>
</html>


Details

Simple-SEO-Report-Generation-Class-using-PHP

This class is used to get the Simple SEO report of the website using PHP

Lot of things I refer from following gist.

https://gist.github.com/neo22s/3393820

Thanks @neo22s


  Files folder image Files  
File Role Description
Files folder imagedemo (2 files)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Read me
Plain text file SeoReport.php Class Class source

  Files folder image Files  /  demo  
File Role Description
  Accessible without login Plain text file index.php Example Example script
  Plain text file SeoReport.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:297
This week:1
All time:7,439
This week:560Up