A Laravel service provider to set the real IP address in Laravel Request
for applications behind Cloudflare's reverse proxy.
Just install the package using composer, Laravel auto package discovery will take care of the rest.
composer require kesarawimal/php-cloudflare-real-ip
This package is based on molayli/laravel-cloudflare-real-ip.