freek.dev newsletter #178

Hi there!

Welcome to the 178th freek.dev newsletter!

My colleagues at Spatie and I are starting a new newsletter called href.email. Each edition will contain a dose of interesting links about tech, dev & design. Since you're subscribed to the freek.dev newsletter I'm quite certain that you'll like href.email as well.
You can subscribe here!

With that out of the way, here are a couple of links I hope you'll enjoy as much as I did.

State of Generics and Collections
Generics have been on the list of wanted features for a long time by numerous PHP developers. This article explores the different approaches, and what their current state is.

PHP 8.4 Property Hooks
The "property hooks" feature that will be added in PHP 8.4 looks quite interesting.

Product for Engineers: Helping engineers flex their product muscles (sponsored link)
Product for Engineers is PostHog’s newsletter dedicated to helping engineers improve their product skills. Subscribe for free to get curated advice on building great products, lessons (and mistakes) from building PostHog, and deep dives on top startups.

New Array Functions in PHP 8.4
Read about how to use PHP 8.4's new functions.

Build and Cache Frontend Assets once using GitHub Actions
Learn how to use GitHub Actions to speed up your Deployer deployments by cleverly caching your frontend build assets

Plain Vanilla Websites
This is an overview of the major techniques used to make web sites and web applications without making use of build tools or frameworks, with just an editor, a browser, and web standards.

From MySQL to Typesense: Blazing-Fast Full-Text Search in Laravel
Learn how to add full-text search into your Laravel apps. From simple LIKE queries to MySQL full-text indexes, and landing on Laravel Scout powered by @typesense.

A case for Mastodon
Chris Morell has seen a bunch of pushback against Mastodon as an option, so he takes the time to address some of the issues that folks have put out there.

Geography in Laravel: retrieving geographical data
How to retrieve any geographical data from OpenStreetMap and transform them into usable PHP objects.


Community links

In this section you'll find links submitted by others. Let me know if you did write or stumbled across a blog post, tutorial or video that might be interesting to appear in this section

Building Maintaining PHP Applications: Planning (submitted by Davor Minchorov)

OPCache: The Secret Weapon for Laravel Performance Boost (submitted by Harish Kumar)

SSH-PHP: Build awesome PHP SSH apps! (submitted by Sam Carré)

Laravel: Casting Eloquent JSON Fields (submitted by Sean Kegel)

Redact Model Fields in Laravel (submitted by Ash Allen)

Best Practices to Git Commit (submitted by Aditya)

Guide: How to add a preview text to your campaigns (submitted by Spatie)

https://tighten.com/insights/how-to-automatically-generate-dynamic-opengraph-images-for-all-your-site-pages/ (submitted by Jamison Valenta)

How to Integrate Svelte with Laravel: The Complete Guide (submitted by Sveltecult)

Ensuring Environment Variables Are Set in Laravel (submitted by Ash Allen)

Check your Laravel Horizon failed jobs from Flare (submitted by Spatie)

Laravel's report helper: a must for error handling (submitted by Spatie)

Filament Two Factor Auth (submitted by Bas van Dinther)

Dynamically add widgets to Laravel Filament pages (submitted by Bas van Dinther)

Working with multiple Route files in Laravel | How to | Tutorial | Quick Win Wednesday #QWW (submitted by Bert De Swaef)


Old posts

Here are a couple of links from a while ago!

Why Agility–not Agile–is the Best Tool for Project Management

Livewire Real-time Presence!

Laravel Form Requests deep dive

Digging Into Livewire 3 Forms

Create a Persistent Chat Widget with Livewire 3

Using Laravel Volt to display realtime live stats


Did you like this newsletter?

I take a lot of time curating the right links for you. You could do me a favor by either spreading the word and letting others know about my newsletter.

Alternatively, you could consider picking up one of the paid products my team and I have worked on:

  • All spatie products
  • Oh Dear
  • Mailcoach
  • Flare

If you have any questions, remarks or thoughts about this newsletter, simply hit reply!

Thank you so much for reading!


Freek

You are receiving this newsletter because you subscribed at freek.dev Unsubscribe from this newsletter This mail was sent using Mailcoach

Online version • Past editions • Unsubscribe