PHPackages                             vkovic/laravel-custom-casts - 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. [Database &amp; ORM](/categories/database)
4. /
5. vkovic/laravel-custom-casts

ActiveLibrary[Database &amp; ORM](/categories/database)

vkovic/laravel-custom-casts
===========================

Make your own custom cast type for Laravel model attributes

v1.4(5y ago)218362.7k↑15.6%3MITPHP ^7.1|^8.0

Since Dec 5Compare

[ Source](https://github.com/vkovic/laravel-custom-casts)[ Packagist](https://packagist.org/packages/vkovic/laravel-custom-casts)[ RSS](/packages/vkovic-laravel-custom-casts/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (16)Used By (3)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/vkovic/laravel-custom-casts).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community7

Small or concentrated contributor base

Maturity74

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

Recently: every ~140 days

Total

15

Last Release

1855d ago

PHP version history (3 changes)v1.0.0PHP ^7.0

v1.0.2PHP ^7.1

v1.3.1PHP ^7.1|^8.0

### Community

Maintainers

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

---

Tags

laravelmodelcastdatatypecasts

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vkovic-laravel-custom-casts/health.svg)

```
[![Health](https://phpackages.com/badges/vkovic-laravel-custom-casts/health.svg)](https://phpackages.com/packages/vkovic-laravel-custom-casts)
```

###  Alternatives

[wendelladriel/laravel-lift

Take your Eloquent Models to the next level

70046.8k](/packages/wendelladriel-laravel-lift)[esensi/model

The base model traits of Esensi

20266.5k1](/packages/esensi-model)[shiftonelabs/laravel-cascade-deletes

Adds application level cascading deletes to Eloquent Models.

163632.1k2](/packages/shiftonelabs-laravel-cascade-deletes)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[renoki-co/laravel-useful-casts

Laravel Useful Casts is a simple package for Laravel 7.0+ that comes with already-tested and already-written, useful casts for Eloquent models.

103.6k1](/packages/renoki-co-laravel-useful-casts)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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