laravel transform name column using get code example
Example: alter row in table laravel
$flight = App\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();
$flight = App\Flight::find(1);
$flight->name = 'New Flight Name';
$flight->save();