Learn how to get the current URL in Laravel using URL and Request facades and helpers, in controllers, Blade views, and including query parameters.
nabilhassen.com/laravel-get-current-url
The service pattern promised clarity but delivered chaos. Find out why it’s broken and how to fix it with a better & simpler architecture.
nabilhassen.com/laravel-service-pattern-issues
Discover how Pest modernizes PHP testing with expressive syntax, plugins, and fluent APIs, offering features PHPUnit never had, yet full compatibility.
nabilhassen.com/pest-vs-phpunit
Learn how to precisely rollback one or multiple specific Laravel migration files using the --path option for targeted, safe, and efficient database management.
nabilhassen.com/laravel-rollback-specific-migration
Learn how to safely rollback the last migration or batch of migrations without accidental data loss in Laravel. Master rollback commands, steps, dry-runs/simulation, and best practices for smooth rollbacks.
nabilhassen.com/laravel-rollback-last-migration