Freek.dev

Laravel / PHP / AI

  • Home
  • Originals
  • Community
  • Archive
  • Newsletter
  • Speaking
  • Music
  • Uses
  • About
  • Search
  • Advertising
  • Home
  • Originals
  • Community
  • Archive
  • Newsletter
  • Speaking
  • Music
  • Uses
  • About
  • Search
  • Advertising

Upgrading PHPUnit - "metadata in doc-comments is deprecated [...] use attributes instead"

Mar 29th 2024 – www.conroyp.com - submitted by Paul Conroy

Starting with PHPUnit 11, deprecation warnings will be fired if you're still using doc comments like "@test" above function declarations. This can lead to some pretty cluttered output in your test runs. Time to start using PHP attributes!

Read more [www.conroyp.com]

Laravel facades vs class aliases

Mar 27th 2024 – svenluijten.com - submitted by Sven

Diving into the difference between Laravel's facades and PHP's class aliases.

Read more [svenluijten.com]

Multi-Authentication with Guards in Laravel

Mar 26th 2024 – qirolab.com - submitted by Harish Kumar

This approach allows you to define multiple guards, each responsible for a specific user type.

Read more [qirolab.com]

The ingredients we used for our new Ray docs

Mar 25th 2024 – myray.app - submitted by Spatie

Discover our approach for our revamped Ray docs!

Read more [myray.app]

Best Raycast Extensions for Laravel/PHP Developers

Mar 22nd 2024 – aleksandertabor.com - submitted by Aleksander Tabor

Extend your Raycast with Laravel/PHP extensions.

Read more [aleksandertabor.com]

Laravel 11 - What is new?

Mar 18th 2024 – www.youtube.com - submitted by Bert De Swaef

A new version of Laravel was released, version 11. In this video we're taking a look at a few of the changes and what's new to the framework.

Read more [www.youtube.com]

Adding wire:navigate to Markdown links

Mar 18th 2024 – myray.app - submitted by Spatie

Discover how we've updated our new Ray docs!

Read more [myray.app]

Husky: How to automatically format, lint and test before you commit or push

Mar 14th 2024 – tighten.com - submitted by Jamison Valenta

Let's talk about Husky, a tool that automatically runs any number of commands whenever you commit or push. You'll never have to worry about forgetting to format, lint, or test before uploading code to the repo — Husky does it for you every time you run git commit or git push

Read more [tighten.com]

Laravel Cache Classes

Mar 12th 2024 – seankegel.com - submitted by Sean Kegel

This post describes how to use custom classes for managing cache state across an application without needing magic strings.

Read more [seankegel.com]

Essential JavaScript Tips for Better Coding - A Guide to JavaScript Best Practices

Mar 12th 2024 – qirolab.com - submitted by Harish Kumar

As the backbone of interactive websites, mastering JavaScript is essential for developers seeking to enhance user experiences and create dynamic web applications.

Read more [qirolab.com]

Migrating from MySQL to Postgres using Laravel's query builder

Mar 11th 2024 – flareapp.io - submitted by Spatie

Discover how we migrated Flare from MySQL to Postgress with the help of Laravel's query builder.

Read more [flareapp.io]

Impersonating users made easy in Laravel - Package In Review: 404labfr/laravel-impersonate

Mar 6th 2024 – youtu.be - submitted by Bert De Swaef

In this episode we're reviewing, installing and testing 404labfr/laravel-impersonate. A package that allows you to impersonate users in your application. Using an impersonation Trait. We're also able to restrict who's able to impersonate and protect specific routes so those aren't available for the impersonator.

Read more [youtu.be]

Using `Collection::times()` in Laravel

Mar 6th 2024 – ashallendesign.co.uk - submitted by Ash Allen

Learn about how to use the `Collection::times()` method to generate a Laravel Collection of a given size.

Read more [ashallendesign.co.uk]

Embed Livewire Components Using Wire Extender

Mar 6th 2024 – wire-elements.dev - submitted by Philo

Wire Extender allows you to embed any Livewire component on any website or even within a static HTML file.

Read more [wire-elements.dev]

Why we use Inertia with Laravel in 2024

Mar 5th 2024 – atlas.dev - submitted by Mitchell Davis

This article outlines why we use Inertia with Laravel at our agency in 2024, and makes the case for why you should consider using Inertia too.

Read more [atlas.dev]

Validate Data Types in Laravel Collections Using the `ensure()` Method

Mar 3rd 2024 – ashallendesign.co.uk - submitted by Ash Allen

Learn about the "ensure" method and how to use it to verify that only items of a given data type exist in Laravel Collections.

Read more [ashallendesign.co.uk]

Enhancing error reporting with custom context and glows

Mar 1st 2024 – flareapp.io - submitted by Spatie

Learn how to improve your debugging experience with custom context and glows.

Read more [flareapp.io]

The Ultimate Laravel Admin Panels Overview in 2024

Feb 29th 2024 – medium.com - submitted by Erik Masny

Comparison of available Laravel admin panel solutions with the most popular choices.

Read more [medium.com]

Running custom Artisan commands with Supervisor

Feb 27th 2024 – geoligard.com - submitted by Goran Popović

While Supervisor is commonly used with queue-related commands, there is nothing stopping you from using Supervisor to run and monitor your own custom commands.

Read more [geoligard.com]

Never Miss a Webhook

Feb 26th 2024 – fly.io - submitted by Chris Fidao

We discuss how to setup an app that ingests data from its users so minimize errors and downtime.

Read more [fly.io]

← Newer Older →

Did you write or stumble across a blog post, tutorial or video that might be interesting for others?

Log in to submit a link

Freek Van der Herten

I'm a Laravel developer at Spatie and Oh Dear. I maintain 300+ open source packages for the Laravel community.

Follow on X

Oh Dear monitors your entire website, so you don't have to. Uptime, SSL certificates, broken links, scheduled tasks, DNS, and more — all in one place.

Get instant notifications when something breaks, paired with a developer friendly API and thorough documentation.

Create a public status page in under a minute. Start your free trial.