PHPackages                             plaisio-ts/helper-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. plaisio-ts/helper-cast

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

plaisio-ts/helper-cast
======================

PhpPlaisio (TypeScript): Safely cast mixed values to bool, number (float or integer), or string

2.1.0(3y ago)01.7k6MITTypeScript

Since Aug 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TsPlaisio/helper-cast)[ Packagist](https://packagist.org/packages/plaisio-ts/helper-cast)[ RSS](/packages/plaisio-ts-helper-cast/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (6)

PhpPlaisio (TypeScript): Helper-Cast
====================================

[](#phpplaisio-typescript-helper-cast)

SocialLegalRelease[![Gitter](https://camo.githubusercontent.com/71b6108b6b9c2778e6fe282466c0ec41925c4ebdf3f2198f0d97bddb31949f6f/68747470733a2f2f6261646765732e6769747465722e696d2f506870506c616973696f2f506870506c616973696f2e737667)](https://gitter.im/PhpPlaisio/PhpPlaisio)[![License](https://camo.githubusercontent.com/d3ee5a4cc6a6feb18c713425cc208b2f19773b69d5779f860ac7348c8301d0ef/68747470733a2f2f706f7365722e707567782e6f72672f706c616973696f2d74732f68656c7065722d636173742f6c6963656e7365)](https://packagist.org/packages/plaisio-ts/helper-cast)[![Latest Stable Version](https://camo.githubusercontent.com/660a15c884cadf055bfb893e7fc73a7989c3fade6673e3f2b02af5a6255d14b3/68747470733a2f2f706f7365722e707567782e6f72672f706c616973696f2d74732f68656c7065722d636173742f762f737461626c65)](https://packagist.org/packages/plaisio-ts/helper-cast)
This package contains the TypeScript helper-cast of PhpPlaisio.

Install
-------

[](#install)

```
composer require plaisio-ts/helper-cast
```

License
-------

[](#license)

This project is licensed under the MIT license.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

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

Total

5

Last Release

1190d ago

Major Versions

1.0.3 → 2.0.02022-10-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/67edc824131704a5270570c8bba7fc52986f3e70a0389aca6b13ea87ca4d9710?d=identicon)[Paul Water](/maintainers/Paul%20Water)

---

Top Contributors

[![prwater](https://avatars.githubusercontent.com/u/17372665?v=4)](https://github.com/prwater "prwater (22 commits)")

---

Tags

PhpPlaisioCast Safely

### Embed Badge

![Health badge](/badges/plaisio-ts-helper-cast/health.svg)

```
[![Health](https://phpackages.com/badges/plaisio-ts-helper-cast/health.svg)](https://phpackages.com/packages/plaisio-ts-helper-cast)
```

PHPackages © 2026

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