LaravelPackages.net
Acme Inc.
Toggle sidebar
rawilk/laravel-casters

A collection of custom casts for Laravel.

5.956
6
v4.0.0
About rawilk/laravel-casters

rawilk/laravel-casters is a Laravel package for a collection of custom casts for laravel.. It currently has 6 GitHub stars and 5.956 downloads on Packagist (latest version v4.0.0). Install it with composer require rawilk/laravel-casters. Discover more Laravel packages by rawilk or browse all Laravel packages to compare alternatives.

Last updated

Casts for Laravel

Latest Version on Packagist Tests Total Downloads PHP from Packagist License

Social image

Casts for Laravel is a collection of custom class casts for Laravel Eloquent Models.

protected $casts = [
    // Provides utilities for manipulating a name
    'name' => Name::class,
];

Installation

You can install the package via composer:

composer require rawilk/laravel-casters

Documentation

For documentation, please refer to: https://randallwilk.dev/docs/laravel-casters

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

Please review my security policy on how to report security vulnerabilities.

Credits

Alternatives

Some alternatives to this package include:

Disclaimer

This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.

License

The MIT License (MIT). Please see License File for more information.

Star History Chart