Partial Password Authentication
A scratch file never makes you finish the thought. This is my attempt to fix that.
10 posts, newest first.
A scratch file never makes you finish the thought. This is my attempt to fix that.
Explain the difference between PHP attributes and other forms of metaprogramming like AOP and decorators. and how PHP attributes are used.
Learn about PHP generics in Laravel 11, their usage, syntax, benefits, and how to handle related PHPStan errors
How to create refresh tokens with laravel sanctum
Learn how to use ULID as a primary key in Laravel with the ulid, foreignUlid and ulidMorphs schema methods, the HasUlids trait, and Str::ulid()
Learn how UUID and ULID primary keys affect InnoDB performance and storage in MySQL, and why sortable ULIDs are a better alternative to random UUIDs
Sending logs from Laravel application to a Mattermost channel using incoming webhook
Learn how login, password reset and registration can leak which users exist in a Laravel Jetstream app, and how to make responses consistent in both message and timing
Set up a GitLab runner and a Dockerized PHPUnit job that exports JUnit test reports and Cobertura coverage, so GitLab shows test results, coverage history and a badge in your merge requests
Catch bugs in a Laravel app before running it: install Larastan, pick one of PHPStan's ten rule levels, freeze existing errors in a baseline, and report code quality on GitLab merge requests