PHPackages                             aeviiq/safe-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. aeviiq/safe-cast

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

aeviiq/safe-cast
================

A library that provides a secure way to cast variables in PHP.

v0.2(4y ago)25.2k1[3 issues](https://github.com/aeviiq/safe-cast/issues)1MITPHPPHP ^7.2 || ^8.0

Since Oct 12Pushed 4y ago2 watchersCompare

[ Source](https://github.com/aeviiq/safe-cast)[ Packagist](https://packagist.org/packages/aeviiq/safe-cast)[ Docs](https://github.com/aeviiq/safe-cast)[ RSS](/packages/aeviiq-safe-cast/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

Aeviiq Safe Cast
================

[](#aeviiq-safe-cast)

A library that provides a secure way to cast variables in PHP.

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

[](#installation)

```
composer require aeviiq/safe-cast

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

1759d ago

PHP version history (2 changes)v0.1PHP ^7.2

v0.2PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34397049?v=4)[aeviiq](/maintainers/aeviiq)[@aeviiq](https://github.com/aeviiq)

---

Top Contributors

[![aeviiq](https://avatars.githubusercontent.com/u/34397049?v=4)](https://github.com/aeviiq "aeviiq (11 commits)")

---

Tags

phpcastingcastaeviiqsafe-cast

### Embed Badge

![Health badge](/badges/aeviiq-safe-cast/health.svg)

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

###  Alternatives

[zakirullin/mess

Convenient array-related routine &amp; better type casting

21228.9k2](/packages/zakirullin-mess)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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