Laravel you can pass an array to the where method.
1// Instead of this2JobPost::where('company', 'laravel')3 ->where('job_type', 'full time')4 ->get();5 6// You can pass an array7JobPost::where(['company' => 'laravel',8 'job_type' => 'full time'])9 ->get();
Tip given by @cosmeescobedo