blackcattools / yii2-base
The Imagine integration for the Yii framework
Package info
github.com/blackcattools/yii2-base
Type:yii2-extension
pkg:composer/blackcattools/yii2-base
1.0.4
2018-12-21 17:36 UTC
Requires
- php: >=5.3.0
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2026-03-08 19:40:00 UTC
README
This project contains basic extensions for the Yii2 framework.
Installation
The preferred way to install this extension is through composer.
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
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