Skip to content

rayblair06/removemassassignment

Repository files navigation

Remove Mass Assignment Protection

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.

About

Remove Mass Assignment Protection on your models.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages