Hi there!
Welcome to the 160th freek.dev newsletter!
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ How to improve initial page load time by deferring rendering Livewire components
Livewire is an amazing piece of technology. It is extensively used in two products I work on: Oh Dear and Mailcoach Cloud. In this post, I'd like to show you a simple technique where Livewire can help to improve your initial page load time significantly.
⭐ How to test Laravel's invokable rules
Laravel 9 introduced a new way to create custom validation rules: invokable rules. Here's an easy way to test them.
Make an impact on the developer ecosystem (sponsored link)
What do developers want the most in 2023? Is it better documentation, real DevOps culture, different tools or new technologies? Take part in the new Developer Nation survey, open to all developers and no-code software creators! Upon completion you will get free access to our Virtual Goody Bag and you’ll enter amazing prize draws. Among the 250 prizes you can find a ThinkPad L15 Gen 3, an Intel NUC 10 Performance Mini PC, IoT kits, an iPad Air, gift cards, Udemy courses, tech accessories, and many more.
PHP version stats: January, 2023
Here's an update on the use of all PHP versions.
Move Model Scopes To Traits In Laravel
An opinion on where to put your scopes if your model is cluttered with 10 scopes.
Solving an Array Reduce Interview Question in PHP
Here's Matt Staufer live coding some cool array / collection stuff.
Refactoring ugly JavaScript
Some more live coding! Here's Caleb refactoring away some nasty conditionals.
Top 25 YouTube Channels for Laravel and PHP Developers
Stay up-to-date with the latest trends in the Laravel and PHP communities by subscribing to these top YouTube channels. From beginner tutorials to advanced tips, these channels have something for every level of developer.
Top 10 Books for PHP Developers
These books will help you learn more about PHP in detail and make you a better software engineer overall.
Three Equitable Design Considerations
This post discusses three equitable design considerations to avoid creating unintentional barriers and cultural or social biases for potential users.
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
Safely upgrade from PHP 7.4 to 8.1 using Rector (submitted by Geni Jaho)
How To Improve Your Laravel Development Skills By Reading Code (submitted by Ash Allen)
Review of 2022: Recap of blogging, talks, an interview, and other things (submitted by Geshan Manandhar)
Refactoring #6: Improve Code Quality in Laravel using Rector (submitted by Geni Jaho)
Recap 2022 (submitted by Stefan Zweifel)
Alpine.js - HTML : Redirect to the value of a select field (submitted by Wilo Ahadi)
2022 Year in review (submitted by Jeffrey van Rossum)
Launching Eventy (submitted by Dries Vints)
Elasticsearch API key & PHP (submitted by Adithya)
Speed up your Laravel website using static cache (submitted by Bas van Dinther)
Aaron Francis's year in review (submitted by Aaron Francis)
2022 in Review (submitted by Harry Kirkman)
Nuno Maduro's recap of 2022 (submitted by Nuno Maduro)
Al Imran Ahmed's recap of 2022 (submitted by Al Imran Ahmed)
Mohammad Emran – 2022 Retrospective (submitted by Mohammad Emran)
Christoph Rumpel's Coding Year 2022 (submitted by Christoph Rumpel)
Mass Assignment Vulnerabilities and Validation in Laravel (submitted by Ash Allen)
A recap of 2022: software development for environmental protection in wartime in Ukraine (submitted by Pavlo Tkachenko)
Review: Mastering Laravel Validation Rules (submitted by Ash Allen)
Laravel : Generate a PDF file with laravel-dompdf (submitted by Wilo Ahadi)
Laravel : import and export a collection in Excel with Fast Excel (submitted by Wilo Ahadi)
8 Essential Questions to Ask Before Using a Laravel Package (submitted by Ash Allen)
Introducing Laravel SEO Scanner (submitted by Bas van Dinther)
Don't Skimp on Security: Add These Must-Have Features to Your Web Apps (submitted by Ash Allen)
Preventing Installing Composer Dependencies with Known Security Vulnerabilities (submitted by Ash Allen)
The Difference Between self::, static::, and parent:: in PHP (submitted by Ash Allen)
Working with Slugs in Laravel | Tutorial | How to | Quick Win Wednesday #QWW (submitted by Bert De Swaef)
Old posts
Here are a couple of links from a while ago!
Inertia Server-Side Rendering on Laravel Vapor
How to Train Your Keyboard
Why I’m Using HTTP Basic Auth in 2022
Exceptional Naming
Where does my validation live?
No code reviews by default
Using Ziggy with Inertia Server-Side Rendering
Accessing private properties in PHP
Create beautiful Open Graph images with Browsershot and Tailwind CSS
Overriding vendor classes
Hosting all your PHP packages together in a monorepo
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
|