PHPackages                             jascree/try-cast - 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. jascree/try-cast

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

jascree/try-cast
================

Safe type coercion for PHP – returns null on failure, no exceptions, no dependencies.

1.0.0(3w ago)010↓100%MITPHP &gt;=8.1

Since May 18Compare

[ Source](https://github.com/jascree/try-cast)[ Packagist](https://packagist.org/packages/jascree/try-cast)[ RSS](/packages/jascree-try-cast/feed)WikiDiscussions Synced 1w ago

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

### README not available

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

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance95

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

22d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53c6b5fe8eb4f26d75a8fedefbf5b892f8ae415da4ff1cbe4e034d67987f2f15?d=identicon)[jascree](/maintainers/jascree)

---

Tags

normalizecoerce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jascree-try-cast/health.svg)

```
[![Health](https://phpackages.com/badges/jascree-try-cast/health.svg)](https://phpackages.com/packages/jascree-try-cast)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k40.0M2.6k](/packages/ergebnis-composer-normalize)

PHPackages © 2026

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