You must upgrade your laravel project. mcrypt is deprecated in php 7.1.
You can simply disable the obsolete warning in the php configuration (or add @ before any mcrypt function) if you don't have time to upgrade.
Be careful! it will be completely removed in 7.2 +
Edit: for php 7.2 it is removed in the kernel, but you can add mcryt as a pecl extension.
source share