how to get all eloquent in laravel 8 code example Example: get all data eloquent laravel Blog::all(); //example usage. $posts = Blog::all();