madeitbelgium / seo-analyzer
SEO Analyzer
Fund package maintenance!
madeitbelgium
Installs: 2 542
Dependents: 2
Suggesters: 0
Security: 0
Stars: 31
Watchers: 4
Forks: 17
Open Issues: 1
Requires
- php: >=7.0
- guzzlehttp/guzzle: ~6.0|7.*
- illuminate/support: *
- ivopetkov/html5-dom-document-php: 1.*|2.*
Requires (Dev)
- php-coveralls/php-coveralls: ~2.1
- phpunit/phpunit: 7.*|6.*|8.*
README
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
Installation
Require this package in your composer.json
and update composer.
"madeitbelgium/seo-analyzer": "^0.6"
Documentation
Usage
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
Support github or mail: tjebbe.lievens@madeit.be
Contributing
Please try to follow the psr-2 coding style guide. http://www.php-fig.org/psr/psr-2/
License
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!