Laravel - Getting Started - Using Named Bindings

Instead of using ? to represent your parameter bindings, you may execute a query using named bindings:

    
    $results = DB::select('select * from users where id = :id', ['id' => 1]);