Axel Libori Roch
banner
axliro.bsky.social
Axel Libori Roch
@axliro.bsky.social
Father of one 🧑, wheelchair user ♿, Backend developer, Laravel lover, code addict and author of https://paternitatsobrerodes.cat/

https://axliro.dev
🚀 Did you know there’s a growing @laravel.com community in Catalonia?

Join us on Telegram to connect, share knowledge & boost the local PHP scene!
👉 t.me/+Nm7rMxxF4rA...
#Laravel #Catalonia #PHP #Developers
Laravel Catalunya 🐘
🎉 Benvingut/da a Laravel Catalunya! Som una comunitat oberta de desenvolupadors/es i entusiastes de Laravel a Catalunya. El nostre objectiu és compartir coneixement, resoldre dubtes, impulsar project...
t.me
October 4, 2025 at 7:34 PM
The highest level of PHPStan!
September 12, 2025 at 7:10 PM
Reposted by Axel Libori Roch
Ryan Weaver, a Symfony contributor and SymfonyCasts founder/teacher, passed earlier this week after a long and hard fight with a brain tumor. He was a giant in the community ❤️

#php #phpc

obits.mlive.com/us/obituarie...
Ryan Weaver Obituary (2025) - Grand Rapids, MI - Grand Rapids Press
View Ryan Weaver's obituary, send flowers and sign the guestbook.
obits.mlive.com
August 28, 2025 at 6:04 PM
🔒 Laravel tip: Put your app into maintenance mode but let in anyone with the secret key 👌
php artisan down --with-secret
Perfect for testing without bothering real users.
📚 laravel.com/docs/12.x/co...
#Laravel #PHP #DevTips
Configuration - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
laravel.com
August 14, 2025 at 5:54 PM
Reposted by Axel Libori Roch
🚀 Laravel Boost is here

Let me show you how to elevate your AI tools and boost your Laravel development.

youtu.be/sUtRcpma8iU

PS: Thank you @ashleyhindle.com 👏
Getting Started with Laravel Boost
YouTube video by Laravel
youtu.be
August 13, 2025 at 7:14 PM
This might be a controversial take, but instead of companies spending money on AI tokens for all their devs, they should pay for specialized IDE licenses like PhpStorm and reserve the tokens for senior devs only.
Thoughts?
August 13, 2025 at 7:43 PM
I don’t like at all seeing AI take the wheel of code delivered by a dev, instead of the other way around. Is that an improvement?
August 13, 2025 at 6:54 PM
Laravel’s Soft Deletes let you “delete” records without losing data, just add the SoftDeletes trait to your model and a deleted_at column. Perfect for restoring later! 🗑️➡️♻️
Docs: laravel.com/docs/12.x/el...
#Laravel #PHP #WebDev
Eloquent: Getting Started - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
laravel.com
August 13, 2025 at 6:47 PM
🚀 We’ve launched the official Telegram channel for @laravel.com Catalunya!
Connect, share & learn with Laravel devs across Catalunya.
📲 Join: t.me/+Nm7rMxxF4rA...

#Laravel #LaravelPHP #PHP #WebDevelopment #LaravelCommunity #Catalunya #Developers
Laravel Catalunya 🐘
🎉 Benvingut/da a Laravel Catalunya! Som una comunitat oberta de desenvolupadors/es i entusiastes de Laravel a Catalunya. El nostre objectiu és compartir coneixement, resoldre dubtes, impulsar project...
t.me
August 10, 2025 at 7:13 PM
Reposted by Axel Libori Roch
Acabem de crear una comunitat de Laravel Catalunya! Si et mola Laravel i ets per la zona, pot ser t’interessa.

t.me/+Nm7rMxxF4rA...
August 10, 2025 at 3:16 PM
Laravel’s Cache::flexible() uses stale-while-revalidate to keep responses fast ⚡ and fresh. Serve now, refresh later. Docs: laravel.com/docs/12.x/ca...
#Laravel #PHP #Caching
Cache - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
laravel.com
August 9, 2025 at 3:30 PM
Taking the first steps towards building a @laravel.com community in Catalonia.
The goal is to connect passionate devs, share knowledge, and grow together around this amazing framework.
If you're based in Catalonia, stay tuned!
#LaravelCatalonia #LaravelCommunity #WebDevelopment
August 5, 2025 at 8:30 PM
🔄 In Laravel, you can validate related booleans.
Using boolean + accepted_if, you can require that at least one is true when the other is false. Perfect for cases like "online" vs "in person".
#Laravel #PHP #Validation
August 5, 2025 at 6:25 PM
After reading an article by @freek.bsky.social and watching a few of @nunomaduro.com streams, I’ve realized it’s "pretty common" to skip the down method in migrations. Might be time to join the trend and simplify mine?
#Laravel #PHP
freek.dev/2900-why-i-d...
Why I don't use down migrations | freek.dev
Every once in a while, someone opens a PR on one of our open source packages adding a down function to the migration. I usually close those PRs fast with a thank you and a message “We don’t use down m...
freek.dev
August 2, 2025 at 8:08 PM
💡 If you're using the Cache facade in Laravel to store data, don’t forget to define how and when it should be cleared 🧹
Avoid surprises and stale data with strategies like observers, events, or well-defined TTLs.
#LaravelTips #PHP
July 31, 2025 at 6:14 PM
Using Laravel and have first_name and last_name in separate columns? You can still filter by full name using a subquery with CONCAT. Handy trick when you need flexible name searches!
#Laravel #PHP
July 29, 2025 at 5:53 PM
🚨 The #[CurrentUser] attribute in Laravel is awesome for accessing the authenticated user directly… but watch out! If the route isn’t protected by the auth middleware, it can return null. Don’t get caught off guard!
#Laravel #PHP
July 25, 2025 at 2:28 PM
Tired of always making the same tweaks every time you create a model, controller, or migration in Laravel? 😩

Do it once and forget about it:

php artisan stub:publish

Customize the stubs and let Laravel generate code your way. 🛠️✨
#Laravel #PHP #DevTips
July 23, 2025 at 3:34 PM
💡 When you only need to verify part of the JSON response in a test, use assertJsonFragment.
It’s great for making your tests more robust and less fragile to payload changes.
#Laravel #PHP #Testing
July 18, 2025 at 7:05 PM
💡 Did you know you can add multiple columns after another one in a single call with Laravel?
It's clean, elegant, and keeps your DB tidy.
Thanks Povilas Korop for the tip!
#Laravel #PHP #LaravelTips
July 14, 2025 at 3:46 PM
🚦 Need a quick overview of your database migrations in Laravel?

Run:

php artisan migrate:status

✅ See which migrations have run and which haven't.
#Laravel #PHP #DevTips
July 11, 2025 at 7:44 PM
In Laravel 11, the implicit per_page handling in paginate() became explicit. One way to bring back that magic is by using the Context facade.
#Laravel #PHP #Laravel11 #WebDev #Backend
July 3, 2025 at 5:47 PM
🔒 $hidden won’t protect a property of a model if you access it manually in an API Resource. Need control? Use separate resources.
#Laravel #APIResource #PHP #DevTip
July 2, 2025 at 7:12 PM
🔥 Nova tip: Want to search by full name? Use DB::raw in searchableColumns()!
Now you can search for "John Doe" like a pro. 🧙‍♂️
#Laravel #LaravelNova #PHP
July 1, 2025 at 5:41 PM
📌 Laravel tip:
Keep your app timezone and display timezone separate.
This idea is from the @benholmen.com @laravelnews.com YouTube channel: store everything in UTC, display it in your preferred local timezone.
Great for clarity and consistency!
#Laravel #PHP #Carbon
June 20, 2025 at 7:13 PM