---
title: "Integration testing our Laravel package with a real server and queue"
url: https://daily.dev/posts/integration-testing-our-laravel-package-with-a-real-server-and-queue-vttdo2qky
source_url: https://freek.dev/3105-integration-testing-our-laravel-package-with-a-real-server-and-queue
type: article
source: "FREEK.DEV"
published: 2026-05-16T12:30:14.246Z
updated: 2026-05-16T12:30:36.157Z
tags: ["testing", "php", "laravel"]
reading_time: 1
upvotes: 4
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration testing our Laravel package with a real server and queue

**[FREEK.DEV](https://daily.dev/sources/freek)** · 1 min read · 4 upvotes · 0 comments

## Summary

The Flare team built end-to-end integration tests for their Laravel package using a real Testbench workbench app, HTTP server, and queue worker. They swapped the sender to write payloads to disk and built helpers to assert traces, errors, and async job behavior — enabling realistic testing without mocking the full stack.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://freek.dev/3105-integration-testing-our-laravel-package-with-a-real-server-and-queue>

## Similar posts on daily.dev

- [Introducing Flare’s next big feature: performance monitoring](https://daily.dev/posts/introducing-flare-s-next-big-feature-performance-monitoring-ehqyaoale) · FREEK.DEV · 15 upvotes · 0 comments
- [Logging is here\!](https://daily.dev/posts/logging-is-here--lcabj1tk5) · FREEK.DEV · 17 upvotes · 0 comments
- [Testing Laravel Events and Listeners: Ensuring Reliable Asynchronous Workflows](https://daily.dev/posts/testing-laravel-events-and-listeners-ensuring-reliable-asynchronous-workflows-rmaibkmfw) · CodeCraft Diary · 0 upvotes · 0 comments
- [How We Built Laravel Wrapped](https://daily.dev/posts/how-we-built-laravel-wrapped-lnjvhibhm) · Laravel · 39 upvotes · 1 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/integration-testing-our-laravel-package-with-a-real-server-and-queue-vttdo2qky)
