axliro.dev
Blog

Articles

Thoughts, tutorials, and insights about software development, PHP, and the Laravel ecosystem.

· 2 min read

Refactor Your Laravel Project With Rector

Keeping a Laravel project up to date and maintaining clean code can become costly as it grows. This is where Rector becomes a key tool.

Read
· 1 min read

Laravel Catalunya: Official Launch!

The idea of starting a Laravel community in Catalonia has been on my mind for a long time. Finally, about two months ago, I decided to move forward and make it happen!

Read
· 3 min read

How to Log Out From Our Apis Using Laravel Fortify

When developing an API for a mobile application or a SPA with Laravel, a robust option for authentication is to use Laravel Fortify. In this article, we’ll explore how to properly handle logout for users, especially when using Laravel Sanctum.

Read
· 2 min read

How to Show a Relationship Counter in the Laravel Nova Resource Index

Sometimes can be useful to display a counter of the results of a relationship in the index of a resource. This can enhance the user experience and provide a clearer view of the relationship between resources.

Read
· 3 min read

How to Use the Cache Facade in Laravel to Reduce the Number of Queries

Laravel provides an easy way to use cache through its facades, which simplify interaction with various caching services such as Redis, Memcached, or even the file system.

Read
· 1 min read

My "must Use" Laravel Packages

In every new Laravel backend project I start there are a number of packages that are a ‘must’ install for me. From packages that increase development speed to packages to manage database queries.

Read