MrPunyapal
MrPunyapal

Punyapal Shah ⚡

Verified

@MrPunyapal

Laravel Artisan | Open Source Contributor | Speaker | Core Team @Pinkary 🤌 Creator of @LaravelArtisans 🙌
2K Posts 19K Views
  • No matching results...
  • Searching...

/ 255

Poll Options

People still call PHP “dead” 👀

Then you ask when they last tried modern PHP…

and suddenly the conversation gets very quiet 😭

PHP changed A LOT over the last few years.
image

24

There should be a skill for AI not to do silly things.

like adding a test if a class on an HTML tag exists after updating the UI.

Laravel 13.10 added a small but really useful improvement for queue workers 👀

We already had:

--stop-when-empty

But now Laravel also supports:

--stop-when-empty-for

Perfect for auto-scaling, temporary workers, and serverless setups.
image

56

PHP introduced `??` and `??=` years ago…

but I still see many developers stuck with ternary operators for default values 😅

Have you fully switched to null coalescing operators
or still using ternary out of habit? 👀
image

94

Laravel developers after discovering Collections:

collect($users)
->map(...)
->filter(...)
->groupBy(...)
->sortBy(...)
->values()

Could this be a simple `foreach` loop?

Yes.

Will we still use Collections?

Also yes 😭

88