The following php example helps you to get the required fields from the table against an array into Laravel.
Code Example:
<?php $id = array(1, 55, 105) // get the required data from the table against an array. Model::select('id', 'name', 'email') ->whereIn('id', $id) ->get(); ?>