tor2r
tor2r

Tor Lindgaard

@tor2r

Just started out with Laravel one year ago.

13 Posts 71 Views

  • No matching results...
  • Searching...

/ 255

So, I've recently complained about AI. Well...not today. I was setting up Mandril webhook with authentication. Did it once before in another framework (Codeigniter). But didn't want to do it all again. Claude made it for me. And, to me, surpise. It worked on first try. I'm able to recieve webhook, authorize and store events in DB. Friggin awesome. :)

89

Only me or? Have you ever ventured down the rabbit hole of an AI? Let's say you partially know what to do but need a litle help. You ask the AI and it starts out good, then it starts mixing different versions of Laravel (or other) and it all just becomes a mess you have to clean up.

99

So.. I'm creating my first package. My package is pretty simple, it's about making payments with a popular norwegian / scandinavian solution.

I'm pretty new to Laravel (1.5 years). The code is working, I've followed every points on the API checklist. And all is good.

But, I keep thinking, does the code look good? Am I doing something stupid? Am I naming variables, classes and so on correct? Could this be done in a smoother way? And the list goes on..

How the hell do you cope with this? Is it just me..or..?

3

226

Need different locale for your Laravel part of your site, while Filament should have another? Set your .env file to the "front-end" locale, while you create a middleware where the filament locale is set. Then register the middleware in your xxPanelProvider.php. Typical problem for norwegians where you got the no/nb issue with different packages.

336

So.. been spending the last few hours on a "bug" .... And I finally figured it out. And.. well. It wasnt a bug, but some server configuration. 1 line....1 line...

1

177