When I started this blog, my goal was simple: write about technology and share my experience with the tools and technologies I work with. Even in my last article about the internet blackout in Iran, I deliberately avoided discussing politics, or the......
If you can read this post, it means I’m super lucky that this post has published from my computer to GitHub, and after that, on the Cloudflare page. As of 8 November 2026, we don’t have access to the internet in my country. In this post, I don’t......
Let me clarify that the 2000% speed boost I achieved was from a subsequent build of a Laravel app. You may not see the same improvement in every situation, but this enhancement significantly helped me. I like to ship websites quickly. When I fix a bug......
In the PHP ecosystem, there are two well-known testing frameworks: PHPUnit and PestPHP. PHPUnit is much older and considered the standard in the ecosystem; however, Pest is newer. In the early days of Pest, the only thing Pest had to offer was the new......
The last time the PHP release cycle changed was in 2010 with the acceptance of Release Process RFC after 14 years PHP accepted yet another RFC that changed the Release Cycle and the support policy for all active maintenance php versions including php......
I have a habit of checking all my email and message notifications first thing in the morning to ensure that there are no unread notifications, as I find them distracting. For years, I have been relying on Windows Mail to manage my emails. I have tried......
Macro is a simple mechanism that lets you add extra functionality to the classes that use the Macroable trait. For example, in my filament-jalali-datetime plugin for filament, I added a jalaliDate method to the filament......
In my previous blog post How do I backup my websites, and why should I improve, I described how I backup my websites. In that article, I mentioned some problems with my backup plans. Since then I deployed a local NAS in my home using TrueNAS and......
If you are reading tech news this day, you probably heard about the AV1 video coding format. AV1 will reduce file sizes without losing quality. It s the next big coding format that big tech giants start supporting in their hardware and software. AVIF is......
For Laravel developers, having a standardized code style for each project is crucial. It makes the code more readable and gives the entire project a uniform look. However, adhering to these guidelines while focusing on writing code can be challenging.......
In the old days, I didn t have any backup plans, and the only time I needed my website backed up, I was lucky that my host provider had an automatic backup system. I could restore my website using those backups, but I lost a week of data because the......
Code-splitting and Lazy-loading Alpine Components using Async Alpine With AlpineJs, you can create components in two ways: using inline HTML markup or the Alpine.data() function to define a component globally and use it throughout the......
As you know, in traditional Laravel applications, the PHP process will run the application from the ground up with each request, and the PHP process can only handle one request at a time. But in Laravel Octane, the application will bootstrap once at the......
Laravel Sail is a development environment that uses docker under the hood. By using Laravel Sail, you can use the power of docker without knowing much about it. It has pre-defined services for your applications, including a web server, database, Redis,......
As someone that uses Laravel and PestPHP, I am used to the beautiful CLI outputs. Nala is like a skin for apt with human-friendly outputs. For example, look at the picture below which one do you prefer? Besides the beautiful CLI outputs, Nala adds......
Laravel has localization tools that help you translate your applications into any language you want. But by default, all the Laravel Lang files include the English language. And if your application needs other languages you must create and manage lang......
If you managed a server on your own you know that configuring everything correctly is a very hard job to do. Handling Nginx configuration, issuing SSL Certifications securing the services, etc. Now imagine if you want to run more than a service on a......
Larastan is a wrapper around PHPStan for Laravel, and it let you test your source codes without writing any tests. PHPStan is a static analyzer for PHP and it s working with legacy and modern codes. Since lots of Laravel works magically PHPStan needs......
Writing tests is time-consuming and tedious. But if you want close your eyes without fear at night, having good tests in your applications is essential. With Pest, testing is much more enjoyable. It has a simpler syntax compared to PHPUnit. The test......
The filament is a collection of tools for rapidly building beautiful TALL Stack apps, designed for humans. - https://filamentphp.com/ The filament is the open-source alternative of the Laravel-Nova package. Filament v2 is an admin panel builder at its......
As a Laravel developer from the WordPress + Bootstrap + Jquery era, TALL Stack looks like a DreamLand for me. TALL Stack stands for TailwindCSS + AlpineJS + Laravel + Livewire. Livewire home page says : Building modern web apps is hard. Tools like......
As a developer, I ve always wanted to have a blog to share things that I learn and use with others. I ve had another blog before that was in Persian but I didn t have time to maintain it and finally, it goes offline. But this time I have some goals to......