PHPackages                             aggregable/yii-db-typecast - 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. aggregable/yii-db-typecast

ActiveYii-component[Utility &amp; Helpers](/categories/utility)

aggregable/yii-db-typecast
==========================

Improve Yii DB typecast

0.1.4(11y ago)4195BSD-3-ClausePHPPHP &gt;=5.4.0

Since Oct 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/aggregable/yii-db-typecast)[ Packagist](https://packagist.org/packages/aggregable/yii-db-typecast)[ RSS](/packages/aggregable-yii-db-typecast/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

yii-db-typecast
===============

[](#yii-db-typecast)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist aggregable/yii-db-typecast "@dev"

```

or add

```
"aggregable/yii-db-typecast": "@dev"

```

to the require section of your composer.json.

Component configuration
-----------------------

[](#component-configuration)

```
'components' => [
	'db' => [
		'driverMap' => ['mysql' => '\aggregable\yiidbtypecast\components\MySqlSchema'],
	],
	...
],

```

ActiveRecord models configuration
---------------------------------

[](#activerecord-models-configuration)

```
/**
 * @inheritdoc
 */
public function behaviors() {
	return array_merge(parent::behaviors(), [
		'typecast' => [
			'class' => '\aggregable\yiidbtypecast\components\ActiveRecordTypecastBehavior',
		]
	]);
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4175d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/719474f20988d23f113dd931acde6867fb0cd3afcee7e441973aac2f3fd4e41e?d=identicon)[r.royik](/maintainers/r.royik)

---

Top Contributors

[![rroik](https://avatars.githubusercontent.com/u/1122027?v=4)](https://github.com/rroik "rroik (17 commits)")

---

Tags

dbyiitypecast

### Embed Badge

![Health badge](/badges/aggregable-yii-db-typecast/health.svg)

```
[![Health](https://phpackages.com/badges/aggregable-yii-db-typecast/health.svg)](https://phpackages.com/packages/aggregable-yii-db-typecast)
```

###  Alternatives

[romka-chev/yii2-swiper

Yii2 extension for Swiper slider

1840.6k](/packages/romka-chev-yii2-swiper)[raoul2000/yii-simple-workflow

A simple workflow engine for Yii 1

278.2k](/packages/raoul2000-yii-simple-workflow)

PHPackages © 2026

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