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

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

sukohi/custom-cast
==================

A Laravel package for custom casts.

1.0.2(8y ago)124PHP

Since Jul 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/CustomCast)[ Packagist](https://packagist.org/packages/sukohi/custom-cast)[ RSS](/packages/sukohi-custom-cast/feed)WikiDiscussions master Synced 2mo ago

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

CustomCast
==========

[](#customcast)

A Laravel package for custom casts.

Installation
============

[](#installation)

Execute composer command.

```
composer require sukohi/custom-cast:1.*

```

Preparation
===========

[](#preparation)

**Simple Way**

In your model, set `CustomCastTrait` and add `$casts` as usual.

```
