Class 'Illuminate\Support\Facades\Paginator' not found
<p>Here is my code:</p>

<pre><code>namespace App\Http\Controllers;

use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Paginator;
use Illuminate\Support\Facades\Input;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\news;
use App\productions;

class SearchController extends Controller
{
    public function index(Request $request){
        $q = $request-&gt;q;
        $page = Input::get('page', 1);
        $paginate = 5;

        $first = DB::table('news')
            -&gt;select(['id', 'title', 'description', 'imgPath'])
            -&gt;where(function($query) use ($q) {
                $query-&gt;where('title', 'like', "%$q")
                    -&gt;orWhere('description', 'like', "%$q");
            });

        $result = DB::table('productions')
            -&gt;select(['id', 'title', 'description', 'imgPath'])
            -&gt;where(function($query) use ($q) {
                $query-&gt;where('title', 'like', "%$q")
                    -&gt;orWhere('description', 'like', "%$q");
            })
            -&gt;unionAll($first)
            -&gt;get();

        $slice = array_slice($result, $paginate * ($page - 1), $paginate);
        $results = Paginator::make($slice, count($result), $paginate);


        return view('search', compact('results'));
    }
}
</code></pre>

<p>When I run it, it throws this error:</p>

<blockquote>
  <p>Class 'Illuminate\Support\Facades\Paginator' not found</p>
</blockquote>

<p><strong>Note:</strong> I use <em>Laravel Framework version 5.2.45</em>.</p>

<p>How can I fix it?</p>