Freek.dev

Laravel / PHP / AI

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

Managing files using Laravel's scoped driver

Apr 13th 2023 – innocenzi.dev - submitted by Enzo Innocenzi

Back in september 2022, a new "scoped" filesystem driver has been introduced to Laravel. This article shows how to use it to improve file management and refactoring.

Read more [innocenzi.dev]

Boost Your Laravel Templates with Custom Blade Directives

Apr 11th 2023 – ashallendesign.co.uk - submitted by Ash Allen

Learn how to create your own Blade directives to make your Laravel Blade templates easier to view. The article covers what Blade directives are, how they're used in the framework, and how you can create your own "friendlyDateTime" directive.

Read more [ashallendesign.co.uk]

Doing stricter checks in PHP

Apr 9th 2023 – blog.genijaho.dev - submitted by Geni Jaho

A nice refactoring I've learned recently is to utilize types in conditionals. For years I’ve been doing `if (!empty($posts...

Read more [blog.genijaho.dev]

PayPal Webhook Client for Laravel

Apr 8th 2023 – github.com - submitted by Ankur

Handle PayPal webhooks in Laravel php framework with ease.

Read more [github.com]

No-Upload, Batched Import of Data with SheetJS CE and Livewire

Apr 6th 2023 – fly.io - submitted by Kathryn Anne Tan

What if, we can import spreadsheet data, without uploading the file?? In this article, we import data with JS packages, web workers, and Livewire!

Read more [fly.io]

Build beautiful API integrations and SDKs with Saloon!

Apr 5th 2023 – docs.saloon.dev - submitted by Sam Carré

Saloon gives you all the tools you need to build beautiful API integrations or SDKs for your application. Build API integrations faster with Saloon.

Read more [docs.saloon.dev]

Figuring out SPAs with Sanctum

Apr 4th 2023 – fly.io - submitted by Chris Fidao

Use Laravel Sanctum to host your frontend and backend on different subdomains - including authentication and CSRF protection.

Read more [fly.io]

How to Build a Polymorphic One-to-Many Factory in Laravel

Apr 4th 2023 – blog.shahryartayeb.com - submitted by Shahryar

In this blog post, I will guide you through the steps to create a Polymorphic One-to-Many factory in Laravel.

Read more [blog.shahryartayeb.com]

Laravel : Retrieve data from a model between two dates

Apr 3rd 2023 – wilo-ahadi.com - submitted by Wilo Ahadi

Three methods are explained to retrieve data between the start and end dates of a model in a Laravel 10 project.

Read more [wilo-ahadi.com]

Sit Down with Freek Van der Herten

Mar 31st 2023 – youtu.be - submitted by Bert De Swaef

In this episode I'm sitting down with Freek Van der Herten.

Read more [youtu.be]

Quick Introduction to Warp

Mar 31st 2023 – youtu.be - submitted by Bert De Swaef

Warp is a Rust-based terminal. A powerful application that eases out a lot of things for you, like sharing snippets, command history, suggestions, workflows and even a built-in AI to help you out when you get stuck.

Read more [youtu.be]

How to delay Laravel jobs and listeners within database transactions

Mar 30th 2023 – arunas.dev - submitted by Arunas

If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.

Read more [arunas.dev]

Calculating rolling averages with Laravel Collections

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

Rolling averages are a great tool for smoothing out noisy data, helping you to more easily spot long-term trends. This new package adds first-class support to Laravel Collections for rolling average calculations.

Read more [www.conroyp.com]

Autocomplete fields with Livewire

Mar 27th 2023 – fly.io - submitted by Chris Fidao

Use browser's native autocomplete input fields and dynamically update with Livewire!

Read more [fly.io]

Automated Refactoring With Rector

Mar 24th 2023 – tighten.com - submitted by Jamison Valenta

Learn how Rector, a tool for programmatically refactoring PHP code, can help you keep your codebase clean and consistent--no matter who’s working on it.

Read more [tighten.com]

Laravel Exchange Rates v7.0.0 released

Mar 23rd 2023 – github.com - submitted by Ash Allen

Laravel Exchange Rates v7.0.0 has some quality-of-life improvements to make adding new API support easier.

Read more [github.com]

Favicon Fetcher v2.0.0 released

Mar 23rd 2023 – github.com - submitted by Ash Allen

Favicon Fetcher v2.0.0 now has new "fetchAll" and "fetchAllOr" methods to get all the available icons for a website. It also has the ability to grab the largest favicons.

Read more [github.com]

Sending Mails with Laravel and Microsoft Office 365 the secure way

Mar 23rd 2023 – geisi.dev - submitted by Tim Geisendörfer

How to use Microsoft Office 365 Graph API as Mail Driver for your Laravel app.

Read more [geisi.dev]

Collecting Time Video Metrics with Livewire

Mar 23rd 2023 – fly.io - submitted by Kathryn Anne Tan

Easily share user-video interaction data from client to browser with Livewire!

Read more [fly.io]

Blockade: A Laravel package to block Users

Mar 17th 2023 – github.com - submitted by Chris Mellor

A Laravel package to block Users and not see their data

Read more [github.com]

← 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.