Testing Saloon API Integrations in Laravel
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
2d ago
Learn how to fake and record HTTP responses so you can test your Saloon API integration in your Laravel applications. Read more ..read more
Visit website
★ How to test all routes in your Laravel app by writing just a single Pest test
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
1w ago
We’ve released a new package called spatie/pest-plugin-route-testing. This package can test all common routes in your Laravel app by writing a single test. In this blog post, I’d like to tell you all about it. Why this package was created When people start out writing tests for their Laravel apps, I usually give the advice to test your home page. The homepage usually is a very simple URL to test; it’s just a simple GET request. Here’s a video that explains how to test the homepage taken from our Testing Laravel course. Here’s how such a test could like: it('can render the homepage', function ..read more
Visit website
★ A package to use Filepond in your Livewire component
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
1w ago
We’ve published a new package called livewire-filepond, which contains a component to easily upload files. Under the hood, Filepond, a powerful JavaScript library to upload files, is used. Here's how it looks like in action in mailcoach.app (a product we built at Spatie): Using livewire-filepond Our package makes it very easy to use Filepond in your Livewire powered Laravel app. After installing the package, you add the scripts to your layout or view where you want to use Filepond: @filepondScripts Next, add the WithFilePond trait to your component: use Livewire\Component; use Spatie\Livew ..read more
Visit website
Sending transactional emails using Mailcoach API in an Express.js application
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
3w ago
Read more ..read more
Visit website
Using whereAny() for cleaner queries in Eloquent
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
3w ago
In this episode of the Quick Win Wednesday series, we're taking a look at whereAny(), which was released with Laravel 10.47. A very elegant way of grabbing data based on a conditional "any of the following columns". Read more ..read more
Visit website
★ A package to display solutions on the Laravel error page
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
3w ago
When Laravel switched to a simpler exception page, the ability to display solutions for an exception was lost. Our latest package, called spatie/laravel-error-solutions brings back that powerful feature. When installed, it will display solutions for most common exceptions. Here’s how that looks it: And yes, some solutions, like the one in the screenshot above, can be executed on the exception page too. In this blog post, I’d like to tell you all about it! Displaying and running solutions Getting started with the package is quite easy. Just install it using Composer, and you’re done. composer ..read more
Visit website
Jujutsu: a next generation replacement for Git
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
3w ago
Jujutsu (jj) is a new version control system from a software developer at Google with a focus on DX. Read more ..read more
Visit website
WeakMaps, a hidden gem in PHP
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
1M ago
Read more ..read more
Visit website
Building Laravel Error Share
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
1M ago
Here's how our latest package works under the hood. Read more ..read more
Visit website
Mastering Programming
murze.be Blog - Freek Van der Herten
by Freek Van der Herten
1M ago
Some great insights by Kent Beck Read more ..read more
Visit website

Follow murze.be Blog - Freek Van der Herten on FeedSpot

Continue with Google
Continue with Apple
OR