PHPackages                             salamwaddah/ok - 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. salamwaddah/ok

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

salamwaddah/ok
==============

ok

1.0.0(3y ago)4933[1 issues](https://github.com/salamwaddah/ok/issues)MITPHPPHP &gt;=8.1

Since Feb 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/salamwaddah/ok)[ Packagist](https://packagist.org/packages/salamwaddah/ok)[ RSS](/packages/salamwaddah-ok/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

PHP Ok
======

[](#php-ok)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2b6c7fa8472554484a68f2eae44e4f3677f8d34758a5fc3fc5aa577a8cd3c1c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616c616d7761646461682f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salamwaddah/ok)[![Total Downloads](https://camo.githubusercontent.com/61d15ae98ed80948d6703aa29d29f25421dc9bc9796f95775ff786a6d97181ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616c616d7761646461682f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salamwaddah/ok)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Installation
------------

[](#installation)

```
composer require salamwaddah/ok
```

Usage
-----

[](#usage)

```
// directly using constant
$ok = Ok::OK; // returns 'ok'

// using method
$ok = new Ok();
$ok = $ok->ok(); // returns 'ok'
```

Tests
-----

[](#tests)

> vendor/bin/phpunit

License
-------

[](#license)

The PHP Ok is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

2

Last Release

1247d ago

Major Versions

0.0.0 → 1.0.02023-02-01

### Community

Maintainers

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

---

Top Contributors

[![salamwaddah](https://avatars.githubusercontent.com/u/26627088?v=4)](https://github.com/salamwaddah "salamwaddah (10 commits)")

---

Tags

OK

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/salamwaddah-ok/health.svg)

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

PHPackages © 2026

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