rayblair/removemassassignment
Composer 安装命令:
composer require rayblair/removemassassignment
包简介
README 文档
README
Remove Mass Assignment Protection on your models.
Installation
You can install the package via composer:
composer require rayblair/removemassassignment
Usage
Simply inherit the RemoveMassAssignmentModel instead of Illuminate\Database\Eloquent\Model on models you which to remove mass assignment for.
Alternative I would create a new EloquentModel class that inherits the RemoveMassAssignmentModel class and then replace all Illuminate\Database\Eloquent\Model classes with your new base EloquentModel class . This may if you want to remove the RemoveMassAssignmentModel class or add additional functionality you only have to modify the EloquentModel class.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email rayblair06@hotmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 8.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-16