ITIgor Tverdokhlebinigorweb.hashnode.dev·Feb 5 · 1 min readLaravel: Get the Real IP from the cloudflareHow to get the real IP behind the cloudflare proxy? Easy class ReplaceCloudflareIp { /** * Handle an incoming request. * * @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next */ ...00
ITIgor Tverdokhlebinigorweb.hashnode.dev·Dec 1, 2025 · 5 min readFaking Eloquent with Http APIOne day you (or maybe not exactly you haha) wake up with the idea that some piece of software should finally stop talking directly to the database. Maybe you’re moving toward a service-oriented setup, maybe there’s a new API, maybe the DB just should...00
ITIgor Tverdokhlebinigorweb.hashnode.dev·Nov 17, 2025 · 7 min readFactorio in k8s? Well, why not?What do engineers do during their time off? Automate solutions in games! And the favorite game of many engineers is Factorio. Many people play Factorio "the old-fashioned way": one person hosts, and the rest connect. But if you have a group of people...00
ITIgor Tverdokhlebinigorweb.hashnode.dev·Nov 1, 2025 · 5 min readMigration of PHP service to GoLang via GRPC and RoadRunnerOn one of my previous duties we had a big monolith service that was written in PHP and performed the key task of reading data from MySQL via a self-written library consisting of models and repositories. It later did some magic with this data but that...00