Monthly Archives: June 2020

What is Accessor in Laravel?

As we know laravel accessor is very userful feature. It is used for creating the virtual attribute on the object which you want to access it as database column name. So for example if you want to show full name and in your database table (users) has first_name and last_name columns, you can write: Then you can call $user->full_name and it… Read More »