With this (Laravel) package you can analyze the on-page SEO.
This package search for the main content to optimze the SEO results for the content that matters. Ex.: A blog post webpage analyze full webpage and only the blog post text.
Webpage:
- Get title
- Get description
- Loadtime
Full page analyze
- code To Text Ratio
- Word Count
- Keywords
- Long tail keywords
- Headers (H1, H2, ...): Count, word count, keywords, long tail keywords
- Links: Count, word count, keywords, long tail keywords, internal links, external links, follow, nofollow
- images: Count, Count with alt text, Count words in alt text, keywords, long tail keywords
Detect main content
- code To Text Ratio
- Word Count
- Keywords
- Long tail keywords
- Headers (H1, H2, ...): Count, word count, keywords, long tail keywords
- Links: Count, word count, keywords, long tail keywords, internal links, external links, follow, nofollow
- images: Count, Count with alt text, Count words in alt text, keywords, long tail keywords
Require this package in your composer.json
and update composer.
"madeitbelgium/seo-analyzer": "^0.6"
use MadeITBelgium\SeoAnalyzer\SeoFacade as SEO;
SEO::analyze('https://www.madeit.be');
If you already have the HTML content of the page:
use MadeITBelgium\SeoAnalyzer\SeoFacade as SEO;
$html = "<html>....</html>";
SEO::analyze('https://www.madeit.be', $html);
The complete documentation can be found at: http://www.madeit.be/
Support github or mail: [email protected]
Please try to follow the psr-2 coding style guide. http://www.php-fig.org/psr/psr-2/
This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!