How to run over 30k tests in under 5 minutes
Paratest is an extension on top of PhpUnit that adds support for parallel testing. For our unit tests, we could just add Paratest and it works without any configuration!
Read more [blog.mollie.com]
Paratest is an extension on top of PhpUnit that adds support for parallel testing. For our unit tests, we could just add Paratest and it works without any configuration!
Read more [blog.mollie.com]
This week, Christoph Rumpel and I took some time to catch up. We talk a bit on programming, what's going on in our lives, and more. We streamed on our conversation on YouTube.
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"
There are many things you can use for front-end scaffolding in Laravel. That can make picking one tough. This blogposts walks you through all the options
Read more [samuelstancl.me]
Xavier Decuyper researched which provider offers the fastest static webhosting.
Read more [www.savjee.be]
– atymic.dev - submitted by atymic
Here's a deep dive into running Laravel on DigitalOcean's new PAAS offering.
Read more [atymic.dev]
Chris Fidao explains a cool strategy he uses at ChipperCI to never miss a webhook.
Read more [chipperci.com]
Miguel Piedrafita explains how you can let Gumroad and Laravel be friends
Read more [miguelpiedrafita.com]
In this video, which is part of the Laravel Package Training, I show you how the "Marked as Completed" button under each video works.
– liamhammett.com - submitted by Liam Hammett
There are a few different ways to handle translated text in your codebase, but here we’ll cover 2 of the more common approaches; using the full text in your source code, and using translation keys.
Read more [liamhammett.com]
In this stream, my colleague Brent and I download the source of PHP 8 RC1, and test some of PHP 8's cool new features.
Brent and I are working on Front Line PHP, an ebook on cutting edge tactics in PHP 8, accompanied by videos and practical examples. Subscribe to our mailing list to get updates around this project.
Here is the recording of Laravel Worldwide Meetup #3. Jazz Jalled spoke on the manager pattern, Adel Fayzrakhmanov on PhpStorm plugin development.
– ryangjchandler.co.uk - submitted by Ryan Chandler
A quick look at how you can configure your GitHub Actions workflows to only run when a certain phrase is present in the commit message.
Read more [ryangjchandler.co.uk]
Paul Dragoonis and Christoph Rumpel started a projecto to improve the synergy between the community and the project maintainers
Read more [www.reddit.com]
Brent offers scientific arguments why a light color scheme is better. Personally, since I started using a light color scheme a few years back, I've sticked to it and never turned back.
Read more [stitcher.io]
My colleague Ruben introduces the laravel-typescript-transformer package he created. This one can convert backend classes, like enums and DTOs, to TypeScript definitions.
Read more [rubenvanassche.com]
Oh Dear is the monitoring SaaS that my buddy Mattias and I are running. As you might suspect, our service can monitor the uptime of sites and SSL certificates' health. What sets Oh Dear apart from the competition is that it can also monitor performance and detect broken links and mixed content on any of the pages of your site.
Today, we added a new type of monitoring: scheduled tasks monitoring. Oh Dear can now notify you whenever one of your scheduled tasks has not run or is running too late.
You can get started monitoring your schedule today. We have a free ten-day trial. And when using this coupon code, you'll get 30% off on the first three months when subscribing: MONITOR-ALL-THE-THINGS.
In this blog post, I'd like to introduce how you can use scheduled task monitoring in Oh Dear, and how it works under the hood. There were a lot of interesting challenges we had to solve. I hope you're ready to dig it.
When reviewing the contents of the database of Flare, we encountered a table with 1 billion records. Technically that isn't a problem. Flare runs on Vapor and uses an Aurora database, so it can handle that scale. But of course, there's a cost for storing that many records.
We dove in and concluded that we could safely delete about 900 million records. They all were created before a specific date.
Read more [flareapp.io]
On his blog, Robin Dirksen shares how he migrated the files of his app to S3
Read more [robindirksen.nl]
Traits are a wonderful thing in PHP. You can use them to reduce code duplication by putting common functions in a trait and apply them to all classes where those functions are needed. I also sometimes use traits to break up a large function in multiple single-use traits.
In this post, I'd like to show you how you can override a trait function and call it from the overriding function.
– johnbraun.blog - submitted by John Braun
In light of the upcoming Hacktoberfest, John Braun shares some tips for beginners who might want to make their first contribution specifically to a PHP package.
Read more [johnbraun.blog]