Libraries tagged by cast

based/laravel-fluent

558 Favers
13277 Downloads

Define model attributes the fluent way. Automatically cast properties to native types.

Go to Download


sfneal/casts

0 Favers
59555 Downloads

An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes

Go to Download


setbased/helper-cast

0 Favers
28844 Downloads

Safely cast mixed values to bool, float, int, or string

Go to Download


redcrystal/cast

23 Favers
22673 Downloads

Laravel Value Objects: Cast your Eloquent model attributes to value objects with ease!

Go to Download


shin1x1/safe-cast

0 Favers
4530 Downloads

Go to Download


rawilk/laravel-casters

6 Favers
4993 Downloads

A collection of custom casts for Laravel.

Go to Download


pyrech/castor-example

0 Favers
24998 Downloads

Go to Download


lphilippo/laravel-castable-form-request

8 Favers
21901 Downloads

Laravel/Lumen package to add Eloquent-like casts to Form Requests.

Go to Download


jelix/castor

0 Favers
78876 Downloads

A template engine using a simple syntax

Go to Download


dgame/php-cast

2 Favers
6757 Downloads

Go to Download


calmohallag/nullable-casting

1 Favers
10139 Downloads

PHP supports expression casting to primitive type (like int) by using “( type ) expression”, but it currently doesn't allow to use a nullable type as introduced by PHP 7.1 (e.g. ?int). This library provide functions that extend native php casting, adding nullable casting.

Go to Download


bbprojectnet/laravel-casts

0 Favers
1413 Downloads

Additional casts classes for Laravel.

Go to Download


tailflow/castable-dto

8 Favers
29160 Downloads

Automatically cast JSON columns to PHP objects in Laravel using Spatie's data-transfer-object class

Go to Download


simplon/helper

2 Favers
98692 Downloads

Helpers for recurring requirements

Go to Download


qtlenh/laravel-strict-validator

4 Favers
2097 Downloads

Add type constraints and coerce input types during validation

Go to Download


<< Previous Next >>