rayblair/removemassassignment

0.1.0 2020-12-16 18:37 UTC

This package is auto-updated.

Last update: 2024-10-17 05:01:02 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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.