Pagination In Laravel

step 1 : use paginate(no of items per page); instead of get(); in the query

example
user::where('active','=','1')->paginate(10);

step 2 : use {!! $users->render() !!} (v5.1) , {{$users->render()}} (v5) and {{$users->links()}} (v4.2) in the view page for pagination links

example(for laravel v5.1)
{!! $users->render() !!}
example(for laravel v5)
{{$users->render()}}
example(for laravel v4.2)
{{$users->links()}}