
Full-Stack Dev | #Laravel & Vue.js Expert | Building SaaS tools & sharing tips @laravelphp Free Laravel Trends Guide → https://xitter.cf/t.co/Mvr4LGRY8C
Jhansi, Uttar Pradesh
Joined September 2021
- Tweets751
- Following1.4K
- Followers1.2K
- Likes512
Read replicas introduce a nasty class of bugs:
The user writes something successfully...
Then immediately reads it back...
And sees the old data.
The query is correct.
The database is healthy.
Nothing "failed."
It's replication lag.
Laravel 13.38 now includes PreventStaleDatabaseReads and DB::usingWritePdo() to help handle this explicitly.
Distributed systems often fail in ways that look perfectly normal.
#Laravel #PHP #Database
One thing today's PHP + Laravel security news reinforces:
Dependency updates aren't maintenance work you do "when you have time."
They are part of your application's security boundary.
A production team should know:
→ what's installed
→ what's vulnerable
→ which apps are affected
→ how to patch quickly
→ how to verify the patch
If your answer is "we'll check next sprint"...
That's not a dependency strategy.
#Laravel #PHP #SoftwareEngineering
Sadique Ali retweeted
What if PHP got a modern successor? 8+ yrs writing PHP/Laravel, and I built RHP:
🦀 Rust performance & types
⚡ Dart-style async via Tokio
🧩 Familiar Laravel syntax
🛠️ Auto-linter + single binary
Building in open—need feedback!
github.com/vuenice/rhp #PHP #Laravel #Rust
Laravel developers: check your authentication configuration.
A critical TokenGuard vulnerability can allow authentication as another existing user without knowing their API token.
It affects Laravel's built-in token guard with MySQL/MariaDB.
Fixed in:
Laravel 13.29.0+
Laravel 12.68.0+
If you're using the token driver, this deserves immediate attention.
#Laravel #PHP #Security
PHP developers: today is a patching day.
The PHP security team is releasing fixes for two critical vulnerabilities, both rated CVSS 9.2.
The release is scheduled for 14:00 UTC.
If you maintain PHP applications:
Don't wait until tomorrow.
Know which PHP versions you're running.
Know how you deploy updates.
Know how quickly you can roll back.
Security response time is part of production engineering.
#PHP #Laravel #CyberSecurity
There's a failure mode in multi-server Laravel apps that never shows up as an error. It shows up as a customer asking why they got the same email three times.
The cause is almost embarrassingly simple. Every server with a cron entry for schedule:run evaluates the whole schedule on its own. Each one asks which tasks are due this minute, gets the same answer, and runs them. Nothing coordinates between servers, because the scheduler has no idea the others exist.
onOneServer() fixes that with a cache lock: the first server to start a task takes it, and the rest skip. The catch is that it's per task. The pull request behind Laravel 13.35 describes how people usually patch it: wrap the whole routes/console.php in a group. That works until someone adds a task outside the braces. The author's own phrasing was that it relies on everybody remembering it forever. A protection that depends on code structure and reviewer vigilance erodes silently, because an unprotected task behaves identically to a protected one on a single-server dev machine.
13.35 replaces the convention with a default. Schedule::alwaysOnOneServer() in your service provider covers every task, including ones defined after the call.
What I'd actually spend time on is what it depends on. Closures without a name() are skipped silently, so they still run on every server with no warning, which is the exact symptom you were trying to cure. The lock lives in the cache, so a per-server file store means every server wins its own lock. And there's no per-task opt-out, so a schedule with real per-machine housekeeping shouldn't use the flag at all.
The practical move is ten minutes of proof: grep your Schedule::call( closures, confirm the cache store, and log gethostname() from a before() hook on one real run. One hostname means it worked.
The same release adds a clean way for long runInBackground() commands to stop during a deploy. That's a smaller change with the same shape: it only works if the command is written to be stopped.
Full breakdown in comments.
On my father's phone I got this JOVI home screen. Check the train PNR it is not been generated yet. Also the train doesn't comes to VGLB station and most importantly it's date is 5/22/2029
Question: Is AI predecting the future.
Thinking 🤔
Laravel Cloud now integrates directly with Resend for transactional email.
What I like about this isn't the integration itself.
It's the direction.
Infrastructure products are increasingly trying to remove the boring glue between:
App → email → domains → deployment → monitoring.
For small teams, every piece of operational friction matters.
The interesting question is:
How much infrastructure should developers still have to configure manually in 2026?
#Laravel #PHP #SaaS #DevOps
Inertia.js v3.9 just added a small but important behavior:
Polling can now pause when a browser tab goes into the background.
This sounds minor.
But think about how many dashboards, notifications and live-ish UIs are polling unnecessarily while nobody is looking at them.
Small framework improvements like this can quietly reduce:
→ requests
→ server load
→ battery usage
→ wasted work
Good engineering isn't always about making things faster.
Sometimes it's about not doing unnecessary work.
#Laravel #InertiaJS #VueJS
We're going to see more Laravel applications with AI agents.
But I think the hard part won't be calling the model.
It will be controlling what the agent is allowed to do.
Read-only tools.
Write tools.
External APIs.
Database access.
Human approval.
Audit logs.
The model is only one part of the system.
The permissions architecture may matter more.
#Laravel #AI #SoftwareEngineering
Laravel AI SDK 1.1 adding Agent Skills is more interesting than it looks.
Instead of putting every instruction into one giant system prompt, skills let an agent load domain-specific knowledge when it actually needs it.
That's a better direction for serious AI applications.
Smaller context.
More focused instructions.
Easier maintenance.
AI agents need architecture too.
#Laravel #AI #PHP
There's a bug I keep seeing in AI features, and it never shows up as a bug. It shows up as a decision that was quietly wrong with full confidence.
A moderation check flags a comment. Nobody asks how sure the model was. By the time the result reaches the if statement, a 51% guess and a 99% guess have both become the same true. The uncertainty didn't get handled badly. It got thrown away somewhere upstream, in a parsing step nobody examined closely, before your code ever had the chance to see it.
I spent some time with a different approach this week. Jev, an AI model from TypeSafe, answers a typed yes/no question with a calibrated probability instead of text you then parse. The Decide with Jev course on Laravel News builds a content preflight checker around it, and the example makes the contrast concrete: a complete draft scores 0.96, a thin one that never gives a concrete step scores 0.02, and a genuinely mixed one lands somewhere that doesn't resolve to either.
That mixed case is where it earns its keep. Instead of forcing it into true or false, the SDKs expose isTrue(), isFalse(), and isUncertain() with thresholds you set. Three outcomes instead of two, because the third one actually exists in the model's output.
It also surfaced the cost, and it's real. You now have to decide what happens to the uncertain middle. Human review is the obvious answer, but not every feature can afford it at volume. And the threshold itself, whether 0.75 is the right line for denying a refund, isn't a technical default. It's a business decision about which mistake you'd rather make, and a boolean API let you avoid ever having to make it consciously.
One honest caveat: the course is weeks old and the Laravel packages are unofficial. I found three independent wrappers published in the same short window. That's a sign of interest, and also of an ecosystem that hasn't settled yet.
Full breakdown in comments.
Laravel 13.35 is another good example of why I like Laravel's release cadence.
Route::query()
Model::defaults()
Neither sounds revolutionary.
But good frameworks aren't built only through revolutionary features.
They're improved by repeatedly removing small pieces of friction from everyday development.
That's what makes a framework feel better after you've used it for years.
#Laravel #PHP #WebDevelopment
Laravel AI SDK 1.1 just landed with Agent Skills and Cohere Chat.
What interests me isn't simply adding more AI providers.
It's the direction:
Laravel is moving toward giving developers higher-level primitives for building AI applications instead of making every team build its own abstraction layer.
That's the part worth watching.
The interesting question now is:
What will we build with these primitives?
#Laravel #AI #PHP
PHP 8.6 RC3 is out today.
The final release is currently scheduled for November 19.
I'm always more interested in what this means for Laravel developers than the feature list itself:
Don't wait for the stable release to discover that your dependencies, extensions, CI pipeline, or deployment environment have a problem.
RC releases are a great time to test your stack.
Not production.
Testing.
#PHP #Laravel #PHP86
The Pinkary migration from Laravel Forge to Laravel Cloud is a useful reminder:
Infrastructure migrations rarely fail because the deployment command is difficult.
They fail because the application quietly depends on infrastructure assumptions.
Local filesystem.
Database behavior.
Queries.
Environment configuration.
Storage.
The framework may be portable.
Your assumptions often aren't.
That's where migration work really lives.
#Laravel #PHP #SoftwareEngineering
One of the Laravel Cloud changes I find genuinely useful:
Preview environments can now scale to zero.
That's a better combination than it initially sounds.
Every PR gets a real environment.
You can test the actual application.
But you're not paying full compute cost while nobody is using it.
For teams shipping frequently, this is much more interesting than another dashboard feature.
#Laravel #DevOps #SaaS

