2025-12-25 17:15:42
Only 3 #laravel devs listed in #yvr?
Gotta be more of us than that.
https://phpc.social/@denniskoch/115554
π PHP 8 feature: Constructor property promotion simplifies everything. Write public function __construct(public readonly string $customerId, public readonly array $items) {} - clean, typed, immutable.
π #Laravel specific: Use $fillable arrays and $casts for Eloquent models. Use Attribute accessors for computed properties. Never add undefined properties directly to models.
I dare you to build a website with plain #php, json markdown and csv. No sql, no laravel, no twig