PHPackages                             blackcattools/yii2-base - 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. blackcattools/yii2-base

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

blackcattools/yii2-base
=======================

The Imagine integration for the Yii framework

1.0.4(7y ago)08BSD-3-ClausePHPPHP &gt;=5.3.0

Since Dec 20Pushed 7y agoCompare

[ Source](https://github.com/blackcattools/yii2-base)[ Packagist](https://packagist.org/packages/blackcattools/yii2-base)[ RSS](/packages/blackcattools-yii2-base/feed)WikiDiscussions master Synced 2mo ago

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

BlackCatTools/Yii2-Basic
========================

[](#blackcattoolsyii2-basic)

This project contains basic extensions for the Yii2 framework.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist blackcattools/yii2-base

```

```
composer require --prefer-dist blackcattools/yii2-base

```

or add

```
"blackcattools/yii2-base": "~1.0.4"
```

to the `require` section of your composer.json.

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

[](#basic-usage)

The following example shows how to use this extension:

```
use blackcattools\base\Bit;

$value = 10;   //bits 1 and 3 active

Bit::test(1,$value); //return true
Bit::test(0,$value); //return false
Bit::test(3,$value); //return true
Bit::test(9,$value); //return false
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

5

Last Release

2696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03db3a36ebd4774dbb864581dd5dd9aed7dca8986d0c17cabdcb108afed6be3c?d=identicon)[blackcattools](/maintainers/blackcattools)

---

Top Contributors

[![blackcattools](https://avatars.githubusercontent.com/u/46030481?v=4)](https://github.com/blackcattools "blackcattools (9 commits)")

---

Tags

helperyii2

### Embed Badge

![Health badge](/badges/blackcattools-yii2-base/health.svg)

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

PHPackages © 2026

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