rawilk/laravel-casters
最新稳定版本:v3.1.1
Composer 安装命令:
composer require rawilk/laravel-casters
包简介
A collection of custom casts for Laravel.
README 文档
README
Casts for Laravel is a collection of custom class casts for Laravel Eloquent Models. This package allows you to quickly and easily add casts for names and hashing passwords on your user models.
protected $casts = [ // Hashes the value when assigning to `$model->password`. // Note: Password cast is now deprecated. Use Laravel's hash cast instead. 'password' => Password::class, // 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.
统计信息
- 总下载量: 5.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-18