Craig Potter π»π retweeted
If youβre stressed out about these patches and youβre on Laravel Forge, this is how we are patching a large fleet of servers across organizations today using recipes and letting agents do the heavy lifting.
scalpels.app/guides/patch-foβ¦
Craig Potter π»π retweeted
Typo alert: Some customers saw quadrillion-dollar AWS billing estimates today. Slight miscalculation on our end (very slight π
).
We're fixing it now. No action needed on your end. Sorry for the confusion.
Real question: what will you do with those trillions instead?
Craig Potter π»π retweeted
Claude Code isn't single-threaded. Run 4-6 sessions at once, each with its own git worktree. Plan in one, implement in another, debug in a third. You're never waiting. recombobulate.dev/tips/run-mβ¦
Craig Potter π»π retweeted
I never write down migrations.
Down migrations are the least tested code in any Laravel app. They're written once and never run.
And when you do need to roll back, you don't know beforehand what you need to do with the data would already be stored in the updated schema.
Craig Potter π»π retweeted
2022: No salary increase
2023: No salary increase
2024: No salary increase
2025: No salary increase
2026 :
Employee: Please accept my resignation.
Boss: Youβre doing great. Why are you resigning?
Employee: I accepted an offer with a 95% base salary increase and guaranteed yearly salary cycles as long as I meet my performance goals set by my manager.
48 hours later...
Boss: We will match the 95%, please stay, we need your work!
Employee: Unfortunately, itβs too late. Friday is my last day.
Leaders of organizations need to understand their teamsβ motivation every month. Every employee is motivated by different things in different periods. Take care of your good employees before it is too late
Craig Potter π»π retweeted
Getting into public speaking? Here are 10 things I've learnt over the last few years.
james.brooks.page/blog/gettiβ¦
Craig Potter π»π retweeted
v4 beta features -> filamentphp.com/content/leanβ¦
Craig Potter π»π retweeted
What are MCP servers, and why should I care?
I took a look into MCP servers, what they are, how we might use them, to figure out if they're just the next hype train - or something actually useful.
juststeveking.com/articles/wβ¦
Craig Potter π»π retweeted
You can now assign a name to queued closures, which will be displayed by the queue:work command. Makes it super easy to see which exact queued closure is being processed. β
Craig Potter π»π retweeted
Laravel tip.
You have a NULLABLE `BelongsTo` relationship?
And you still want to provide a FALLBACK value if related model is empty?
Use the `withDefault()` method when defining the relationship.
Link to the docs: laravel.com/docs/12.x/eloqueβ¦
#practicalLaravelDocs
Craig Potter π»π retweeted
A Guide to Custom Model Casts in Laravel π
ashallendesign.co.uk/blog/cuβ¦
Craig Potter π»π retweeted
Ever wondered how Laravel handles multiple swappable drivers for Cache, Storage, etc. with a unified API? π€
It's the Manager Pattern! And you can very easily create your own.
Here's a quick guide: π
laracasts.com/blog/the-managβ¦
// Newton
Craig Potter π»π retweeted
πββοΈ Hold up, wait there, it's not the weekend just yet and I accidentally found the best way to share one time secrets - just use SSH & GitHub public keys π€―
That way, only the person with the valid SSH key can access the secret π so it's as secure as git clone with Github π₯
Look at this awesomeness π Hopefully @taylorotwell can see my secret with: ssh [email protected]
Craig Potter π»π retweeted
Ever wanted to have your pet live in your macOS dock?
Docko is now available - go download it for free on the AppStore today πΆπ±
Craig Potter π»π retweeted
I kind of added v1 of mouse support to Laravel Prompts π±οΈ because my pure PHP SSH server was being silly π
We have drag & drop, hover, left/right click, and mouse wheel support π€―
Here's a demo and repo π What will you build?
Big shoutout to @joetannenbaum 's blog post on hacking Laravel Prompts for fun and profit, and @aarondfrancis's 'soloterm/grapheme' library π
Craig Potter π»π retweeted
Here's a cool Laravel 11 and 12 tip:
Don't call route files inside other route files.
Leverage bootstrap/app.php:
Craig Potter π»π retweeted
Add These to Every New Laravel Project
codecourse.com/articles/add-β¦
Craig Potter π»π retweeted
Today on Laracasts, join @simonswiss as he walks through everything you need to about these starter kits.
laracasts.com/series/simons-β¦
Craig Potter π»π retweeted
Reminder: only Laravel 11 and upcoming v12 will release security fixes.
Laravel 10 is not officially supported anymore already.
Read more here: laravel.com/docs/master/releβ¦























