blackcattools / yii2-base
The Imagine integration for the Yii framework
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.3.0
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2025-05-04 15:44:53 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