PHPackages                             ajf/newtype - 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. ajf/newtype

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

ajf/newtype
===========

A handy function for creating opaque types

v1.0.3(8y ago)1923LGPL-3.0-or-laterPHP &gt;=7.0.0

Since Nov 10Compare

[ Source](https://github.com/TazeTSchnitzel/newType)[ Packagist](https://packagist.org/packages/ajf/newtype)[ Docs](http://github.com/TazeTSchnitzel/newType)[ RSS](/packages/ajf-newtype/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/TazeTSchnitzel/newType).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3032d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/724611fb49c94fab145b2965f6014caae9bee4620227fe1bdf3a4e353a0f23a9?d=identicon)[ajf](/maintainers/ajf)

---

Tags

PHP7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ajf-newtype/health.svg)

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

###  Alternatives

[qaribou/immutable.php

Immutable, highly-performant collections, well-suited for functional programming and memory-intensive applications.

344146.0k](/packages/qaribou-immutablephp)[sunrise/vin

VIN decoder for PHP 7.1+ based on ISO-3779

83127.0k](/packages/sunrise-vin)[dstuecken/php7ify

php7ify is a project that brings new php7 classes and exceptions to php 5.x.

11157.7k1](/packages/dstuecken-php7ify)[phpmath/biginteger

A PHP library to work with big integers.

235.8k1](/packages/phpmath-biginteger)[sunrise/slugger

Slugger for PHP 7.1+ based on ICU

108.3k](/packages/sunrise-slugger)

PHPackages © 2026

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