Hi!
Welcome to the 155th freek.dev newsletter!
Since you are subscribed to this newsletter, there's a high chance that you're familiar with Laravel (or at least PHP). Today, you can follow Laracon Online for free in this stream on YouTube. I'll be giving a talk on how you can use our popular Laravel Data package.
To celebrate Laracon Online, we've activated a 20% discount on all Spatie products. You don't need a coupon code; the discount should be visible to anyone. This discount is only active today.
In the past period, I've focused on a couple of things. I'm helping my colleague Rias to put the final polish on Mailcoach Cloud. The first batch of testers is now using our app, which is pretty exciting. If you want to try out Mailcoach Cloud, leave your email on our waiting list.
As a by-product of Mailcoach, I created a new package called Laravel Dynamic Servers. We'll be using this in Mailcoach to automatically add new worker servers when many people are sending out emails simultaneously. I'm polishing the final details and will probably tag a new stable package release in the next few days.
With my colleagues Nick and Mattias at Oh Dear, I'm putting the final touches on a total redesign of our service. We've been working on this for almost a year, and I think it takes Oh Dear to the next level. The redesign will be launched on the 3rd of October. On that day we're also going to increase the prices. Old customers will keep their old price (so if you want to enjoy the current low prices, subscribe before the 3rd of October).
That's it for now! If you're attending Laracon: enjoy!
Here are a couple of links I hope you'll enjoy as much as I did.
Creating installer commands for Laravel packages
I've made it very easy to add a custom installer command in a Laravel package, vastly improving the installation experience for a package user.
Getting information about all the models in your Laravel app
We'll be using our new package to power a few our upcoming packages.
You might not need useRef for that
Here a post my colleague Sam wrote for the Flare blog. If you're deep into React, you'll like it!
A preview of Oh Dear's upcoming redesign
One of our goals for this year is to bring the UI of Oh Dear to the next level. Behind the scenes, our team is working hard on a complete rewrite of our marketing website and app.
Multi-Region Laravel With PlanetScale
Chris Fidao makes sure that an app feels fast no matter from where you visit it. Fascinating stuff!
Fill Gaps in Statistical Time Series Results
Pretty cool that you can achieve this by executing a query, without relying application logic.
Sign your Git commits with 1Password
A great way to go about signing git commits. I'm using this method now to sign all my commits
Customising Laravel's URL signing key
How to swap Laravel's URL signing key is not documented, but luckily Michael wrote a good post on it.
Spawning workers based on queue workload
Earlier this week Jason McCreary deployed a feature which automatically spawns new worker servers for Shift based on the job queue workload. This reduced server costs by 97% and wait times by 80%.
Testing Randomness of PHP Random Number Functions
Let's take a look at the different ways to generate a random number in PHP.
How to Produce High-Quality Programming Screencasts
Good tips by Jeffrey Way.
Making a complete file uploader with progressbar using Livewire and Alpinejs
Build a file uploader that supports drag and drop and file selection, has a progressbar, filename preview and file removal.
A step-debugger for the PHP AST
A cool new tool by Matthias Noback.
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 r/place with Laravel and Vue in under an hour (submitted by Andrew Schmelyun)
Laravel Socialite for Filament (submitted by Peter)
Laravel Payment Gateways (for APIs) (submitted by STEPHEN JUDE)
Laravel Hidden Trait - ForwardsCalls - Where is it being used in Laravel? (submitted by Ashish Dhamala)
Getting Vite to work with Lando (submitted by René Sinnbeck)
Laravel File Upload: A Complete Tutorial and Guide (submitted by Ian Kumu)
How to Improve Your Emails With CSS? (submitted by Sofia Tarhonska)
What is Laravel? A complete and simplified explanation. (submitted by Benjamin Crozat)
Why Laravel uses caches and how to clear them for debugging (submitted by Benjamin Crozat)
Sending Emails with Node.js (submitted by Sofia Tarhonska)
Dynamic Open Graph Images using Laravel (submitted by Mark van Eijk)
Laravel Tip - Make Column Unique With Even Soft Delete (submitted by Ashish Dhamala)
Old posts
Here are a couple of links from a while ago!
Building a PHPUnit to Pest Converter in a week
Linking to Flare errors on your error page
Monitoring Laravel Vapor metrics with Grafana Cloud
A free Alpine.js video course
Glowing Background Gradient Effects with Tailwind CSS
Strategies for decreasing the number of queries in a Laravel app
Fun with PHPUnit Data Providers
Source diving Pest Parallel Testing
Generics in PHP using PHPDocs
How to Use a Custom Encryption Key for Encrypted Cast Model Attributes in Laravel
How to install PHP 8.2 RC on your Mac
Introducing a new package to add a support form to your app
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)[https://freek.dev/newsletter/like?edition=155th] 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
|