Hi there!
Welcome to the 164th freek.dev newsletter!
I'm proud to share that, after months of work, our team has just launched Flare 2.0. I truely believe that Flare is the best exception tracker for Laravel apps, so I hope you'll try it out!
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ Flare 2.0 has been launched!
These past months, we've been busy redesigning our entire service. We're very proud to launch it today.
⭐ Flare and Ignition now offer AI-powered solutions
One of the unique features of Flare is that it can display solutions for your errors. In our code base, we try to detect specific error messages and display a solution when we recognize a specific error. Today, we're adding AI-powered solutions to Flare and Ignition.
⭐ Saying goodbye to WIP commit messages
I'm now using AI to generate commit messages.
⭐ A Laravel package to quickly see which HTML is rendered by which Blade view
I'm happy to share that we have released our latest package, spatie/laravel-blade-comments. This package can add comments to your rendered HTML output. For each Blade view that was used to build up the response, it adds start and ending comments.
⭐ Laravel Worldwide Meetup: Introducing Laravel Splade - Quick Wins in Laravel
Here's the recording of the Laravel Worldwide Meetup which was held last week. In this edition we had Pascal Baljet that introduced Splade. Our second speaker, Bert De Swaef, shared a true avalanche of Laravel tips. If you like this edition of the meetup, be sure to join the next one.
⭐ Automatically clear Ray when running tests via PHPUnit or Pest
Learn how to automatically clear Ray's screen when running a test.
Let's build a ChatGPT Plugin with Laravel
Tutorial on building your first ChatGPT plugin with Laravel step by step.
Publishing Prometheus metrics in Laravel apps
You can instrument your Laravel apps by having it publish Prometheus metrics. With the help of Prometheus, you can use Grafana to create dashboards and alerts to monitor your apps.
Advanced Git Magic
Here's the recording of a cool talk by Pauline Vos given at Full Stack Europe 2022. In this talk she shares a couple of cool things you can do with Git.
Hooks for Alpine.js
A collection of handy hooks, inspired by React, for Alpine.js.
Improving Client Side Pagination with Livewire
In this article we remove the need to get entire datasets in order to make Client Side Pagination work. Instead, we get the dataset in lighter, less heavier parts!
Generating Large ZIP Exports From Files in S3
I'll show you how to generate a ZIP export of an arbitrary numbers of files in an S3 bucket in a fast and memory efficient way, so you don't go OOM.
Encapsulating Polymorphism
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Introducing DropBlockEditor
DropBlockEditor, a drag and drop editor made with Livewire, is now available in pre release. This article tells you more about it and gives you an idea of how you could use it.
Chrome DevTools tricks that deserve a spotlight
There are a few tricks in Chrome DevTools that don’t seem to get enough attention.
On fixed price projects
Playing software development on Nightmare difficulty
Load Balancing explained
An excellent blog post with clear visual examples on how the most command load balancing strategies work.
Explaining the code on the "Go with PHP" website
Mohamed write a nice post featuring a lot of good tips on how to make your code readable.
Packagist.org maintainer account takeover
Scary stuff, but handled very well by the Packagist team.
"Contact app" a Laravel for Beginners course
The entire playlist of our Laravel for Beginners course.
You'll learn about model, controllers, factories, seeders, relations and many more.
Invoice PDF Generation With Browsershot
Invoicing is boring and manually writing up invoices even more so, that's why you should automate the entire process in your app. Here, I show you how to use Spatie’s wonderful Browsershot package to do just that.
Laravel Real-Time Notifications with SSE
This article shows how to implement real-time notifications using Server-Sent Events instead of WebSockets or Long Polling.
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
Build A Ride Share App with Laravel and Vue (submitted by Andrew Schmelyun)
Filament Page With Sidebar (submitted by Ayman Alhattami)
Using declare(strict_types=1) for More Robust PHP Code (submitted by Ash Allen)
Livewire Toaster (submitted by Muhammed Sari)
A Beginner's Guide to Closures and Arrow Functions in PHP (submitted by Ash Allen)
Sharing Google Maps Data Across Separate Livewire Components (submitted by Kathryn Anne Tan)
A simple webhook implementation for Laravel. (submitted by Steve McDougall)
Cost-Effective Queue Workers With Fly.io Machines (submitted by Johannes Werbrouck)
Laravel : Generating test data with Factory, Faker and Tinker (submitted by Wilo Ahadi)
Shopping Cart for Laravel (submitted by Ankur)
CraftAI: GPT-powered Admin Generator (submitted by Pavol Perdik)
Introducing Laravel Task Runner: Write scripts like Blade Components and run them anywhere (submitted by Pascal Baljet)
Use 1Password to securely authenticate the Laravel Vapor CLI (submitted by Andre Sayej)
Behind the Dev: Jim Seconde (submitted by Ash Allen)
Lemon Squeezy for Laravel (submitted by Dries Vints)
Securing Livewire Components with inline Policies, Traits, and Middlewares (submitted by Kathryn Anne Tan)
How to Get the Logged In User in Laravel (submitted by Ash Allen)
Getting Started with Inertia.js and Laravel (submitted by Harry Kirkman)
Encapsulating Polymorphism (submitted by Jamison Valenta)
Vonage Inbound SMS Webhooks Client for Laravel (submitted by Ankur)
Vue 3.3 is out now (submitted by Boris Lepikhin)
Creating a Middleware to Globally Log Submissions in Livewire (submitted by Kathryn Anne Tan)
How to calculate the duration between two dates in Laravel (submitted by Wilo Ahadi)
Introducing Eddy: The Splade demo app, now open source! (submitted by Ash Allen)
Console Applications With Laravel Zero (submitted by Johannes Werbrouck)
Repositories and their true purpose (submitted by Muhammed Sari)
Integrating Two-Factor Authentication in Laravel with Vonage (submitted by Ash Allen)
Behind the Dev: Joe Dixon (submitted by Ash Allen)
Parsing recipe websites to get rid of the cruft, using metadata parsing and AI (submitted by Chris Fidao)
Top Hosting Providers for PHP and Laravel (submitted by Ash Allen)
How to group a collection by day, month and year in Laravel (submitted by Wilo Ahadi)
VS Code and Laravel Pint - 2 Methods (submitted by Oussama Mater)
Multiple Laravel Applications Synchronization with Redis (submitted by Andrej)
Old posts
Here are a couple of links from a while ago!
What's new in Tailwind 3.1
Restructuring a Laravel Controller using Services, Events, Jobs, Actions, and more
Use Laravel's HTTP Client with Facebook's Business SDK
Using login links in a Laravel app
35 Laravel Eloquent tips
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:
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
|