Hi there!
Welcome to the 181st freek.dev newsletter!
Here are a couple of links I hope you'll enjoy as much as I did.
What's new in PHP 8.4
PHP 8.4 was released last week. Here's what's new.
The magic behind Laravel's new defer() helper
Here's how Laravel's defer() function, which was introduced a few months ago, works behind the scenes.
SaaSykit - Your Laravel SaaS Starter Kit has a HUGE Black Friday deal! (sponsored link)
SaaSykit is a feature-rich Laravel-based SaaS starter kit packed with everything needed to run modern SaaS applications. It offers a significant head start by providing all the foundational components you need, enabling you to focus on building your unique SaaS features rather than starting from scratch. Available in both multi-tenant and single-tenant versions.
Use code BLACKFRIDAY2024 to get 25% off on SaaSykit Complete.
Embedding Blade inside of Markdown content
Here's a neat solution by Ryan Chandler
Building Maintainable PHP Applications: Data Transfer Objects
Learn about data transfer objects, why they are useful and why it's better to use them over arrays.
5 Ways to Extract Value from Overmocked Tests
Tomas shares his approach to get the most out of mocks, drop dead code, and make tests more valuable.
Playtime with PHP Attributes
Attributes are a fun and powerful feature of PHP.
Accessing Databases in PhpStorm
Powerful Database Features You Didn't Know PhpStorm Had
Using Ray with your Pest tests
Here are a couple of neat ways to use Ray in your testsuite.
Australia/Lord_Howe is the weirdest timezone
Here are some examples of weird timezones
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
When does the TDD approach make sense? (submitted by Luka Peharda)
PHP vs. GoLang: A Developer’s Perspective on Control, Simplicity, and Ecosystem Differences (submitted by Arman Ahmadi)
Laravel Under The Hood - A Little Bit of Macros (submitted by Oussama Mater)
Laravel Package Auto-Discovery Explained (submitted by Erik Masny)
Strategies to strenghten your domain reputation (submitted by Spatie)
Dependency Lock-In: The Hidden Costs You Pay for Not Owning Your Code (submitted by Arman Ahmadi)
Using PIE (Extensions Installer for PHP) in Docker builds (submitted by Greg Korba)
Laravel Custom Query Builders Over Scopes (submitted by Oussama Mater)
How to use diffInDays with filters in Laravel | Tutorial | Quick Win Wednesday #QWW (submitted by Bert De Swaef)
Old posts
Here are a couple of links from a while ago!
Simplifying API Integration with Laravel's Http Facade
Spatie's Black Friday Deals
Unorthodox Eloquent II
Best Practices for Using PHP Enumerations
Leveraging CloudFlare Workers for Edge API Authentication
Preventing Duplicate Form Submissions Using Atomic Locks
The Absolute Minimum Every Software Developer Must Know About Unicode in 2023
Adding "Stale While Revalidate" functionality to Laravel's Cache
Solving subdomain CORS issues after switching to Laravel Herd
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
|