PHPackages                             imj/yaf-request - 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. imj/yaf-request

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

imj/yaf-request
===============

Yaf request class encapsulation

v1.0.2(10y ago)031MITPHPPHP &gt;=5.3.0

Since Jun 21Pushed 10y agoCompare

[ Source](https://github.com/itsmikej/Yaf-request)[ Packagist](https://packagist.org/packages/imj/yaf-request)[ RSS](/packages/imj-yaf-request/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (4)Used By (0)

Yaf request class encapsulation
===============================

[](#yaf-request-class-encapsulation)

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

[](#installation)

`imj/yaf-request` dependent on [imj/filter](https://github.com/itsmikej/Filter)

```
composer require imj/yaf-request
```

Basic Usage
-----------

[](#basic-usage)

```
use Imj\Filter;
use Imj\YafRequest;

$request = new YafRequest();
$foo = $request->get('foo', Filter::STRING_TYPE);
$bar = $request->post('bar', Filter::INT_TYPE, ['min'=>1]);
$baz = $request->request('baz', Filter::STRING_TYPE);
$fbb = $request->cookie('fbb', Filter::STRING_TYPE);
```

License
-------

[](#license)

licensed under the MIT License - see the `LICENSE` file for details

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

3

Last Release

3661d ago

### Community

Maintainers

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

---

Top Contributors

[![yanglgtm](https://avatars.githubusercontent.com/u/2657476?v=4)](https://github.com/yanglgtm "yanglgtm (3 commits)")

---

Tags

requestyaf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imj-yaf-request/health.svg)

```
[![Health](https://phpackages.com/badges/imj-yaf-request/health.svg)](https://phpackages.com/packages/imj-yaf-request)
```

###  Alternatives

[lionix/castable-request

Laravel castable requests

2393.0k](/packages/lionix-castable-request)

PHPackages © 2026

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