PHPackages                             grgk/seo-analyzer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. grgk/seo-analyzer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

grgk/seo-analyzer
=================

Seo Analyzer

1.0.9(6y ago)673.0k36[2 issues](https://github.com/grgk/seo-analyzer/issues)[1 PRs](https://github.com/grgk/seo-analyzer/pulls)MITPHPPHP &gt;=7.1CI failing

Since Dec 11Pushed 2y ago9 watchersCompare

[ Source](https://github.com/grgk/seo-analyzer)[ Packagist](https://packagist.org/packages/grgk/seo-analyzer)[ RSS](/packages/grgk-seo-analyzer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (11)Used By (0)

SEO Analyzer
============

[](#seo-analyzer)

Basic PHP library to check several SEO metrics of a website.

[![Travis](https://camo.githubusercontent.com/d98a86c9afae0de25e2e0e685957bafa3ca7585a3c355ba50f9631c0005e76b4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6772676b2f73656f2d616e616c797a65722e737667)](https://travis-ci.org/grgk/seo-analyzer)[![Packagist](https://camo.githubusercontent.com/16a0174d27efc31656540c4695ed1241625cac49813537d3e1960c6b7b2940fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6772676b2f73656f2d616e616c797a65722e737667)](https://github.com/grgk/seo-analyzer)[![Quality Gate](https://camo.githubusercontent.com/fc1ed64411ae3780a8c86e29c1419a50c4e88f08a7b7785d40060d63dd800ac7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6772676b2e73656f2d616e616c797a6572266d65747269633d616c6572745f737461747573)](https://sonarqube.com/dashboard/index/grgk.seo-analyzer)[![SonarQube Coverage](https://camo.githubusercontent.com/00026ee1240a33caeabc58d5e244f21fb98b7e8e58b1124dcf22de1cab5c699c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6772676b2e73656f2d616e616c797a6572266d65747269633d636f766572616765)](https://sonarqube.com/dashboard/index?id=grgk.seo-analyzer)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](http://opensource.org/licenses/MIT)[![GitHub issues](https://camo.githubusercontent.com/73e4cb3916c15eace0d165c3330a933138dfdea1210d9a0e74cca768d824ff0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6772676b2f73656f2d616e616c797a65722e737667)](https://github.com/grgk/seo-analyzer/issues?q=is%3Aopen)[![StyleCI](https://camo.githubusercontent.com/53c90dbce11a05d5abb4dfefb98de4c3fba9b0532a7d2c61dfb8e31a8d5c766e/68747470733a2f2f7374796c6563692e696f2f7265706f732f3136313335303631332f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/161350613)[![Code Climate](https://camo.githubusercontent.com/0e0f362e573beaadc96464a6ecff0909dbb7d78fe43a61c85d6b5e2b028773f5/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6772676b2f73656f2d616e616c797a65722f6261646765732f6770612e737667)](https://codeclimate.com/github/grgk/seo-analyzer)

Requirements
------------

[](#requirements)

- PHP 7.1 (or higher)

Installation
------------

[](#installation)

composer require grgk/seo-analyzer

How to use?
-----------

[](#how-to-use)

Please check the `examples` dir

Available metrics
-----------------

[](#available-metrics)

This tools uses several metrics to analyze and rate website suggesting some SEO improvements:

- https - checks for SSL encryption,
- redirect - checks URL for redirects,
- page\_size - analyzes page size,
- load\_time - analyzes page load time,
- url\_size - analyzes URl size,
- meta - analyzes page meta tags,
- headers - analyzes page HTML headers,
- keyword\_density - analyzes keyword density in page content,
- keyword\_density\_headers - analyzes keyword density in HTML headers on page,
- alt\_attributes - analyzes images alt attributes content,
- keyword\_url - analyzes URL for specified SEO keyword,
- keyword\_path - analyzes URL: path for specified keyword,
- keyword\_title - analyzes page title for specified keyword,
- keyword\_description - analyzes page meta description for keyword,
- keyword\_headers - analyzes HTML headers for keyword,
- keyword\_density\_keyword - analyzes page content keyword density for specified keyword,
- robots - analyzes "robots.txt" file
- sitemap - analyzes "sitemap.xml" file

Translations
------------

[](#translations)

On how to translate messages please check `examples/analyze_url_with_keyword_translated.php` file.

You can add more translations by adding translation files to `locale` directory.

License
-------

[](#license)

Licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~55 days

Total

10

Last Release

2211d ago

PHP version history (2 changes)1.0PHP &gt;=7.0

1.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ebab1abeb721b1defe24bb262b493fb99008d1df921583fdd71290de243c823?d=identicon)[grgk](/maintainers/grgk)

---

Top Contributors

[![grgk](https://avatars.githubusercontent.com/u/5950586?v=4)](https://github.com/grgk "grgk (72 commits)")[![DaveChild](https://avatars.githubusercontent.com/u/53308?v=4)](https://github.com/DaveChild "DaveChild (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grgk-seo-analyzer/health.svg)

```
[![Health](https://phpackages.com/badges/grgk-seo-analyzer/health.svg)](https://phpackages.com/packages/grgk-seo-analyzer)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
