Blog

ID Obfuscation in Laravel: A Simple and Effective Solution
Code Php

This article describes a lightweight way to obfuscate integer IDs in a Laravel application. Instead of UUIDs or complex cryptographic methods, it uses XOR and base_convert — a fast, native PHP method that improves security and URL appearance without affecting database performance.

author
Dmitry Mikhailov
Aug 19, 2025
226 Reading time ~2 min Сontinue reading
Fluent CLI in PHP: Creating Console Commands with __call and No Boilerplate
Code Php

PhpFluentConsole is a command line library for working with a fluent interface. It provides flexible capabilities for creating and executing command processes, as well as support for various encodings, such as CP866, CP1251, UTF-8 and others, which is especially useful when working with Cyrillic in Windows. The library also includes a system for filtering arguments, as well as capabilities for flexible output parsing using regular expressions.

author
Dmitry Mikhailov
Jul 10, 2025
357 Reading time ~3 min Сontinue reading