Tootfinder

Opt-in global Mastodon full text search. Join the index!

@michabbb@social.vivaldi.net
2025-12-25 17:15:41

πŸš€ 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.

@emd@cosocial.ca
2025-11-15 18:14:15

Only 3 #laravel devs listed in #yvr?
Gotta be more of us than that.
phpc.social/@denniskoch/115554

@crell@phpc.social
2025-10-10 00:55:01

Running #Lando on GitHub Actions. #Laravel #PHP

@benke@social.linux.pizza
2025-12-09 11:52:37

Be affraid #php #laravel

merging into master
@emd@cosocial.ca
2025-11-05 01:42:49

Any PHPStan/Larastan experts out there? Currently on level 2 and getting an error about a missing var. I don't really want to add another line to fix nor do I want to ignore this line, is there a better way?
Maybe @… knows?
#laravel

PHP code:

/** @var User $user */
if (is_null($user = auth()->user())) {
Variable $user in PHPDoc tag @var does not exist.
varTag.variableNotFound
@michabbb@social.vivaldi.net
2025-10-05 08:08:05

πŸ”„ Built-in retry mechanism to handle database deadlocks automatically with configurable attempts
πŸŽ›οΈ Multiple database connection support for complex multi-database applications
βš™οΈ Requires #PHP 8.1 or higher and #Laravel 10.x or higher for installation
πŸ”Œ Simple installation via

@michabbb@social.vivaldi.net
2025-10-05 08:08:05

🎯 E-commerce order processing example with inventory management and payment processing
πŸ’° Banking transfer service example with balance validation and automatic rollback on errors
πŸ‘€ User registration example with profile and settings creation in single transaction
πŸ§ͺ TransactionException error handling for comprehensive failure management
πŸ” Nested transaction support using #Laravel

@michabbb@social.vivaldi.net
2025-12-15 14:57:32

yes, itΒ΄s worth the money... #php #phpstorm #laravel #coding

@michabbb@social.vivaldi.net
2025-10-05 08:08:04

πŸ“¦ #Laravel Auto Transaction package eliminates manual database transaction management #PHP #database #opensource