PHPackages                             vdaguenet/one-page-seo - 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. vdaguenet/one-page-seo

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

vdaguenet/one-page-seo
======================

Serve static content of a one-page website to crawlers (e.g. Facebook, Google or Twitter) using PhantomJS

v1.0(10y ago)7461MITPHPPHP &gt;=5.0.0

Since Jul 20Pushed 10y ago1 watchersCompare

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

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

One Page SEO
============

[](#one-page-seo)

Serve static content of a one-page website to crawlers.

Installation
============

[](#installation)

Via Composer
------------

[](#via-composer)

```
composer require vdaguenet/one-page-seo

```

Usage
=====

[](#usage)

Add the following line on top of your `index.php`

```
include_once __DIR__ . '/OnePage-SEO/BotDetector.php';

$detector = new BotDetector();
$detector->setServerOS($detector::LINUX);
if($detector->isBot()) {
    $detector->displayStaticContent();
}
```

In your javascript, add the following line when you are sure **your content is appended**

```
if(typeof window.callPhantom === 'function') window.callPhantom();
```

What is included ?
==================

[](#what-is-included-)

PhantomJS:

- for mac in version 2.0.0
- for linux in version 1.9.8

You can download other build from [official reposiory](https://bitbucket.org/ariya/phantomjs/downloads)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3949d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf1b73c46f8dfc900259d089aed55e7a502bdc567e98dc3921fb0c17fdc0a955?d=identicon)[vdaguenet](/maintainers/vdaguenet)

---

Tags

crawlerbotseophantomjsone page

### Embed Badge

![Health badge](/badges/vdaguenet-one-page-seo/health.svg)

```
[![Health](https://phpackages.com/badges/vdaguenet-one-page-seo/health.svg)](https://phpackages.com/packages/vdaguenet-one-page-seo)
```

###  Alternatives

[jaybizzle/crawler-detect

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent

2.3k96.7M215](/packages/jaybizzle-crawler-detect)[artesaos/seotools

SEO Tools for Laravel and Lumen

3.3k5.1M60](/packages/artesaos-seotools)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

155.8k](/packages/friends-of-hyva-magento2-crawler-session)

PHPackages © 2026

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