PHPackages                             kdaviesnz/seooptimize - 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. kdaviesnz/seooptimize

ActiveComponent

kdaviesnz/seooptimize
=====================

SEO optimizer

0.0.1(8y ago)018MITPHPPHP ~7.0

Since Oct 19Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

SEO Optimize
============

[](#seo-optimize)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e47b5fd9742cd16674bc5afeaa5b2f8bbeaffeefff552eff13cdeb1468536d2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor/:package_name)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/cb11179311e640818ab161382ab46616c3056e3374c94f90fdc6d06a309cf73b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f3a76656e646f722f3a7061636b6167655f6e616d652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/:vendor/:package_name)[![Coverage Status](https://camo.githubusercontent.com/77bd9748066a4737af2be4a15b71865967905bfc6aa38aabed0996acb7fb2bbb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/:vendor/:package_name/code-structure)[![Quality Score](https://camo.githubusercontent.com/5ea237d9c7d6af5499007b76e317965f8bdfa4596fd71c22cd7fe2cb818594cc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/:vendor/:package_name)[![Total Downloads](https://camo.githubusercontent.com/2e7d96ffc3c5f08e269c45f38de91ce489968312df30848d817105c5ada0d9cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor/:package_name)

**Note:** Replace `:author_name` `:author_username` `:author_website` `:author_email` `:vendor` `:package_name` `:package_description` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line. You can run `$ php prefill.php` in the command line to make all replacements at once. Delete the file prefill.php as well.

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practises by being named the following.

```
bin/
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require kdaviesnz/seooptimize
```

Usage
-----

[](#usage)

```
$content = "hello world";

        $localized = \kdaviesnz\seooptimize\SEOOptimize::localize_title(
            array(
                'city'=>'Auckland',
                'country'=>'New Zealand',
                'region'=>'Oceania'

            ),
            $content
        );

        $content = \kdaviesnz\seooptimize\SEOOptimize::optimize_content_for_search_engines($content);
        $content = \kdaviesnz\seooptimize\SEOOptimize::remove_stopwords($content);

        $keywords = array( 'some' );

        $bold = \kdaviesnz\seooptimize\SEOOptimize::boldKeywordsCallback( $keywords );
        $italicise = \kdaviesnz\seooptimize\SEOOptimize::italiciseKeywordsCallback( $keywords );

        $content = \kdaviesnz\seooptimize\SEOOptimize::processContent( $content, array( $bold, $italicise ) );

        var_dump($content);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email :author\_email instead of using the issue tracker.

Credits
-------

[](#credits)

- [:author\_name](https://github.com/:author_username)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

seooptimize
===========

[](#seooptimize)

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b63930ad10271ff6fe9e1ce3446ebc46b67edda7afc70fd09a3970f55215617?d=identicon)[kdaviesnz](/maintainers/kdaviesnz)

---

Top Contributors

[![kdaviesnz](https://avatars.githubusercontent.com/u/2062483?v=4)](https://github.com/kdaviesnz "kdaviesnz (3 commits)")

---

Tags

keywordsseo

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kdaviesnz-seooptimize/health.svg)

```
[![Health](https://phpackages.com/badges/kdaviesnz-seooptimize/health.svg)](https://phpackages.com/packages/kdaviesnz-seooptimize)
```

###  Alternatives

[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

332467.0k4](/packages/arcanedev-seo-helper)[kphoen/sitemap-bundle

Provides a way to create/generate a sitemap using Doctrine, etc.

2444.8k](/packages/kphoen-sitemap-bundle)[amirax/yii2-seo-tools

SEO tools for Yii 2 framework

131.1k](/packages/amirax-yii2-seo-tools)

PHPackages © 2026

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