PHPackages                             arkitecht/laravel-nullable - 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. [Database &amp; ORM](/categories/database)
4. /
5. arkitecht/laravel-nullable

ActiveLibrary[Database &amp; ORM](/categories/database)

arkitecht/laravel-nullable
==========================

Laravel 5 - Add nullable columns to models

5.1(1y ago)0944MITPHPPHP &gt;=5.5.9

Since Mar 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Arkitecht/laravel-nullable)[ Packagist](https://packagist.org/packages/arkitecht/laravel-nullable)[ RSS](/packages/arkitecht-laravel-nullable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Laravel Nullable
================

[](#laravel-nullable)

Easily set model columns as nullable - to send null on insert and update when empty. For use when using foreign key, nullable, columns.

Quick Installation
------------------

[](#quick-installation)

You can install the package most easily through composer

```
composer require arkitecht/laravel-nullable

```

Using it in your model
----------------------

[](#using-it-in-your-model)

Use the `$nullable` variable to define the nullable columns in your model. These will send null to the database when empty, rather than an empty string.

```

```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~504 days

Recently: every ~337 days

Total

7

Last Release

669d ago

Major Versions

1.1 → 2.02020-10-27

2.1 → 3.02022-11-04

3.0 → 5.02023-06-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/4005803a73675789dc74ade6a96286abe9ae3cb4f6bc3cb6e70c19f129b7fcf4?d=identicon)[Arkitecht](/maintainers/Arkitecht)

---

Top Contributors

[![Arkitecht](https://avatars.githubusercontent.com/u/66117?v=4)](https://github.com/Arkitecht "Arkitecht (9 commits)")

---

Tags

laraveldatabasemodelnullablearkitechtforeign

### Embed Badge

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

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

###  Alternatives

[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

823.1k](/packages/waad-laravel-model-metadata)[designmynight/laravel-elasticsearch

Use Elasticsearch as a database in Laravel to retrieve Eloquent models and perform aggregations.

3038.6k](/packages/designmynight-laravel-elasticsearch)[nevadskiy/laravel-translatable

Add translations to your Eloquent models

2120.4k1](/packages/nevadskiy-laravel-translatable)

PHPackages © 2026

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