freek.dev newsletter #138: generics, AWS mistakes and much more
Hi there!
Welcome to the 138th freek.dev newsletter!
You'll notice that this newsletter is written plain text. This is no accident.
I think that most people actually enjoy a non-HTML mail. Somehow, this also feels
a bit more personal to me.
Also, open en click tracking are now disabled. If used open tracking to let sponsors of
this newsletter know what the open rate of the newsletter is. Personally, I don't care
about open rate too much for this newsletter. I'm not trying to sell something, I simply
want to share knowledge.
Previously, I used click tracking to know what kind of content you are interested in. It's
very clear that most of you like technical PHP content the best, and I'll try to always include a
couple of links to that kind of blog posts.
I hope that you like these changes. Let me know what you think of this, by simply replying to this mail.
I do hope you'll enjoy this newsletter.
Announcing x-ray for Ray
Using this package, you can quickly scan source code for calls to Ray
I changed my mind about Tailwind CSS
When did you last changed your opinion on something technical?
Mistakes I've made in AWS
Here's a collection of the most commonly missed things when using AWS with Laravel Forge!
Building a PHPUnit to Pest Converter in a week
Jason McCreary explains why and how he created his cool Pest converter
Strategies for decreasing the number of queries in a Laravel app
Oh Dear is all-in-one solution to monitor your site that my buddy Mattias Geniar and I have created. It can monitoring uptime, certificates, broken links, scheduled jobs, and much more.Under the hood, Oh Dear is a large Laravel application that performs many queries all of the time. To power futureā¦
Linking to Flare errors on your error page
We've launched a new feature that will make it easier for users of your app to report specific errors.
Fun with PHPUnit Data Providers
Data providers are a PHPUnit feature (and many testing frameworks have an equivalent) that lets you run a single test method multiple times but with different data. Larry Garflied shows some cool things you can do with them.
Monitoring Laravel Vapor metrics with Grafana Cloud
Once configured, you can see all of the metrics you need to ensure your Vapor app is healthy on one screen.
A free Alpine.js video course
In this entirely free video course, you'll learn how to use Alpine.js, a minimal JS framework that I'm using myself on a couple of projects
Source diving Pest Parallel Testing
In this stream, Luke Downing shows us around in the source code of Pest parallel plugin he created.
Glowing Background Gradient Effects with Tailwind CSS
Yet another nice video by Simon on cool things you can do with Tailwind.
Generics in PHP using PHPDocs
Generics are available since PHPStan 0.12. This posts explain what they’re all about.
How to Use a Custom Encryption Key for Encrypted Cast Model Attributes in Laravel
Laravel allows you to cast model attributes as encrypted strings1, when stored in the database. This gives you added security for any values that are sensitive (such as Personally identifiable information, PII), including complex structures such as arrays, collections, and even 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
Cagilo - Blade components for each project (submitted by Alexandr Chernyaev)
New In Laravel 8.60.0 - A New whereMorphedTo Method To Get Morphed Relationship Data (submitted by Ashish Dhamala)
How to use Symfony Mailer without the Symfony framework (submitted by Doeke Norg)
How to Add Color Picker Field to Laravel Nova (submitted by Sir Src)
Testing Blade components in Laravel (submitted by David Carr)
Advanced Pest setup (submitted by Jeroen van Rensen)
I'm recording the complete Laravel documentation as video screencasts, and you can join the process of building this platform. (submitted by Pascal Baljet)
Laravel Livewire update dependent select menu's on change (submitted by David Carr)
Old posts
Here are a couple of links from a while ago!
Running GitHub Actions for Certain Commit Messages
The PHP Community Synergy Initiative
Light colour schemes are better, based on science
Typing your frontend from the backend
Why and how you should monitor scheduled tasks
How to delete 900 million records in MySQL without shooting yourself in the foot
Moving 27K unique images from Spatie medialibrary local to s3 storage using Laravel Queue
How to call an overridden trait function
Contributing to an open source PHP package
Super Mario Bros. 3 in 3 minutes - World Record Speedrun Explained
Nested States in Laravel 8 Database Factories
Don't trust default timeouts
Automating the Laravel 8 schema dump using GitHub Actions
Making Time Make Sense in JavaScript
Unconventional Laravel: Custom Pipeline Classes
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
Flare
For each of the above you can use this coupon code to get a discount:
DISCOUNT-FOR-FREEK-DEV-READERS
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 https://freek.dev
Unsubcribe from this newsletter
This mail was sent using Mailcoach
Older messages
A little typo in the latest newsletter
Sunday, September 5, 2021
Hi there, My apologies for having to mail you again. It seems that I made a little typo in the previous newsletter. The link to the testing course is https://testing-laravel.com Use this coupon code to
freek.dev newsletter #137: Testing Laravel, how to install PHP 8.1 and much more!
Sunday, September 5, 2021
View email in browser This mail was sent using Mailcoach freek.dev Hi, welcome to the 137th freek.dev newsletter! Testing Laravel has been released I'm proud to share that our newest video course
Welcome to the freek.dev newsletter
Sunday, September 5, 2021
freek.dev Hi, Welcome to the freek.dev newsletter. Every two weeks you can expect some nice links to cool stuff on Laravel, PHP and JavaScript in your mailbox. To thank you for subscribing I'd like
You Might Also Like
Spyglass Dispatch: Comcast's SpinCo Out Hunting • NVIDIA Makes Mint • The Fate of Chrome • Amazon Shows New 'Show' • End of Around the Horn • Writing on the Web
Thursday, November 21, 2024
Comcast's SpinCo Out Hunting • NVIDIA Makes Mint • The Fate of Chrome • Amazon Shows New 'Show' • End of Around the Horn • Writing on the Web The Spyglass Dispatch is a free newsletter sent
Issue 340 - Elon Musk hints at a new model for large families
Thursday, November 21, 2024
View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 340 -
Data Science Weekly - Issue 574
Thursday, November 21, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Programmer Weekly - Issue 232
Thursday, November 21, 2024
View this email in your browser Programmer Weekly Welcome to issue 232 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Writing software is a very intense,
Better - An AI Powered Code Reviewer
Thursday, November 21, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 21, 2024? The HackerNoon
Python Weekly - Issue 677
Thursday, November 21, 2024
View this email in your browser Python Weekly Welcome to issue 677 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly
Web Tools #592 - JS Libraries, Git/CLI Tools, Media/SVG
Thursday, November 21, 2024
WEB VERSION Issue #592 • November 21, 2024 Advertisement Deploy AMD Instinct™ MI300X on Vultr AMD Instinct MI300X accelerators are now available on the Vultr cloud platform. With thousands of AMD
Stop Using the Wrong State Management in Jetpack Compose
Thursday, November 21, 2024
View in browser 🔖 Articles Benchmark Insights: Direct State Propagation vs. Lambda-based State in Jetpack Compose Here, we'll dive into some benchmark analysis on the state propagation approach in
wpmail.me issue#694
Thursday, November 21, 2024
wpMail.me wpmail.me issue#694 - The weekly WordPress newsletter. No spam, no nonsense. - November 21, 2024 Is this email not displaying correctly? View it in your browser. News & Articles State of
Turn off Google AI with two letters
Thursday, November 21, 2024
$250 off M4 MacBook; Linux Foundation marks 20 years; Bluesky tips -- ZDNET ZDNET Tech Today - US November 21, 2024 laptop This absurdly simple trick turns off AI in your Google Search results There