title: PHP7.1 and Laravel 5.3: Function mcrypt_get_iv_size() is deprecated
body: <p>I'm using Laravel 5.0 for all my projects. Yesterday, I've updated my PHP version from 7.0.x to version 7.1.0. Once updated, I tried opening my Laravel project and saw this message below:</p>
  
  <pre><code>ErrorException in Encrypter.php line 303: 
  Function mcrypt_get_iv_size() is deprecated
  
  in Encrypter.php line 303
  at HandleExceptions-&gt;handleError('8192', 'Function mcrypt_get_iv_size() is deprecated', 'C:\wamp64\www\project1\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php', '303', array()) in Encrypter.php line 303
  </code></pre>
  
  <p>May I know how can I solve this ? Does using Laravel 5.3 solve the problem? I don't feel like updating my Laravel to 5.3 because it's a huge project and it will takes a long time to update. There are too much differences between these two versions. Lots of codes need to be modified.</p>
  
  <p>Is there an easier way to solve this issue? </p>