Partial Password AuthenticationRecently, I switched to another bank, and after setting up the online banking credentials and trying to log in for the first time, I found a form similar to this one. The system requests characters Apr 13, 2026·8 min read·35
Using Unique Identifiers as Primary Key in MySQLUnique identifiers are used to distinguish one object from another. They are commonly used to identify entities such as users, files, processes, network devices, and other objects. Unique identifiers are often implemented using a numerical or alphanu...Apr 30, 2023·5 min read·1.3K
Sending Laravel Logs to Mattermost ChannelsMattermost is an open-source platform for communication and collaboration with integrations with many tools. It is mostly considered as an open-source alternative to Slack and Microsoft Teams. Although Laravel does not have an official log channel dr...Sep 23, 2022·2 min read·236
Preventing User Enumeration Attack in Laravel AppsUser enumeration is a brute-force technique that is used to collect or verify valid users' credentials. It belongs to the Identification and Authentication Failures category (AKA broken authentication) which came in 7th place on the Top 10 Web Applic...May 13, 2022·5 min read·1.7K
Adding PHPUnit Test Log and Coverage to GitLab CI/CD PipelineIn this tutorial we are going to setup a GitLab CI/CD job that can run your PHPUnit test suite and extract a testing report plus the overall coverage. First, we need to setup our server and install the required tools. DigitalOcean has many useful tut...Apr 22, 2022·7 min read·348
Laravel Static Code Analysis with PHPStanCode analysis is the process of testing and evaluating a program either statically or dynamically. Dynamic analysis is the process of testing and evaluating a program — while the software is running. It addresses the diagnosis and correction of bugs,...Feb 26, 2022·8 min read·425