Hosting daemon apps on Forge
– assertchris.io – Edit
Christopher Pitt guides you can host daemon apps, for example Next apps, on Forge
Read more [assertchris.io]
– assertchris.io – Edit
Christopher Pitt guides you can host daemon apps, for example Next apps, on Forge
Read more [assertchris.io]
– github.com – Edit
Leonel Elimpe explains how you can use our DTO package.
Read more [github.com]
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.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
by Freek Van der Herten – 2 minute read – Edit
Recently we started using GitHub Actions to test all our packages. You can read more about our general setup in this blog post.
For most of the packages, this works great. However, some of our packages, such as Laravel Tags, use JSON functions that are not available in SQLite. Luckily it's straightforward to use a database like MySQL in GitHub Actions.
– ohdear.app – Edit
On the Oh Dear blog, Mattias Geniar shares how he found all certificates that were affected by Let's Encrypt mass revocation of SSL certificates.
Read more [ohdear.app]
– atymic.dev – Edit
Atymic explains a cool new feature in Laravel 7
Read more [atymic.dev]
– stefanzweifel.io - submitted by Stefan Zweifel – Edit
Stefan Zweifel recently had to refactor an Excel export which deals with thousands of rows. Lazy Collections helped solve all performance problems.
Read more [stefanzweifel.io]
– driesvints.com - submitted by Dries Vints – Edit
Dries Vints wrote a short piece on setting up a continuous delivery pipeline with Github Actions.
Read more [driesvints.com]
by Freek Van der Herten – 1 minute read – Edit
– evertpot.com – Edit
A nice example by Evert Pot on how you can make static analysers do their work better.
Read more [evertpot.com]
by Freek Van der Herten – 1 minute read – Edit
In this video, which is part of the mailcoach video course, I show how I like to write my exceptions.
At the time of writing this post, we're running a contest where you can win a free mailcoach license.
– tighten.co - submitted by Matt Stauffer – Edit
When getting an open source pull request, sometimes you'll need to make a change before merging. Here's how to do that.
Read more [tighten.co]
by Freek Van der Herten – 1 minute read – Edit
Have you every come across confusing if statements with complex conditionals such as this? I bet you did!
// please kill me 🤯 if (!(($this->shipping_country == "GB" || (strcmp($this-status, "Valid") !== 0)) {
To me, this is completely unreadable.
In the video below I show how I deal with this situation. Spoiler: add some tests around it and break the conditionals apart.
This video is part of the Mailcoach video course. It contains many more videos on how to write clear code. You can use this coupon code to get a nice discount of $10.
YES-I-WANT-TO-WRITE-READABLE-CODE
by Freek Van der Herten – 2 minute read – Edit
laravel-tail is one of my favourite packages. When installed in a Laravel app it can be used to tail the log file. To tail a log file locally, you just have to issue this command: php artisan tail and it'll start tailing the latest log file (so it works for both daily and single log files). Any line…
by Freek Van der Herten – 2 minute read – Edit
In this short post, I'd like to share how I use BetterTouchTool in my daily work.
Sebastian Bergmann, creator of PHPUnit, walks us through some history and design decisions for PHPUnit.
Read more [thephp.cc]
by Freek Van der Herten – 3 minute read – Edit
Our spatie/laravel-event-sourcing package is probably the best starting point for event sourcing in Laravel. It has excellent docs, that explain event sourcing from scratch, support for aggregates, projectors, and much more! It's all beautifully integrated in Laravel.
Recently we released v3 of the package. In this blogpost I'd like to walk you through the changes.
by Freek Van der Herten – 3 minute read – Edit
Our team released a new package called spatie/ssh. This package allows you to execute commands via an SSH connection.
– blog.deleu.dev - submitted by Marco Deleu – Edit
This post offers a good explanation of VPC and related terms.
Read more [blog.deleu.dev]
– www.websitecarbon.com - submitted by Brent – Edit
How is your website impacting the planet?
Read more [www.websitecarbon.com]
by Freek Van der Herten – 7 minute read – Edit
Last week, my colleague Ruben and I released a package called spatie/docker, that makes it easy to spin up docker containers and execute commands on them. In this blog post, I'd like to introduce what you can do with it and why we built this.