laravel full name attribute code example
Example: get the value without setter method laravel
Methods you can try :
1. $model->getAttributes()['name']; //worked for me
2. $model->getOriginal('name');
3. $this->attributes['name'];
Methods you can try :
1. $model->getAttributes()['name']; //worked for me
2. $model->getOriginal('name');
3. $this->attributes['name'];