twithers
twithers

Tim Withers

@twithers

My dev bio got me feeling like that Titanic meme: "It's been 84 years"
12 Posts 155 Views
  • No matching results...
  • Searching...

/ 255

Poll Options

Tim Withers

@twithers

Composer Script of the Day for Laravel + Cashier + Stripe

"stripe-listen": [
"Composer\\Config::disableProcessTimeout",
"stripe listen --forward-to=$(php artisan tinker --execute=\"echo route('cashier.webhook');\")"
]


No more needing to remember the flags or webhook urls. Just run "composer stripe-listen" and you will start receiving your stripe events.

1

128

A post would be too much. You can just click the Share icon on the site/url, and Add to Home Screen option.

1

151

Anyone else having issues with Laravel Idea and latest version of Laravel 11? I just re-generated all the helpers, and now my autocomplete is broken and PHPStorm isn't happy.
image

1

179

Tim Withers

@twithers

I figured out that the generated models extended a new /mixed class instead of _BaseCollection. Search and replace fixed it for now.

I also noticed it only happens in Laravel 11, not 10. I am wondering if it is related to the docblocks switching to phpstan generics a few weeks ago.

210

Tried to do a PR to Horizon a couple weeks ago for a command I regularly use. It wasn't accepted, so I created a package.

Working with several queues on Horizon and want to clear them all with a single command? `artisan horizon:clear-all` to the rescue!

github.com/TWithers/laravel-horizon-clear-all

122

Joining Pinkary to be one of the cool kids. Is it working?

166