PHPackages                             cottacush/yii2-utils - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. cottacush/yii2-utils

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cottacush/yii2-utils
====================

Yii2 utils provides various utility classes and helpers that are compatible with the Yii2 framework

v3.1.0(2y ago)34.3k1MITPHPPHP &gt;=8.0CI failing

Since Jul 20Pushed 2y ago7 watchersCompare

[ Source](https://github.com/CottaCush/yii2-utils)[ Packagist](https://packagist.org/packages/cottacush/yii2-utils)[ Docs](https://github.com/cottacush/yii2-utils)[ RSS](/packages/cottacush-yii2-utils/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (10)Versions (45)Used By (1)

Yii2 Utils
==========

[](#yii2-utils)

[![Latest Version on Packagist](https://camo.githubusercontent.com/762ca80a338af464299e84622b0c4d18164399c821cb45a0e9799b7994efb6a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f747461637573682f796969322d7574696c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-utils)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/c2e30f222f4bc984210ac0c14b113448e62fa698e44e36050eb2c4b8eacd5d82/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f436f747461437573682f796969322d7574696c732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/CottaCush/yii2-utils)[![Coverage Status](https://camo.githubusercontent.com/73cb39e270da8acf567711440bdb896be412d48981950fccc262f9927f4509b6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f436f747461437573682f796969322d7574696c732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/CottaCush/yii2-utils?branch=master)[![Total Downloads](https://camo.githubusercontent.com/99b3eb2acc8352023c1fccc4bb6e2839db0ea7c431ba7fc352253578a308ac02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f747461637573682f796969322d7574696c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-utils)

Yii2 utils provides various utility classes and helpers needed compatible with the Yii2 framework

This package is compliant with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

Install
-------

[](#install)

Via Composer

```
$ composer require cottacush/yii2-utils
```

Requirements
------------

[](#requirements)

The following versions of PHP are supported by this version.

- PHP 8.0

Features
--------

[](#features)

The following are available:

- HttpClient
- Oauth2Client
- HttpResponse
- Date Utils
- HttpResponse
- Text Utils
- BaseController
- BaseModel
- Actions

Todo
----

[](#todo)

- Add Adapters

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Adegoke Obasa](https://github.com/goke-epapa)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~87 days

Recently: every ~538 days

Total

31

Last Release

1008d ago

Major Versions

1.16.0 → 2.0.02017-07-06

2.1.0 → 3.0.02021-02-20

PHP version history (4 changes)1.0.0PHP ~5.5

1.7.0PHP ~5.5|~7.0

3.0.0PHP ~8.0

v3.1.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18262744?v=4)[Cotta &amp; Cush Limited](/maintainers/cottacush)[@CottaCush](https://github.com/CottaCush)

![](https://avatars.githubusercontent.com/u/4976201?v=4)[Goke Obasa](/maintainers/goke-epapa)[@goke-epapa](https://github.com/goke-epapa)

---

Top Contributors

[![adaugochi](https://avatars.githubusercontent.com/u/43061141?v=4)](https://github.com/adaugochi "adaugochi (33 commits)")[![yemexx1](https://avatars.githubusercontent.com/u/2228873?v=4)](https://github.com/yemexx1 "yemexx1 (16 commits)")[![goke-epapa](https://avatars.githubusercontent.com/u/4976201?v=4)](https://github.com/goke-epapa "goke-epapa (12 commits)")[![tga-git](https://avatars.githubusercontent.com/u/19533527?v=4)](https://github.com/tga-git "tga-git (5 commits)")[![taiwo-ladipo](https://avatars.githubusercontent.com/u/11852338?v=4)](https://github.com/taiwo-ladipo "taiwo-ladipo (4 commits)")[![kenny-wealth](https://avatars.githubusercontent.com/u/11851535?v=4)](https://github.com/kenny-wealth "kenny-wealth (4 commits)")[![davidadediji](https://avatars.githubusercontent.com/u/61955081?v=4)](https://github.com/davidadediji "davidadediji (2 commits)")[![netwox](https://avatars.githubusercontent.com/u/1388202?v=4)](https://github.com/netwox "netwox (2 commits)")[![olajideoye](https://avatars.githubusercontent.com/u/4760391?v=4)](https://github.com/olajideoye "olajideoye (1 commits)")[![otaruMendez](https://avatars.githubusercontent.com/u/5216020?v=4)](https://github.com/otaruMendez "otaruMendez (1 commits)")[![koffy1](https://avatars.githubusercontent.com/u/38890716?v=4)](https://github.com/koffy1 "koffy1 (1 commits)")[![forevertga](https://avatars.githubusercontent.com/u/9316240?v=4)](https://github.com/forevertga "forevertga (1 commits)")[![beccadaniel](https://avatars.githubusercontent.com/u/19220215?v=4)](https://github.com/beccadaniel "beccadaniel (1 commits)")

---

Tags

httphelpersyii2utilsadapterscottacush

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cottacush-yii2-utils/health.svg)

```
[![Health](https://phpackages.com/badges/cottacush-yii2-utils/health.svg)](https://phpackages.com/packages/cottacush-yii2-utils)
```

###  Alternatives

[jbzoo/utils

Collection of PHP functions, mini classes and snippets for everyday developer's routine life.

8161.6M36](/packages/jbzoo-utils)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k16](/packages/solspace-craft-freeform)

PHPackages © 2026

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