PHPackages                             aitor/seobiro - 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. [Search &amp; Filtering](/categories/search)
4. /
5. aitor/seobiro

ActiveLibrary[Search &amp; Filtering](/categories/search)

aitor/seobiro
=============

Natural language processing applied to search engine optimization

03PHP

Since Jun 2Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Seobiro
=======

[](#seobiro)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c76140d56f50b96f28fbba6d2e5079e8813514f5ae8bdcb9568e79acb7387be6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6169746f722f73656f6269726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aitor/seobiro)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/8d2b48162b0ec8c35502afb11c11ca90c9ba94967f07c09007185f00c740b229/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6169746f722f73656f6269726f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aitor/seobiro)

Natural language processing applied to search engine optimization

### Dataforseo (Get urls for keyword in Google)

[](#dataforseo-get-urls-for-keyword-in-google)

```
$dataforseo = new \aitor\seobiro\Dataforseo({EMAIL},{KEY});
$results = $dataforseo->get_organic_results("aitor rodriguez");
```

### Google Cloud (NLP)

[](#google-cloud-nlp)

```
// No need to initiate, just place the key.json in the main directory.
```

### Usage

[](#usage)

```
$seobiro = new \aitor\seobiro\Seobiro();
```

### Get url contents

[](#get-url-contents)

```
$url = "https://aitor.me";
$content = $seobiro->getUrl($url);
```

### Get plain\_text from content object

[](#get-plain_text-from-content-object)

```
$text = $seobiro->getText($content);
```

### Get language from plain\_text

[](#get-language-from-plain_text)

```
$language = $seobiro->getLanguage($text);
```

### Get Tokens from plain\_text

[](#get-tokens-from-plain_text)

```
$tokens = $seobiro->getTokens($text);
```

### Get Normalized Tokens

[](#get-normalized-tokens)

```
$normalized = $seobiro->getNormalizedTokens($tokens);
```

### Get Stemmed Tokens

[](#get-stemmed-tokens)

```
  $tokens = $seobiro->getStemmedTokens($tokens);
```

### Remove Stopwords from token list

[](#remove-stopwords-from-token-list)

```
$seobiro->removeStopWords($normalized,$language);
```

### Get Frequency Distribution from tokens

[](#get-frequency-distribution-from-tokens)

```
$frequency = $seobiro->getFrequencyDistribution($normalized)
$frequency->getKeyValuesByWeight();
```

### Get Meta Description from content

[](#get-meta-description-from-content)

```
$description = $seobiro->getDescription($content);
```

### Get Meta Title from content

[](#get-meta-title-from-content)

```
$title = $seobiro->getTitle($content);
```

### Get Headers (h1-h6) from content

[](#get-headers-h1-h6-from-content)

```
$headers = $seobiro->getHeaders($content);
```

### Get Google Cloud NLP Entities

[](#get-google-cloud-nlp-entities)

```
$GoogleEntities = $seobiro->getGoogleEntities($text);
```

### Get Google Cloud NLP Sentiment

[](#get-google-cloud-nlp-sentiment)

```
$GoogleSentiment = $seobiro->getGoogleSentiment($text);
```

Structure
---------

[](#structure)

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

```
src/
example/

```

Install
-------

[](#install)

Via Composer

```
$ composer require aitor/seobiro
```

Security
--------

[](#security)

If you discover any security related issues, please email soy\[at\]aitor.me instead of using the issue tracker.

Credits
-------

[](#credits)

- [Aitor Rodríguez](https://aitor.me)

License
-------

[](#license)

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![rodriguezaitor](https://avatars.githubusercontent.com/u/17187319?v=4)](https://github.com/rodriguezaitor "rodriguezaitor (31 commits)")

---

Tags

nlpseo

### Embed Badge

![Health badge](/badges/aitor-seobiro/health.svg)

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

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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