PHPackages                             im/primitive - 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. im/primitive

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

im/primitive
============

PHP OOP Primitive Types

v2.0.8(11y ago)103981MITPHPPHP &gt;=5.5

Since Jan 9Pushed 10y ago3 watchersCompare

[ Source](https://github.com/imkrimerman/primitive)[ Packagist](https://packagist.org/packages/im/primitive)[ RSS](/packages/im-primitive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (0)

[![Build Status](https://camo.githubusercontent.com/706bd1bb9273b1925463c1b2a8c3038c5c9014592ec4b65d16d3bbe0d1b26508/68747470733a2f2f7472617669732d63692e6f72672f696d6b72696d65726d616e2f7072696d69746976652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/imkrimerman/primitive)[![Dependency Status](https://camo.githubusercontent.com/6c14d43731d97c9823ea7bdefc4aacf16965e9111cfa8031549c93484a99919e/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534636133366163646537393234643462303030303066612f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/54ca36acde7924d4b00000fa)[![Latest Stable Version](https://camo.githubusercontent.com/3217e0d4f2b2a43d4952f846da24d581d1fe83a24f995545b86c47a1df2a842a/68747470733a2f2f706f7365722e707567782e6f72672f696d2f7072696d69746976652f762f737461626c652e737667)](https://packagist.org/packages/im/primitive)[![Latest Unstable Version](https://camo.githubusercontent.com/f04c59e079d9bc2d6b69a789021c4f4ffd8de2dd589ee3e8c2fe06802e962fb4/68747470733a2f2f706f7365722e707567782e6f72672f696d2f7072696d69746976652f762f756e737461626c652e737667)](https://packagist.org/packages/im/primitive)[![License](https://camo.githubusercontent.com/3c6c7c1a0c7a0ed96f6771664f5b423a9ef42a4d9c2c210f19716f84f9582180/68747470733a2f2f706f7365722e707567782e6f72672f696d2f7072696d69746976652f6c6963656e73652e737667)](https://packagist.org/packages/im/primitive)

\##PHP Primitive Types 2.0

\###Types for web artisans. Killer features for simplicity. - Build with Laravel in mind. - Full support of dot notation. - Great amount of cool features. - Create projects with strict typing. - Breath fresh air and relax. All is done for You.

\###Installation Add a dependency to your composer.json file, if you use [Composer](http://getcomposer.org/) to manage the dependencies of your project:

```
{
    "require": {
        "im/primitive": "2.0.*"
    }
}
```

### Contributing

[](#contributing)

**All issues and pull requests should be filed on the [im/primitive](http://github.com/imkrimerman/primitive) repository.**

### License

[](#license)

Primitives is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 99.5% 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 ~6 days

Total

10

Last Release

4089d ago

Major Versions

1.0 → 2.0.02015-02-09

PHP version history (2 changes)1.0PHP &gt;=5.5.0

2.0.0PHP &gt;=5.5

### Community

Maintainers

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

---

Top Contributors

[![imkrimerman](https://avatars.githubusercontent.com/u/8418703?v=4)](https://github.com/imkrimerman "imkrimerman (185 commits)")[![mkomigor](https://avatars.githubusercontent.com/u/813160?v=4)](https://github.com/mkomigor "mkomigor (1 commits)")

---

Tags

typelaravelarraystringobjectfloatOOPstrict-typingintobject orientedprimitivebool

### Embed Badge

![Health badge](/badges/im-primitive/health.svg)

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

###  Alternatives

[pragmarx/ia-arr

Laravel Illuminate Agnostic Arr

553.6M12](/packages/pragmarx-ia-arr)[michaldudek/foundation

A set of useful PHP classes.

13111.9k13](/packages/michaldudek-foundation)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[gowork/values

PHP primitive types value objects.

3435.2k1](/packages/gowork-values)

PHPackages © 2026

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