composer require awkwardideas/eloquentcomposite
Under Package Service Providers Add
AwkwardIdeas\EloquentComposite\EloquentCompositeServiceProvider::class,
In your model, replace this line:
use Illuminate\Database\Eloquent\Model
With this:
use AwkwardIdeas\EloquentComposite\Model;
In your model set the following:
protected $connection = '[your_connection_name_here]';
protected $table = '[your_table_name_here]';
protected $compositeKey = ['your', 'composite', 'key', 'columns'];
Then to update a specific column, use:
$this->UpdateWithComposite('column_name');