PHPackages                             bcolucci/type - 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. bcolucci/type

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bcolucci/type
=============

Provides very simple classes to abstract some primitive PHP types.

1.2.0(11y ago)220.1k1[1 PRs](https://github.com/bcolucci/type/pulls)MITPHP

Since Apr 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/bcolucci/type)[ Packagist](https://packagist.org/packages/bcolucci/type)[ RSS](/packages/bcolucci-type/feed)WikiDiscussions master Synced 3d ago

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

Type
====

[](#type)

Provides very simple classes to abstract some primitive PHP types. It will help you in order to validate your parameters. Of course, if you have SplType classes, you should use it.

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

[](#installation)

To install the package using \[composer\] (), you just need to add the following lines to your `composer.json` file.

```
...
"require": {
    "bcolucci/type": "~1.2"
}
...

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~162 days

Total

2

Last Release

4263d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e899b1d1a0434de2d1e7008dbd5b6ec145cb7c7688a4b30d53bafea50a0c77f6?d=identicon)[bcolucci](/maintainers/bcolucci)

---

Top Contributors

[![yvoyer](https://avatars.githubusercontent.com/u/1745744?v=4)](https://github.com/yvoyer "yvoyer (4 commits)")[![bcolucci](https://avatars.githubusercontent.com/u/5520037?v=4)](https://github.com/bcolucci "bcolucci (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bcolucci-type/health.svg)

```
[![Health](https://phpackages.com/badges/bcolucci-type/health.svg)](https://phpackages.com/packages/bcolucci-type)
```

###  Alternatives

[nwidart/laravel-menus

Laravel Menu management

168180.3k10](/packages/nwidart-laravel-menus)[imanghafoori/laravel-decorator

A package to easily decorate your function calls.

13913.0k](/packages/imanghafoori-laravel-decorator)

PHPackages © 2026

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