Libraries tagged by casting
sfneal/casts
54308 Downloads
An alternative implementation of the Eloquent Model accessors & mutators pattern for type casting attributes
rennokki/eloquent-settings
4167 Downloads
Eloquent Settings allows you to bind key-value pairs to any Laravel Eloquent model. It supports even casting for boolean, float or integer types.
mad-web/laravel-enum
135992 Downloads
Elegant Enum implementation for Laravel. With make:enum command, ability to casting for Eloquent models and labels translations via lang files.
dazet/type-utils
23003 Downloads
Type casting utils for PHP.
calmohallag/nullable-casting
6676 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.
sabbir268/laravel-filecaster
38 Downloads
A simple casting class for laravel model to handle file upload and retrieve
jasny/typecast
22823 Downloads
Type casting with basic logic
zakirullin/typed-accessor
5 Downloads
Convenient array-related routine & better type casting
tailflow/dto
109 Downloads
A simple and lightweight implementation of Data Transfer Objects (DTO) in Laravel with optional casting support.
mr-luke/settings-manager
31234 Downloads
Laravel 5 Package that provides settings manager with type casting.
mo-masoud/laravel-enum
1179 Downloads
Elegant Enum implementation for Laravel. With make:enum command, ability to casting for Eloquent models and labels translations via lang files.
mass6/flexible-dto
3200 Downloads
Data transfer object with validation and value casting
lemax10/laravel-enums
1808 Downloads
Simple Enum implementation for Laravel. With ability to casting for Eloquent models and labels translations via lang files.
geekk-net/laravel-enum
1017 Downloads
Elegant Enum implementation for Laravel. With make:enum command, ability to casting for Eloquent models and labels translations via lang files.
floor9design/laravel-casts-uuid
4321 Downloads
A class for casting ramsey/uuid into laravel models