title: Function mcrypt_get_iv_size() is deprecated on Laravel 4
body: <p>I am in L4, here is my app.php </p>
  
  <pre><code>&lt;?php
  
  return array(
  
      /*
      |--------------------------------------------------------------------------
      | Application Debug Mode
      |--------------------------------------------------------------------------
      |
      | When your application is in debug mode, detailed error messages with
      | stack traces will be shown on every error that occurs within your
      | application. If disabled, a simple generic error page is shown.
      |
      */
  
      'debug' =&gt; true,
  
      /*
      |--------------------------------------------------------------------------
      | Application URL
      |--------------------------------------------------------------------------
      |
      | This URL is used by the console to properly generate URLs when using
      | the Artisan command line tool. You should set this to the root of
      | your application so that it is used when running Artisan tasks.
      |
      */
  
      'url' =&gt; 'http://1.1.1.1/',
  
      /*
      |--------------------------------------------------------------------------
      | Application Timezone
      |--------------------------------------------------------------------------
      |
      | Here you may specify the default timezone for your application, which
      | will be used by the PHP date and date-time functions. We have gone
      | ahead and set this to a sensible default for you out of the box.
      |
      */
  
      'timezone' =&gt; 'UTC',
  
      /*
      |--------------------------------------------------------------------------
      | Application Locale Configuration
      |--------------------------------------------------------------------------
      |
      | The application locale determines the default locale that will be used
      | by the translation service provider. You are free to set this value
      | to any of the locales which will be supported by the application.
      |
      */
  
      'locale' =&gt; 'en',
  
      /*
      |--------------------------------------------------------------------------
      | Application Fallback Locale
      |--------------------------------------------------------------------------
      |
      | The fallback locale determines the locale to use when the current one
      | is not available. You may change the value to correspond to any of
      | the language folders that are provided through your application.
      |
      */
  
      'fallback_locale' =&gt; 'en',
  
      /*
      |--------------------------------------------------------------------------
      | Encryption Key
      |--------------------------------------------------------------------------
      |
      | This key is used by the Illuminate encrypter service and should be set
      | to a random, 32 character string, otherwise these encrypted strings
      | will not be safe. Please do this before deploying an application!
      |
      */
  
      'key' =&gt; 'rO9cCeyugcXru0VvBQ7mkP4zLLZceVgp',
  
      'cipher' =&gt; 'AES-256-CBC',
  
      /*
      |--------------------------------------------------------------------------
      | Autoloaded Service Providers
      |--------------------------------------------------------------------------
      |
      | The service providers listed here will be automatically loaded on the
      | request to your application. Feel free to add your own services to
      | this array to grant expanded functionality to your applications.
      |
      */
  
      'providers' =&gt; array(
  
          'Illuminate\Foundation\Providers\ArtisanServiceProvider',
          'Illuminate\Auth\AuthServiceProvider',
          'Illuminate\Cache\CacheServiceProvider',
          'Illuminate\Session\CommandsServiceProvider',
          'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
          'Illuminate\Routing\ControllerServiceProvider',
          'Illuminate\Cookie\CookieServiceProvider',
          'Illuminate\Database\DatabaseServiceProvider',
          'Illuminate\Encryption\EncryptionServiceProvider',
          'Illuminate\Filesystem\FilesystemServiceProvider',
          'Illuminate\Hashing\HashServiceProvider',
          'Illuminate\Html\HtmlServiceProvider',
          'Illuminate\Log\LogServiceProvider',
          'Illuminate\Mail\MailServiceProvider',
          'Illuminate\Database\MigrationServiceProvider',
          'Illuminate\Pagination\PaginationServiceProvider',
          'Illuminate\Queue\QueueServiceProvider',
          'Illuminate\Redis\RedisServiceProvider',
          'Illuminate\Remote\RemoteServiceProvider',
          'Illuminate\Auth\Reminders\ReminderServiceProvider',
          'Illuminate\Database\SeedServiceProvider',
          'Illuminate\Session\SessionServiceProvider',
          'Illuminate\Translation\TranslationServiceProvider',
          'Illuminate\Validation\ValidationServiceProvider',
          'Illuminate\View\ViewServiceProvider',
          'Illuminate\Workbench\WorkbenchServiceProvider',
          'Sebklaus\Profiler\Providers\ProfilerServiceProvider'
  
      ),
  
      /*
      |--------------------------------------------------------------------------
      | Service Provider Manifest
      |--------------------------------------------------------------------------
      |
      | The service provider manifest is used by Laravel to lazy load service
      | providers which are not needed for each request, as well to keep a
      | list of all of the services. Here, you may set its storage spot.
      |
      */
  
      'manifest' =&gt; storage_path().'/meta',
  
      /*
      |--------------------------------------------------------------------------
      | Class Aliases
      |--------------------------------------------------------------------------
      |
      | This array of class aliases will be registered when this application
      | is started. However, feel free to register as many as you wish as
      | the aliases are "lazy" loaded so they don't hinder performance.
      |
      */
  
      'aliases' =&gt; array(
  
          'App'               =&gt; 'Illuminate\Support\Facades\App',
          'Artisan'           =&gt; 'Illuminate\Support\Facades\Artisan',
          'Auth'              =&gt; 'Illuminate\Support\Facades\Auth',
          'Blade'             =&gt; 'Illuminate\Support\Facades\Blade',
          'Cache'             =&gt; 'Illuminate\Support\Facades\Cache',
          'ClassLoader'       =&gt; 'Illuminate\Support\ClassLoader',
          'Config'            =&gt; 'Illuminate\Support\Facades\Config',
          'Controller'        =&gt; 'Illuminate\Routing\Controller',
          'Cookie'            =&gt; 'Illuminate\Support\Facades\Cookie',
          'Crypt'             =&gt; 'Illuminate\Support\Facades\Crypt',
          'DB'                =&gt; 'Illuminate\Support\Facades\DB',
          'Eloquent'          =&gt; 'Illuminate\Database\Eloquent\Model',
          'Event'             =&gt; 'Illuminate\Support\Facades\Event',
          'File'              =&gt; 'Illuminate\Support\Facades\File',
          'Form'              =&gt; 'Illuminate\Support\Facades\Form',
          'Hash'              =&gt; 'Illuminate\Support\Facades\Hash',
          'HTML'              =&gt; 'Illuminate\Support\Facades\HTML',
          'Input'             =&gt; 'Illuminate\Support\Facades\Input',
          'Lang'              =&gt; 'Illuminate\Support\Facades\Lang',
          'Log'               =&gt; 'Illuminate\Support\Facades\Log',
          'Mail'              =&gt; 'Illuminate\Support\Facades\Mail',
          'Paginator'         =&gt; 'Illuminate\Support\Facades\Paginator',
          'Password'          =&gt; 'Illuminate\Support\Facades\Password',
          'Queue'             =&gt; 'Illuminate\Support\Facades\Queue',
          'Redirect'          =&gt; 'Illuminate\Support\Facades\Redirect',
          'Redis'             =&gt; 'Illuminate\Support\Facades\Redis',
          'Request'           =&gt; 'Illuminate\Support\Facades\Request',
          'Response'          =&gt; 'Illuminate\Support\Facades\Response',
          'Route'             =&gt; 'Illuminate\Support\Facades\Route',
          'Schema'            =&gt; 'Illuminate\Support\Facades\Schema',
          'Seeder'            =&gt; 'Illuminate\Database\Seeder',
          'Session'           =&gt; 'Illuminate\Support\Facades\Session',
          'SoftDeletingTrait' =&gt; 'Illuminate\Database\Eloquent\SoftDeletingTrait',
          'SSH'               =&gt; 'Illuminate\Support\Facades\SSH',
          'Str'               =&gt; 'Illuminate\Support\Str',
          'URL'               =&gt; 'Illuminate\Support\Facades\URL',
          'Validator'         =&gt; 'Illuminate\Support\Facades\Validator',
          'View'              =&gt; 'Illuminate\Support\Facades\View',
          'Carbon'            =&gt; 'Carbon\Carbon',
  
      ),
  
  );
  </code></pre>
  
  <p>I kept gettig </p>
  
  <blockquote>
    <p>Function mcrypt_get_iv_size() is deprecated</p>
  </blockquote>
  
  <p>How can I prevent that ?</p>