Easily set model columns as nullable - to send null on insert and update when empty. For use when using foreign key, nullable, columns.
<?php
namespace App;
use Arkitecht\Nullable\Traits\Nullable;
use Illuminate\Database\Eloquent\Model;
class Test extends Model
{
use Nullable;
protected $nullable = ['null_column_one','null_column_two'...];
}
?>