$users = DB::table('users')->select('*')->get();
$users = DB::table('users')->select('id', 'name')->get();
$users = DB::table('users')->select('id as user_id', 'name as user_name')->get();The Illuminate\Database\Eloquent package is a part of the Laravel framework. It provides a simple and intuitive syntax for interacting with databases using the Object-Relational Mapping (ORM) technique. The Builder class is one of the core components of the package and provides a fluent API for building SQL queries.