Using Factory sequences in Laravel original
One of the things I really like about modern Laravel projects, are the new model factories introduced in Laravel 8.
One of the things I really like about modern Laravel projects, are the new model factories introduced in Laravel 8.
A few days ago, a new version of 1Password was released that is able to detect where a user can reset his or her password.
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"
– doeken.org - submitted by Doeke Norg
In this post I want to introduce you to Tree structures. What they are, how you can use them, and in which situation they can be helpful.
Read more [doeken.org]
Testing a Laravel project is one of the most pleasant experiences I've ever had: there's a clean testing API, a very powerful layer added on top of testing frameworks; all while keeping the simplicity and eloquence you'd expect from a Laravel project.
The experience of using Livewire seems magical. It's as if your front-end HTML can call your PHP code and everything just works. A lot goes into making this magic happen.
Read more [calebporzio.com]
– doeken.org - submitted by Doeke Norg
The Adapter pattern and the Bridge Pattern have brought along a lot of confusion. Time to connect the dots.
Read more [doeken.org]
This edition of the meetup features those two excellent talks:
– doeken.org - submitted by Doeke Norg
Enhance (final) classes and functions by implementing these similar, but not quite the same, patterns.
Read more [doeken.org]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Let's look at how we can use Pest's Expectation API with array items.
Want to learn more about testing and/or Pest? Check out Testing Laravel
Read more [ryangjchandler.co.uk]
While recording videos for the Testing Laravel video course, I became a big fan of Pest, a test runner that tries to optimize the developer experience. I'm now using Pest as the default for testing new packages and projects.
I've also converted a couple of existing testsuites from PHPUnit to Pest. Luckily, this is a very easy process. In this video I'll show you how to get started. You'll see that it only takes a couple of minutes.
– postsrc.com - submitted by Sir Src
– timacdonald.me - submitted by Tim Mac
Introduce lazy loading to an existing application without interrupting flow or overwhelming your logs
Read more [timacdonald.me]
– doeken.org - submitted by Doeke Norg
Cloning is a nice way of creating a quick copy of an object. But there are some things you need to be aware of!
Read more [doeken.org]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Let's take a look at how we can create a custom Option type to handle optional values in PHP.
Read more [ryangjchandler.co.uk]
– dev.to - submitted by Patrick
Using this package, you can quickly scan source code for calls to Ray
Read more [dev.to]
Jason McCreary explains why and how he created his cool Pest converter
Read more [jasonmccreary.me]
Oh Dear is all-in-one solution to monitor your site that my buddy Mattias Geniar and I have created. It can monitoring uptime, certificates, broken links, scheduled jobs, and much more.
Under the hood, Oh Dear is a large Laravel application that performs many queries all of the time. To power future features, we've recently changed our database structure and refactored some pieces in our code base. We increased performance by decreasing the number of queries.
In this blog post, we'd like to to share some techniques that might be helpfull to increase the performance of your Laravel app too.
We've launched a new feature that will make it easier for users of your app to report specific errors.
Read more [flareapp.io]
Data providers are a PHPUnit feature (and many testing frameworks have an equivalent) that lets you run a single test method multiple times but with different data. Larry Garflied shows some cool things you can do with them.
Read more [peakd.com]
In this stream, Luke Downing shows us around in the source code of Pest parallel plugin he created.