PHPackages                             rayblair/removemassassignment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. rayblair/removemassassignment

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

rayblair/removemassassignment
=============================

0.1.0(5y ago)09.0k1MITPHPPHP ^7.1

Since Dec 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rayblair06/removemassassignment)[ Packagist](https://packagist.org/packages/rayblair/removemassassignment)[ Docs](https://github.com/rayblair/removemassassignment)[ RSS](/packages/rayblair-removemassassignment/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

Remove Mass Assignment Protection
=================================

[](#remove-mass-assignment-protection)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4cda39e74f437dbd40dc28f01003a90a55efbd8f16df6c873003d87be4520b74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726179626c6169722f52656d6f76654d61737341737369676e6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rayblair/RemoveMassAssignment)[![Build Status](https://camo.githubusercontent.com/122b70f72bfecc3d987506495ccc30b9c1871254cfc05b9e96208a9212586445/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726179626c6169722f52656d6f76654d61737341737369676e6d656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rayblair/RemoveMassAssignment)[![Quality Score](https://camo.githubusercontent.com/d3c3499ff55d1fde0f7b1fa6da24b266fb7b54e3d194d062bc6db5aa1c3d1ba5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726179626c6169722f52656d6f76654d61737341737369676e6d656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rayblair/RemoveMassAssignment)[![Total Downloads](https://camo.githubusercontent.com/e47e99840b06e1b32bad8c31e3fdd692cfe8185e5a62646cb5c4a700ce655b59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726179626c6169722f52656d6f76654d61737341737369676e6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rayblair/RemoveMassAssignment)

Remove Mass Assignment Protection on your models.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require rayblair/removemassassignment
```

Usage
-----

[](#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

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ray Blair](https://github.com/rayblair06)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1977d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab35ad2244c1203e3b7f0fdbe2d765fcdcf92c4b51cddee2b82e522c841f4650?d=identicon)[rayblair06](/maintainers/rayblair06)

---

Tags

laravelphprayblairremovemassassignment

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rayblair-removemassassignment/health.svg)

```
[![Health](https://phpackages.com/badges/rayblair-removemassassignment/health.svg)](https://phpackages.com/packages/rayblair-removemassassignment)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
