you can do something like this
$attributes = [
'name' => 'Jon Snow',
'house' => 'stark'
];
$person = new PersonModel($attributes);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community