Laravel Eloquent gives us accessors. Using accessors, we can have computed fields inside our Model. This means you can have attributes on your model which are calculated on the fly and don’t exist on the table at all.

We will use that column to get video id of Youtube and by doing that, we will be able to show the Youtube video thumbnail.

App link:

You can find me on:

#laravel #laravel testing #accessors #logout #id

Laravel Testing Tutorial Video ID Attribute using Accessors and Logout - 21
1.10 GEEK