PHPackages                             mcmatters/laravel-nullable-attribute - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mcmatters/laravel-nullable-attribute

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

mcmatters/laravel-nullable-attribute
====================================

Laravel nullable attributes

v1.2(2y ago)01.0k1MITPHPPHP &gt;=7.0

Since Jun 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MCMatters/laravel-nullable-attributes)[ Packagist](https://packagist.org/packages/mcmatters/laravel-nullable-attribute)[ RSS](/packages/mcmatters-laravel-nullable-attribute/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

Laravel Nullable Attributes
---------------------------

[](#laravel-nullable-attributes)

Package for auto generation and population the database columns as nullable.

### Installation

[](#installation)

```
composer require mcmatters/laravel-nullable-attributes
```

If you use Laravel 5.5 or higher you may skip this step.

Include the service provider within your `config/app.php` file.

```
'providers' => [
    McMatters\NullableAttributes\ServiceProvider::class,
]
```

Publish the configuration.

```
php artisan vendor:publish --provider="McMatters\NullableAttributes\ServiceProvider"
```

Then open the `config/nullable-attributes.php` and configure paths where your models are locating.

### Requirements

[](#requirements)

This package requires php `7.0` or higher and Laravel `5.2` or higher. It was tested with Laravel `5.2` and higher.

### Usage

[](#usage)

You need to run the command `php artisan nullable-attributes:cache` every time, when you rebuild your database schema.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

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

Every ~582 days

Total

5

Last Release

963d ago

### Community

Maintainers

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

---

Top Contributors

[![MCMatters](https://avatars.githubusercontent.com/u/3148853?v=4)](https://github.com/MCMatters "MCMatters (18 commits)")[![irieznykov](https://avatars.githubusercontent.com/u/48024435?v=4)](https://github.com/irieznykov "irieznykov (3 commits)")

---

Tags

laravellaravel-5-package

### Embed Badge

![Health badge](/badges/mcmatters-laravel-nullable-attribute/health.svg)

```
[![Health](https://phpackages.com/badges/mcmatters-laravel-nullable-attribute/health.svg)](https://phpackages.com/packages/mcmatters-laravel-nullable-attribute)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[illuminate/queue

The Illuminate Queue package.

20432.2M1.5k](/packages/illuminate-queue)

PHPackages © 2026

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