PHPackages                             jkol/onepage - 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. jkol/onepage

ActiveLibrary

jkol/onepage
============

014PHP

Since Apr 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/JKooll/onepage)[ Packagist](https://packagist.org/packages/jkol/onepage)[ RSS](/packages/jkol-onepage/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

One Page

[](#one-page)

About One Page
--------------

[](#about-one-page)

The is a PHP helper functions library.

Usage
-----

[](#usage)

### dd($var)

[](#ddvar)

```
$var = 'Hello World!';
o::dd($var); //string(12) "Hello World!"
```

strdiff($str1, $str2)
---------------------

[](#strdiffstr1-str2)

message($msg = '')
------------------

[](#messagemsg--)

strtolowerplus($var)
--------------------

[](#strtolowerplusvar)

strfilter($str)
---------------

[](#strfilterstr)

helloWorld()
------------

[](#helloworld)

cli\_read($format, $first = false)
----------------------------------

[](#cli_readformat-first--false)

cli\_write($str)
----------------

[](#cli_writestr)

toString($var)
--------------

[](#tostringvar)

swap($var1, $var2)
------------------

[](#swapvar1-var2)

splitNum($num)
--------------

[](#splitnumnum)

function\_dump($funcname)
-------------------------

[](#function_dumpfuncname)

```
function a() {}

class b
{
    public function f()
    {

    }
}

o::function_dump('a');

o::function_dump(array('b', 'f'));

$b = new b();
o::function_dump(array($b, 'f'));
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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/0446ddb02ae464f9fd35b92506a1fa3867cb3e3488ec63866e9afc9920059902?d=identicon)[JKooll](/maintainers/JKooll)

---

Top Contributors

[![JKooll](https://avatars.githubusercontent.com/u/10582881?v=4)](https://github.com/JKooll "JKooll (24 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/jkol-onepage/health.svg)

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

PHPackages © 2026

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