Laravel Tip πŸ’‘

If your model uses ULIDs, Laravel 13.25 adds foreignUlidFor() to make foreign key columns cleaner.

Instead of manually defining the ULID column and foreign key:

$table->foreignUlidFor(User::class);

One less thing to repeat in your migrations.
image

Laravel Tip πŸ’‘

Repeating the same audit fields across migrations? Define them once with a custom Blueprint macro, then reuse them with $table->auditFields().

One place to maintain common migration fields, instead of repeating them everywhere.
image

GitHub Actions Tip πŸ’‘

Need to trigger a workflow in another repository?

We use repository_dispatch to automatically update mrpunyapal.dev/tips whenever the tips repo changes.

One repo can trigger another repo's workflow with a custom event. πŸ‘€
image