multiple orwhere condition in laravel

Solutions on MaxInterview for multiple orwhere condition in laravel by the best coders in the world

showing results for - "multiple orwhere condition in laravel"
Cyrus
13 Apr 2020
1$query->where([
2    ['column_1', '=', 'value_1'],
3    ['column_2', '<>', 'value_2'],
4    [COLUMN, OPERATOR, VALUE],
5    ...
6])
Vincenzo
31 Apr 2020
1  public function index()
2    {
3        $search = "Har";
4  
5        $users = User::select("*")->where('status', 1)
6                  ->where(function($query) use ($search){
7                   $query->where('first_name', 'LIKE', '%'.$search.'%')
8                   ->orWhere('last_name', 'LIKE', '%'.$search.'%')
9                   ->orWhere('email', 'LIKE', '%'.$search.'%');
10                    })->get();
11  
12        dd($users);
13    }
14
15# With Join
16  public function index()
17    {
18        $search = "Har";
19  
20        $users = User::select("*")->where('status', 1)
21                  ->where(function($query) use ($search){
22                   $query->where('first_name', 'LIKE', '%'.$search.'%')
23                   ->orWhere('last_name', 'LIKE', '%'.$search.'%')
24                   ->orWhere('email', 'LIKE', '%'.$search.'%');
25                    })
26          ->join('users_roles', 'users.id', '=', 'users_roles.user_id')
27          ->where('users_roles.role_id', '=', Role::USER_PARTICIPANT)->get();
28  
29        dd($users);
30    }
Adel
26 May 2019
1// ...
2$q->where(function ($query) {
3    $query->where('gender', 'Male')
4        ->where('age', '>=', 18);
5})->orWhere(function($query) {
6    $query->where('gender', 'Female')
7        ->where('age', '>=', 65);	
8})
Soumaya
01 Sep 2019
1if ($request->search) {
2             
3     $users = User::where('type', '=',  'Customer')
4        ->where(function ($query) use ($request) {
5            $query->where('name', "like", "%" . $request->search . "%");
6            $query->orWhere('mobile', "like", "%" . $request->search . "%");
7        })->get();   
8  }
9
queries leading to this page
2 or more with laravel relationship conditionlaravel multiple where oruse both where and with laravel2 like conditions in same laravelmultiple where condition in when query laravellaravel multiple conditions in joinwhere 2 condition laravel orlaravel model mulitwhere within where clause eloquentfetch from database using many conditions laravelmultiple wheres laraveldb select 2 condition in laravel buildertwo conditional where with and in laravel eloquentlaravel multiple row query and table with multiple conditionslaravel where not 2 conditionsmultible where laravellaravel 2 where conditions in onequery multiple condition laravelhow to check multiple conditions to get data from sql in laravellaravel apply where condition eloquentmultiple condition where laravellaravel eloquent where multiple valuelaravel add condition on with statementlaravel where has has multiple conditionswhere more then one condition in laravelhow to use if condition in multiple where contidion in laravelmultiples where laravellaravel querries multiple wheresmulti where conditionin laravel eloquenthow to retrieve multiple row with multiple conditions in a single query in laravellaravel model where clauselaravel eloquent with multiple wherelaravel multiple where condictioneloquent get with complex condition multiplemultiple where condition eloquent queryeloquent chaining wherewhere with two conditions laravellaravel query multiple conditionslaravel multiple where and orwhereusing where in eloquent laravel to with multiple conditionsuswer 3a 3awith where conditon eloqvantlaravel combine where not in exceptlaravel hasone with multiple conditionshow to use two where condition in one statement in laravelhow to write two where clause in laravellaravel many or wherelaravel eloquent check two conditionget data two conditions laravelhow to apply multiple condition gate laravel using if query with wherer condition larvellaravel orwhere with multiple whereeloquent where conditionhow to put where condition with laravelmultiple conditions in where clause laravel dbquery where multiple values laravel modelstwo condition in laravellaravel php multiple where clauseslaravel check two conditions in when 1 is truehow to set multiwhere condition in laravel controllerhow to use where multiple condition in laravel6orwhere condition in laravelwhere two conditions eloquent laravellaravel check multi wherelaravel 7 multi query with ifhow to make multiple where condition in laravelmultiple condition in laravel queryeloquent multiple where to arraywhere statement in laravel with conditionhow to select multiple where conditions in laravel sql querymodel where 2 condition laraveltwo conditions in if statement laravelorwhere multiple value laravelif with two conditions in laravelmulti where laravel elequentcheck multiple where condition in laraveldouble where condition in laravelmultiple conditions with function laravel requestlaravel elequent 2 where conditionswhere 2 condition laravelmultiple when clause laravellaravel where multiple orlaravel select column with 2 conditionstwo where condition in laravellaravel query many whereorwhere multiple conditions laravelhow to multiple where condition in laravelhow to check two conditions in where clause in laraveltwo where but or condition in laravelhow to apply multiple condition gate laravellaravel 2 where and conditionslaravel using multiple statement in where clausehow to use 2 where clause in laravellaravel where 2 conditions bladecheck two conditions in where clause laravelchecking multiple conditions and return or create laravelquery in laravel for multiple where conditionslaravel eloquent query with conditiontwo where clause in laravellaravel query builder multiple conditionslaravel model multiple wheremultiple condition laravel whenmultiple where exists laravelmultiple where laravel 8laravel with multiple modelslaravel find where multiplesgrouping multiple where clauses laravel eloquentlaravel 2 conditions in wherelaravel when for two where clausetwo where condition if condition in laravelmultiple when in laravel querylaravel multiple where and how to apply multiple where condition in laravellaravel find multiple conditionsmultiple where clause eloquentquery where with two conditions laravelwhere multi condition laravelcall where based on condition in eloquent query laravelselect two where condition query builderlaravel where with two conditionsuse multiple where in laraveleloquent and whereand condition in eloquentdouble where laraveland in where clause laravel ormlaravel where conditionlaravel multiple condition on joineloquent database query to apply two where clauselaravel multiple with use to where has query uneloquent multiples where and orwherecondition in query laravel with many wherelaravel wherein two conditionslaravel multiple or whereeloquent where clause with to different value laravellaravel 2 where conditionslaravel eloquent multiple conditionseloquent andwherelaravel 8 eloquent multipele whereselect query with multiple conditions in laravel 5 8laravel query eloquent multiple where in whenlaravel multiple with use to where has query runmulitiple where condition in laravellaravel having multiple conditionshow to use two where condition in laravellaravel conditionally add where laravel orm with multiple conditionlaravel blade if multiple conditionslaravel when in where conditionmultiple where statements laravel eloquentlaravel condition in whereorwhere multiple where laravelmultiple where and condition in laravel eloquentlaravel join multiple conditionslaravel where with multiple conditionslaravel eloquent multiple where from arraylaravel where or multiplemultiple where condition in sql laravelaravel where 2 conditionsmultiple where query in laraveleloquent where multiplelaravel multiple wherein conditionhow to use multiple where condition in laravel eloquentmulti where in model in laravelwhere is different sql laravelwhere 28 5blaravel multi condition selectlaravel multiple condition in relationshiplaravel db query with two conditionscombined where condition laravelmultiple orwhere laraveleloquent orm multiple wheremultiple where condition using if in laraveldb select with two where laraveleloquent where multiple or conditionslaravel two where conditionsuse multiple where class in laravel eloquent querylaravel first or create with two conditionswhere 2 conditions in laravel controllerlaravel multiple where checkwhere not between multiple laravel laravelmultiple logic in laravel 8 eloquenteloquent model where clauselaravel where multiple conditions on single colmnlaravel insert with multiple conditions multicondiaion with like in laravel with arraymultiple where condition in laravelmulti where condition in laravellaravel query where manylaravel multiple if condition queryget doble laravellaravel multiple where clauseslaravel multiple conditional clauseshow to apply multiple select with or condition in laravellaravel where 2 conditions or2 conditional in one where in laraveadd two condition in where in eloquent ormmultiple and or where clause laravel eloquenteloquent two or wherelaravel add condition on with statemtnlaravel multiple where clause 3aquery multi condition laravelhow condition for multiple row by orwhere laravelmultiple value in where clause laravellaravel or where multiple conditionsselect with multiple conditions in laravellaravel several where clauselaravel search query with multiple conditionsmultiple where laravel querymultiple where clause laravel in one wherelaravel wherenotbetween multiple conditionslaravel eloquent mulitple wherelaravel sql where row 2 conditions on same columnmultiple where condition in laravel as array2 condition in laravelmultiple tables where in laravelwhere condition with multiple values in laravel2 conditions in laravel query buildermultiple where condition in laravel ormlaravel eloquent multiple whenmultiple condition in orm laravellaravel model with where clauselaravel elequont multiple wherequery function in laravel different where conditionslaravel eloquent chain wheremultiple where laraveleloquent orm conditions wherelaravel model chain where clausemultiple where conditions elequentmultiple with clause in laraveladd multiple condition in laravelwhere mulltle in eqloquen laravelmultiple andwhere condition in laravellaravel eloquent where multiple valueslaravel where clause with multiple conditionsmultiple where condition in model in laravel 8 pass multiple where condition laravelmultiple where laravel andwherelaravel multi where in arraywhere multiple conditions eloquentupdate with multiple conditions laravellaravel with multiple wheremulti where laravelfind with multiple query in laravel eloquentlaravel multiple conditions in wheremore condition in laravel laravel multiple relationships with conditionorm and condtion in laravellaravel request where multiple tablehow to write 2 conditions of db in laravellaravel 8 where multi conditionsmultiple where clause eloquent laravellaravel model two wheremultiple where clause laravel eloquentfunction query different condition in laravelwhere condition with matching multiple elements query laravellaravel apply multiple wheres to modellaravel more than two where conditionlaravel controller where equals two valueslaravel eloquent several wheremultiple condition where laravel 7 from modelmultiple relationship laravel where conditionlaravel apply multiple where clause more than 2 where conditions in laravelmultiple data get where condition laravelmultiple condition in where clause in laravelmultiple where laravel eloquenthow to get data from model in laravel with multiple conditionsmultiple where condition in laravel query buildertwo where condition in laravel querycondition where laravellaravel multiple statementswherein multiple array clause in laravellaravel where not multiple valuesand condition in laravel eloquentcan i use with operator to get only one row in laravelhow to write 2 where condition in laravel eloquentlaravel where multiple valuesin where condition use 21 in laravellaravel query multiple rowslaravel where multiplewhere and and conditions laravelfilter by multiple conditions laravelmultiple in statement in laravellaravel model where multiple conditionslaravel where statement conditionmultiple where condition in laravel 7two where laravelmultiple where eloquetchaining multiple where conditions from different tables laravellaravel where two conditions in 1 tableand where condition in laraveltwo condition in where in laravelall 28 29 3b with two condition in laravelcheck multiple conditions in where clause laravel ormdoble where en eloquentmultiple conditions with fucntion laravel postuse many conditions in where clause laravelmultiple where condition in laravel7orwhere laravel two conditionslaravel one field multiple conditionmodel where clause laravel2 or more wheres laravel ormeloquent get with complex condition laravel db select multiple wherelaravel model multiple where and orwheremultiple statement in where laravellaravel where with many conditionsquery with multi with eloquentlaravel where many conditionhow to add two conditions in laravel controllerlaravel eloquent double wheremultiple when condition laravellaravel more than one where conditionwhere multiple condition laravelmultiple where in sql query laravelmultiple where clause laravelhow to apply multiple where condition in larvellaravel where several conditionshow to make and in where clause laravelmultiple where eloquent laraveltwo where clauses sql laravel dblaravel where nultiplemultiple where in laravellaravel multiple and or where conditionstwo where condition with and in laravellaravel eloquent multiple value wheremulti orwhere laraveleloquent database query to apply two where clause with andhow to add multiple where condition in laravelusing two parameters in where statement laravellaravel eloquent multiple where and orhow to set query multipal where in laravel eleqountlaravel where and or conditionmultiple and or condition in laravel bladeuser where condition laravellaravel firstwhere multiple and conditionslaravel eloquent multiple where or and one and condition laravel 7 model for multiple condition2 where in with laravellaravel eloquent where andwherehow to add 2 where clase in a query in eloquentlaravel orwhere multipleusng two ehere connditions in eloquentmultiple condition where laravel 7laravel where multiple conditions on single column laravelhow to use multiple condition in laravel2 conditions in where laravelmultiple where laravel2 where clauses laravelhow to use multiple where condition in laravellaravel 8 where or multiple conditionmultiple where conditions in laravel eloquentuse and in where condition in laravellaravel query on two conditionsmultiple where clause in laravel 8laravel mysql orwherelaravel multiple conditional clauses whenhow to use orwhere in laravel with multiple where conditionlaravel when condition multiple where laravel multipleeloquent orm where clauseuse multiple cases condition in sql query laravellaravel if statement 2 conditionslaravel 8 2 where conditions2 where clauses in laravelmcreate two where lareveladd more than 1 where condition in laravel how can check mutipal where condtion in laravellaravel eloquent where two conditionsmultiple where condition in sql laravel with if elsetwo conditions in where clause laravellaravel firstwhere multiple conditionshow to give more then one conditions in where in laravelaravel multiple where and oreloquent jquery multiple whereuse 2 find in one query laravel eloquentdoble where laravelusing multiple values in a where clause laravel eloquenttwo and and one or condition in laravel queryapply multiple wheres to laravel list of objectlaravel queries multiple whereslaravel conditions in eloquentlaravel eloquent andwherelaravel multiple with or whereeloquent where two conditionslaravel 2 wherelaravel multipul wheremultiple where with and condition in orm laravelmultiple when condition in laravel querymultiple 3a 3awith 28 in laravel site 3astackoverflow commultiple where in one where laravelmultiple 26 26 in laravel eloquenttwo data with different conditions in laravelwith and where condition in laravelchecking multiple conditions and create laravel 2 where conditions in laravellaravel do where clause in with multiple conditions2 where condition in laravel 1 orwherelaravel where condition multiple matchmultiple where conditionals laravel eloquentmultiple where condition in laravel eloquenteloquent laravel two eloquent where with multiple conditionshow to use multi where condition in laravelin operator with where condition in laravelwhere multiple conditions equivalent laravelmultipule where condition in laravellaravel eloquent where with two conditionelqquent multiple wheremultiple if condition in laravel controllerhow to add multiple conditions in where clause in php laravel query builderquery where with two and conditions laravelwhere condition in laravel eloquentlaravel where two or plus andlaravel multiple oflaravel multiwhereadd two or conditions in one laravel wherehow to get rows of multiple condition laravel mysqlmultiple conditions in laravellaravel database query when method multiple conditionsif with multiple conditions laravellaravel where between two conditionslumen eloquent where clauselaravel eloquent where clause with check to have multiple valueshow to chain multiple conditions in laravel eloquenteloquent where two or conditionlaravel query with 2 conditionslaravel where multiple conditionslaravel different where clauselaravel multiple canlaravel if multiple conditionmultiple where not in clause in eloquent querymultiple where condition in laravel queryinside where using 2 condition in laravellaravel where 2 conditionshow add two where condition in laraveleloquent two where conditionslaravel two where conditions 23laravel two where conditions with eloquentlaravel orwhere conditionselect query based on a column in laravel multiple conditionmultiple orwheres laravelselect 2 where conditions db 3a 3a where 28 29 laravellaravel andwhere conditionlaravel 7 multi if query 22if 22 in query laravel with many wheremutliple value eloquent query laravelwhere multiple conditions laravelmultiple conditions laravel querylaravel 2 condition in a wheremultiple conditions in join laravellaravel where function 2 conditionsmultiple where condition in laravel using loopwhere id in laravel eloquent with another conditionlaravel eloquent where multiple conditionshas many laravel example with two conditionswhere clause for multiple value in laravellaravel multiple where conditions same columnmultiple where condition using eloquent laravellaravel eloquen t query with conditionlaravel eloquent where conditionmultiwhere in laravel queryfind a record with multiple conditions in laravelmutiple where laravelslaravel multiple where conditionlaravel eloquent multiple instructionandwhere laravel eloquentlaravel query where 2 conditionwhere condition eloquent laravelmultiple where conditions laraveltwo conditions in query builder laravelmulti conditions inside where laravelmulti condition in where laravelhow to write two where condition in laravellaravel chek 2 where conditionswhere condition in multiple with eloquenct in laravellaravel database query multi wherelaravel 7 eloquent multiple wheremultiple where and condition in laravelmultiple where condition in laravel query builder for multiple tablepass two conditions in when laraveleloquent multiple where is notlaravel find multiple wherelaravel multiple with functionwhere mutiple condition in laravelcheck for two conditions laravel select with multiple where clause in laravellaravel add multiple where conditionlaravel eloquent multiple orwheremore than one condition in where laravel laravel query builder have multiple conditions in where calusehow to set two where condition in laravel 8laravel where has multiple conditionslaravel query multiple where clauseeloquent multiple conditionslaravel where clause with multiple conditions not equalhow to check two conditions in where function clause in laravellaravel eloquent multiple iflaravel two two not conditionslumen db where many in querymultiple conditions in laravel wheremultiple where condition in laravel 8where multiple value eloquentlaravel multiple set of conditionslaravel relation with multiple conditionsmultiple where statement laraveltwo conditions in where clause laravel db 3a 3alaravel php 8 multiple where conditionlaravel db query multiple where ormultiple orwhere in laravellaravel query multiple where conditionslaravel multiple 40ifmultiple orwhere condition in laravelhaving with multiple conditions laraveleloquent multiplke and conditionslaravel multiple wherein columnsmultiple where and andwherein laravelmultiple conditions in where close in laravellaravel 8 make two where conditionlaravel where or where multipleeloquent two conditionshow to set two where condition in laraveltwo where in laravelhow to use multiple where in laraveltwo where condition operator laravellaravel or where conditionwhere with two conditions in laravelmultiple where condition in where clause in laravelwhere many parameter eloquentlaravel 5 6 multiple where conditionslaravel scopes 2 where conditionsmultiple conditions in where laravellaravel multiple orwherelaravel wherein multiple columnsmultiple conditions in where laravel eloquentget two data with different conditions in laravelmulti where condition sql laravelmultiple condition in laravel eloquenthow to check multiple conditions in laravel where dblaravel 7 eloquent query results multiple where multiple where clause in select laravelwhere with multiple conditions laravelquery for multiple condition coumns laravelmultiple where condition laravelwhy we use where clause in laravelhow to specify multiple values in 3ewherein 28 29 clause in laravel eloquet queryphp laravel eloquent where function many conditionswhere multiple condition in laravelorwhere with more conditions laravelwhere or with multiple where laravel eloquentlaravel multiple orwhere and and not workingapply multiple wheres to laravel list of objectstwo where cpndution in laravel elequentprovide id to where clause otherwise in laravelmultiple where in laravel eloquentmultiple where condition in laravel orwherelaravel add 2 conditions in an if statementlaravel where and multiple or wheretwo conditional where with and in laravelhow to two where and condition set in laravellaravel where with or conditionmultiple where clause in laravel eloquentlarav multiple wherehow to give multiple value for single condition in laravel modelmultiple orwhere condition in laravel 8laravel where with 2 conditions truelaravel scope multiple where conditionmultiple where conditions in laravel eloquent and mongodbmultipke where cluses in laravel controllers2where in query laravellaravel where condion using write wuery laravel 2beloquent 2badd two where closeuse multiple where clause and not in condition in laravellaravel multiple clause with or conditionlaravel db query where multiples values likelaravel where has two conditionlaravel where give get data three timesmultiple conditions sql statement laravelcheck multiple condition in sql laravel 8multiple where conditions in a where laravelmultipe where query eloquentcheck where multiple laravelmultiple with laravel clauseslaravel when multiple conditionslaravel double where clauselaravel do two where with andwhere two condition in laravellaravel equivalent model where multiple conditionslaravel eloquent multiple whereslaravel eloquent whereconditionlaravel multi whereseparate multiple conditions in laravellaravel db query multiple wherelaravel eloquent and querylaravel query with multiple or conditionlaravel where multi queryor where condition in laravel eloquent eloquent multiple wherewrite multi condition in where 28 29 laravel how can use find in set multiple times in where clause in laravelmultiple where inside where or laravelmany where conditions laravellaravel where condition multiple record fetchlaravel where 2 conditionhow to use with statement two time in laraveleloquent where 2 conditionseloquent where multiple conditionswhere 2 conditions laravel 7where condition eloquent multiplewhere multiple clause in laravel eloquentwith laravel where condition ormeloquent where 28 5b 5d 29how to to apply multiple where condition in laravellaravel query builder multiple orwherepasing 2 conditions in where clause eloquentlaravel how to work multy where with eloquent laravel where conditionmultiple condition in laravel where3 where conditions laravel out of 2 is orwaremultiple condition in where laravel2 with in laravelhow to check for two conditions in laravel using where querylaravel define a query clause before another clauseeloquent multiple orwheremultiple with with laravel query builderlaravel 2 conditions in an if statementlaravel get where multiple conditionslaravel eloquent two wherecondition on multiple where laravelmultiple conditions join laravelwhere with multiple conditions in laravelwhere condition in laravel multiple condtionslaravel eloquent multiple where and orwhereset two whare condition in laravel using modellaravel find one with multiple where conditionsmultiple if condition in laravel querylaravel where with 2 conditionshow to give where clause in laravellaravel where two conditions or two conditionsinside where using 2 condition i laravel where condition on created by in laraveluse where in condition eloquentmultiple with clause in laravel 5laravel eloquent when multiple conditionslaravel multiple condition eloquentmultiple with eloquent where condition in laravellaravel where multiple conditions orlaravel where 28 29 to check multiple conditionshow to set two and where condition in laravel 8laravel query with multiple wherehow to check multiple conditions in where with or clause in laravellaravel query with two conditionlaravel eloquent get with multiple conditionstwo condition in where mysql laravelmultiple conditions inside 1 where laravellaravel relationships with conditionsmultiple when laravelto check multiple condition in where condition in laravel databasedb 3a 3aselect multiple where laravellaravel eloquent wherein and withmultiple orwhere laravel codeigniterlaravel orm multiple wherelaravel where two conditions but not onenon eaual multi column where cluse in laravelquery for multiple where clauses laravellaravel where and conditionselect single column in laravel where with multiple conditions andlaravel multiple whereinlaravel query multiple wherelaravel where with two conditionlaravel table multiple whereif in query laravel with many wheremultiple where clause in laravelwhere multiple conditions sql laravelquery method in laravel different where conditionshow to add the where condition two three based on the if condition in laravellaravel multiple name in where condition laravel whereraw multiple conditionswhere with multiple conditions and or laravellaravel where multiple dilaravel multiple where functionlaravel multiple wheres eloquentlaravel where more than one and conditionlaravel 3a eloquent multiple wherelaravel eloquent where 2 conditionsmulti where eloquent laravellaravel mutliple condition in where clauselaravel query double where and where notlaravel select where with two conditionlaravel eloquent multiple where conditionlaravel update multiple where clauseshow to check multiple conditions in where clause in laravellaravel eloquent orm where conditionlaravel 7 multi query with if site 3astackoverflow comhow to give 2 conditions in where in laravellaravel chaining wherelaravel multiple conditions in where eloquentlaravel select record with several conditionseloquent multiple where condition in laravel 7multiple with in laravel query buildermultiple where condition in sql in laravelconcatenate conditions laravellaravel have two where conditionslaravel eloquent like with 2 conditionstwo condition in laravel modelhow to use multi where using if in laravel eloquent where two conditions laravellaravel multiple where statementswhere multiple laravellaravel query multiple wherelaravel 6 multiple wherelaravel wherein with two conditionslaravel sql query two times where conditionslaravel sql query 2 where clauseshow use where condition and operator in laravel eloquentlaravel where two conditionshow to apply multiple where condition in sql in laravel2 where condition in laravel eloquentmultiple conditions query laravellaravel multiple wheremultiple conditional orm laravel querylaravel multiple where clausewherenot for multiple values laravelhow to check multiple conditions in if else at the same time in laravel controllerwhere condition in laravelhow to check multiple conditions in if statement laravelmultiple where and wherein laravelpass two conditions in when check laravelhow to call multiple with in laravel elequient where conditionslaravel where condidion in modeltwo condition in one laravel querymultiple or where laravelhow to have multiple conditions in eloquent laravellaravel 2 where conditions andhow to pass two where conditions in query in laravelusing multiple where in laravel with conditionlaravel multiple and where queryusing multiple where in laraveltwo conditions laravellaravel eloquent multiple wherewhere between laravel multipleeloquent laravel multiple where clause 3alaravel more than one where clauselaravel multiple where statements sql2 where condition in laravel querylaravel multiple where conditionslaravel blade if multiple conditions examplemultiple where and orwhere in laravelmultiple where eloquentlaravel eloquent where two conditions arraywhere condition laravel eloquentwhere with 2 conditions laravelmultiple logical condition in laravel querymultiple where condition inside laravellaravel query builder multiple where conditionswith 28 29 with multiple where clauses in laravel 5 4multi conditions in where laravellaravel where 2 conditions eloquentwhere condition using eloquent laravelmultiple where statements laravelwrite a query for multiple conditions in same field laravelmultiple where clause laravellhow to write where clause that contain and in laravellaravel where condition multiplemultiple orwhere condition in laravel