title: Query String validation Laravel
body: <p>I don't know how to get the query string array to validate in Laravel Validation.</p>
  
  <p>here is my code </p>
  
  <pre><code> public function addUserByAdmin(Request $request){
      $this-&gt;validate($request,[
          'name' =&gt; 'required',
          'fullname' =&gt; 'required',
          'password' =&gt; 'required',
          'position' =&gt; 'required',
          'phone' =&gt; 'required'
      ]);
          $uesrAction = new UserAction($this-&gt;repository);
          $user = $uesrAction-&gt;addUser($request-&gt;input('phone'),$request-&gt;input('password'),$request-&gt;input('name'),$request-&gt;input('fullname'),$request-&gt;input('position'));
          if($user){
              return response()-&gt;json(['success' =&gt; 'success','user'=&gt;$user]);
          }
          return response()-&gt;json(['success' =&gt; 'fail']);
  }
  </code></pre>
  
  <p>but validation doesn't work.Then I tried Validation::make() method and also didn't work. </p>
  
  <p>My URL be like </p>
  
  <pre><code>http://localhost:8000/admin/users/add-user?phone=abcdefg&amp;password=erer&amp;name=ere&amp;fullname=rere&amp;position=343
  </code></pre>