Skip to content

Add Laravel middleware#1

Merged
marcin-prerender merged 6 commits into
mainfrom
add-prerender-laravel
May 19, 2026
Merged

Add Laravel middleware#1
marcin-prerender merged 6 commits into
mainfrom
add-prerender-laravel

Conversation

@Lasalot
Copy link
Copy Markdown
Collaborator

@Lasalot Lasalot commented Apr 20, 2026

Initial implementation of the Prerender.io integration for laravel.

Laszlo Takacs and others added 6 commits April 20, 2026 16:03
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Lets the backend correlate requests with a specific integration version
and uniquely identify each request for support triage.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pest spec spawns the mock via shell_exec, points the middleware at it
with a real Guzzle client, and asserts the recorded outgoing request
shape (URL, required headers, Int-Type, Int-Version semver, Request-Id
UUID format and per-request uniqueness, token omission).

CI installs Node alongside PHP and fetches mock-server.mjs from
prerender/integration-contract before running Pest.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@marcin-prerender marcin-prerender merged commit 6d2bb3c into main May 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants