how to select model tables with as in laravel model code example Example: get all data eloquent laravel Blog::all(); //example usage. $posts = Blog::all();