find all record in laravel query code example
Example 1: get all data eloquent laravel
Blog::all();
//example usage.
$posts = Blog::all();
Example 2: laravel where
$users = DB::table('users')
->whereMonth('created_at', '12')
->get();