Day: May 4, 2020

Laravel- Call function of a Model in a blade file

You have a category.blade.php file and you want to call a function name someFunc() inside the Category model Inside your category.blade.php you can call the function {{$model->someFunc()}}

Read more

Laravel like in Eloquent

If you want to run query with Like statement using Eloquent you can follow the following example

Read more