PHPackages                             breadtf/johnlib - 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. breadtf/johnlib

ActiveLibrary

breadtf/johnlib
===============

johnvertisment php library

v1.0.1(2y ago)13[1 issues](https://github.com/breadtf/johnlib/issues)PHP

Since Mar 4Pushed 2y ago2 watchersCompare

[ Source](https://github.com/breadtf/johnlib)[ Packagist](https://packagist.org/packages/breadtf/johnlib)[ RSS](/packages/breadtf-johnlib/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

johnlib
=======

[](#johnlib)

> a change in reality occurred in the 203rd decade in which "marketing" via "john" began to exist. this was retroactively neologized into "johnvertisement".
>
> what's different about johnvertisement is that instead of harvesting the soul of those involved via crude and invasive strategies, it is done remotely and automatically. as such, no monetary exchanges occur in the process of johnvertisement; the value gained by soul extraction covers all relevant costs.
>
> johnvertisement is now in use by a certain number of people and is an X billion dollar industry, where X is a real number within the range 0-65535. there is a wide variety of johnvertisements in existence.
>
> the identity of john has been discovered. it is confidential information.

[johnvertisment homepage](https://john.citrons.xyz/)

johnlib is an "api" for johnvertisments that allows for more johnvertisment customizability.

note:

johnlib requires PHP DOM. it can be installed wtih `apt install php8.X-xml`. it is included by default on windows, but must be enabled in your php.ini.

installation:

run `composer require breadtf/johnlib` to install johnlib. you can also directly download `johnlib.php` and manually `require_once` it into your project

usage:

```
// Create the psychic link to john
require_once 'vendor/autoload.php';
$john = new \breadtf\johnlib\johnlib();

// Summon a new johnvertisment from the all-powerful john himself
echo $john->generateJohn("example.com");

```

to get the raw john data, use the `getJohn` function instead:

```
print_r($john->getJohn("example.com"));
// Array
// (
//     [image] => "https://john.citrons.xyz/static/abc/xyz"
//     [url] => "http://example.com"
// )

```

here is an example for using the `getJohn` output:

```
$johnData = $john->getJohn("example.com");

echo " John URL is: " . $johnData["url"] . "";
echo "";

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90eb3029fbe76414a309210fb8780269ec3059d31058e82501a25cac0bf2df3a?d=identicon)[breadtf](/maintainers/breadtf)

---

Top Contributors

[![breadtf](https://avatars.githubusercontent.com/u/103989916?v=4)](https://github.com/breadtf "breadtf (8 commits)")

### Embed Badge

![Health badge](/badges/breadtf-johnlib/health.svg)

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

PHPackages © 2026

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