Nicolas Perraut's Avatar

Nicolas Perraut

@tuarrep.dev.bsky.social

Building useful and customer tailored payments solutions (card issuing, TapToPay, complex funding schemes)

20 Followers  |  67 Following  |  116 Posts  |  Joined: 02.11.2024  |  2.4448

Latest posts by tuarrep.dev on Bluesky

This week I let Laravel Nova a second chance to seduce me.

I’m a convinced Filament adept so it’s a tedious task πŸ˜…

But as it’s a client’s choice…

18.08.2025 10:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I prefer a CI rule that removes the down method with Rector, for example.

Having something in the code base implies using it one day or another, even if you know you shouldn’t :)
So better remove it.

01.08.2025 16:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I’m joining the dev-only-down-migration team. When iterating, it’s easier to migrate down then up after changing the original file.

But I agree with Freek on everything in the context of prod/staging/sandbox.

Same goes for reverting a commit, by the way.

01.08.2025 16:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Excellent read, but be prepared to receive more and more questions when you ’ll master this art.

People will really love to ask you questions because you really solve their problems.

30.07.2025 20:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
a cartoon of a lobster laying on a pile of snails ALT: a cartoon of a lobster laying on a pile of snails
17.07.2025 20:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Partial mocks in Laravel are pure gem

15.07.2025 19:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Excellent evening read

08.07.2025 21:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Good Sunday read and a good opportunity to thank @driesvints.com again for his amazing work on the billing packages 🫢

06.07.2025 08:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I was playing with Suno with some colleagues last week, and we made some hard rock lullabies after a prompt misunderstanding by Suno.

Perhaps we should try with heavy metal? πŸ˜…πŸ˜­

Here is β€œPetit escargot” I know you’ll love it πŸ˜…
suno.com/s/PgW7NxZZGI...

29.06.2025 08:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yes, but I should have thought about it when creating tests (or I stumbled upon them in production 😬)

06.06.2025 18:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Do you offer dual-nationality? I can’t choose between the nunonation and the @spatie.be nation citizenship πŸ˜…

04.06.2025 17:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Nice one!

04.06.2025 16:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Typescript allowed me to catch bugs early, mainly related to null values.
I’ve added a lots of conditions for some edge cases thanks to it.

04.06.2025 16:55 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thanks! I understood in 15 minutes, sometimes that I struggled with for 15 years.

You’re an incredible teacher and your site is a goldmine

13.05.2025 07:18 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Love this workaround, I’ll adopt it

13.05.2025 07:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Congrats!

I haven’t had an opportunity yet to try preliminary versions, but I definitely will try beta ones.

It looks very promising!

08.05.2025 07:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What a smart idea πŸ’‘

07.05.2025 13:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes, it’s one of the advantages, but what I love overall is I can centralize almost any IOT brands under one app, to control them, automate things, create links between them…

One app to rule them all :)

07.05.2025 13:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Have you tried Home Assistant?

I have a pretty good setup right now, and I can control almost everything from anything independently of the brand.

I hosted it on an old raspberry pi in my closet.

07.05.2025 11:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

πŸ’ͺπŸ’ͺ

24.04.2025 22:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

1

24.04.2025 22:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Should have thought about it… thanks

18.04.2025 17:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

To be clear, the docs are remarkable, really.

But I lack of architectural concepts.

For example, I struggle with reactivity and passing data to child components.

Moreover, I think I’ve messed up with Alpine in Livewire components.

The paradigm is different from Vue.js, I don’t really get it yet.

17.04.2025 22:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Hey #laravel community!

The past years, I’ve mainly focused on SPA (Vue.js) powered by Laravel API.

For a small project, want to (re)learn Laravel-ish frontend.

I know Blade well, I think Livewire is great for what I want to do, but I’m a bit confused.

Do you have some crash course?

17.04.2025 22:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Almost all my devices are from Ali.

Basically, they are all the same, an ESP board connected to Tuya servers, whenever the brand.

15.04.2025 23:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Events | Stripe API Reference Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.

The documentation says:
β€œEvents occur when the state of another API resource changes. The event’s data field embeds the resource’s state at the time of the change.”
docs.stripe.com/api/events

As the payload contains changed values since the previous state, events must be ordered.

13.04.2025 19:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I can confirm that events a correctly ordered in events api.

Have you tried Workbench yet ?

docs.stripe.com/workbench

You could check events there, and they are ordered.

11.04.2025 14:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I don’t think so, as some events are not delivered to you if you do not ask them in your event destination configuration.

11.04.2025 06:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Finally! Thanks a lot, no more up and down scrolling.

10.04.2025 06:51 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Smart enough πŸ€“

06.04.2025 20:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@tuarrep.dev is following 20 prominent accounts