Three types of mocks
Mocking, faking; these might sound like intimidating words if you don't know what they are about, but once you do, you'll be able to improve your testing skills significantly. Part of...
Oct 21st 2021 freek.dev

A Laravel package to crawl and index content of your sites
The newly released spatie/laravel-site-search package can crawl and index the content of one or more sites. You can think of it as a private Google search for your sites....
Oct 19th 2021 freek.dev

Using Factory sequences in Laravel
One of the things I really like about modern Laravel projects, are the new model factories introduced in Laravel 8. When writing complex tests, you often need quite a lot of...
Oct 18th 2021 freek.dev

Replacing Keytar with Electron's safeStorage in Ray
Ray is an app we built at Spatie to make debugging your applications easier and faster. Being web developers, we naturally decided to write this app in Electron, which...
Oct 18th 2021 freek.dev

Making 1Password understand where your change password page is located
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. This is how it looks like...
Oct 15th 2021 freek.dev

Asserting valid and invalid requests in Laravel
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...
Oct 12th 2021 freek.dev

PHP 8.1: new in initializers
PHP 8.1 adds a feature that might seem like a small detail, but one that I think will have a significant day-by-day impact on many people. So what's this "new...
Oct 9th 2021 stitcher.io

Building a better search with Monaco and amCharts
At Flare, we launched a new search experience. We have a very cool search field with autocompletions (powered by the rendering engine behind VS Code), and a very smooth graph...
Sep 30th 2021 freek.dev

Laravel Worldwide Meetup #10: A Little Bit of Lamba & Pest To Perfection
This edition of the meetup features those two excellent talks: A Little Bit of Lambda (by Aaron Francis) Pest to Perfection (by Luke Downing)
Sep 29th 2021 freek.dev

Laravel Worldwide Meetup #10: A Little Bit of Lambda & Pest To Perfection
This edition of the meetup features those two excellent talks: A Little Bit of Lambda (by Aaron Francis) Pest to Perfection (by Luke Downing)
Sep 29th 2021 freek.dev