Improving PHP's object ergonomics
Larry Garfield has some interesting thoughts on how PHP can be improved.
Read more [hive.blog]
Larry Garfield has some interesting thoughts on how PHP can be improved.
Read more [hive.blog]
– tighten.co - submitted by Matt Stauffer
Learn how to build cross-platform, native mobile apps using familiar Vue.js syntax and Tailwind CSS.
Read more [tighten.co]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
In this video, Mohammed Said shares a nice, clean strategy for multitenancy in Laravel.
On this page on Vimeo you'll find videos of all talks given at Laracon Online that was held in February.
Read more [vimeo.com]
At Spatie we have a TV screen against the wall that displays a dashboard. This dashboard displays the tasks our team should be working on, important events in the near future, which tasks each of our team members should be working on, what music they are listening to, and so on. Here's what it looks like:

This dashboard is built using our laravel-dashboard package. It will allow you to built a similar dashboard in no time.
In this blogpost I'd like to walk you through both the dashboard and the package.
– liamhammett.com - submitted by Liam Hammett
A static constructor is just a method the developer can define on a class which can be used to initialise any static properties, or to perform any actions that only need to be performed only once for the given class. The method is only called once as the class is needed.
Read more [liamhammett.com]
– medium.com - submitted by Vasily
A nice introduction to AOP in PHP, with a focus on performance, with a lot of benchmarks.
Read more [medium.com]
In this short video I demonstrate how you can display multiple Twitter feeds using laravel-dashboard. I will release the packages as soon as we hit 50 sponsors on GitHub.
In this unrehearsed streaming session I show off how you can use the upcoming laravel-dashboard package to quickly build a beautiful dashboard that shows a realtime Twitter wall, a calendar tile that is fed by events coming from a Google Calendar, and a tile that displays the weather.
– stitcher.io - submitted by Brent
In this two-part series, my colleague Freek and I will discuss the architecture of a project we're working on.
Read more [stitcher.io]
– ryangjchandler.co.uk - submitted by Ryan Chandler
If you don't need a reactive UI, Alpine.js might still find it's place in your tech stack.
Read more [ryangjchandler.co.uk]
– timacdonald.me - submitted by Tim Mac
String concatenation is the current way we can pass arguments to Laravel middleware - but what if there was another way
Read more [timacdonald.me]
In this stream (which is the first I've ever done) I'll show you what you can do with our upcoming laravel-backup-server package and how it works under the hood.
Composer version 2 will be mostly compatible with your existing workflows, while bringing some more great new features.
Read more [php.watch]
A nice explanation of the window.crypto functions that are available in all major browsers.
Read more [blog.excalidraw.com]
Did you know that since PHP 7.4, it's possible to use the spread operator in arrays? 👨🏻🔬 pic.twitter.com/Wg6Ouc5OYj
— NUNO MADURO (@enunomaduro) April 10, 2020
🔥 Applications often have the most lines of code within controller actions.
— Jason McCreary (@gonedark) April 13, 2020
One practice to streamline your code is directly assigning view variables.
This also limits the use of temporarily variables and promotes abstractions which make the code more readable. pic.twitter.com/m0JGsybQ9k
Chris Fidao shares his first Golang app that went into production.
Read more [chipperci.com]
I've often asked myself this question.
Read more [superuser.com]