2017 © Pedro Peláez
 

library laravel-nullable

Laravel 5 - Add nullable columns to models

image

arkitecht/laravel-nullable

Laravel 5 - Add nullable columns to models

  • Thursday, March 24, 2016
  • by Arkitecht
  • Repository
  • 1 Watchers
  • 0 Stars
  • 189 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 15 % Grown

The README.md

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., (*1)

Quick Installation

You can install the package most easily through composer, (*2)

composer require arkitecht/laravel-nullable

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., (*3)


The Versions

24/03 2016

dev-master

9999999-dev

Laravel 5 - Add nullable columns to models

  Sources   Download

MIT

The Requires

 

by Aaron Rubin

database laravel model arkitecht foreign nullable