Sign in

Patrick O’Meara

@patrickomeara.bsky.social
124 followers 169 following 54 posts

CTO @maintainly.com, father, @phpmelbourne.com organiser, soda water enthusiast. Laravel | Typescript | React | Expo. Living in Naarm via Yorta Yorta

PostsRepliesMedia
Patrick O’Meara @patrickomeara.bsky.social · 16/12/2024
I would also suggest trying the database installed on the runners to see if that helps.
000
Patrick O’Meara @patrickomeara.bsky.social · 04/12/2024
A while ago I refactored our #TypeScript SDK so that the method call matches the @laravelphp.bsky.social route names. It's a much nicer DX, even the request and response data is typed. I'll write this one up into a blog post at some point.
Code showing a much nicer way to make API calls.
050
Patrick O’Meara @patrickomeara.bsky.social · 04/12/2024
If you're using @laravelphp.bsky.social's `ThrottleRequestsWithRedis`, clearing the attempts can get a little tedious. This is due to the Redis database connection being used instead of the Cache, and the key being md5 hashed. Here is a trait that is particularly helpful in Dusk Tests.
A PHP Trait that helps clear route attempts.
060
Patrick O’Meara @patrickomeara.bsky.social · 04/12/2024
I needed one of my favourite @laravelphp.bsky.social helpers in TypeScript. So simple, but so helpful for cleaning up code.
The Laravel tap helper function re-written in typescript.
020