Download the PHP package oriceon/laravel-n8n-bridge without Composer
On this page you can find all versions of the php package oriceon/laravel-n8n-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oriceon/laravel-n8n-bridge
More information about oriceon/laravel-n8n-bridge
Files in oriceon/laravel-n8n-bridge
Package laravel-n8n-bridge
Short Description Full-featured bidirectional Laravel 13+ bridge for n8n โ DB-driven workflows, inbound/outbound tools, queue, circuit breaker, webhook auth.
License MIT
Homepage https://github.com/oriceon/laravel-n8n-bridge
Informations about the package laravel-n8n-bridge
๐ laravel-n8n-bridge
A full-featured, bidirectional Laravel 13+ bridge for n8n โ DB-driven workflows, secured outbound webhook, secured inbound webhook receiver, circuit breakers, delivery statistics, tools exposed to n8n, DB queue system with live progress tracking, and multi-channel failure notifications.
โจ What this package does
Unlike other n8n packages for Laravel โ which are simple outbound HTTP clients โ laravel-n8n-bridge is a complete bidirectional integration:
| Feature | Other packages | laravel-n8n-bridge |
|---|---|---|
| Trigger workflow outbound | โ | โ |
| Outbound auth (token / bearer / HMAC-SHA256) | โ | โ |
| Outbound rate limiting (global + per-workflow) | โ | โ |
| Webhook mode (test / production / auto) | โ | โ |
| Inbound webhook receiver | โ | โ |
| Webhook auth (one key, all routes) | โ | โ |
| Rotatable API keys with grace period | โ | โ |
| Circuit Breaker per workflow | โ | โ |
| DB-driven workflows (not config files) | โ | โ |
| DB Queue with priority, batches, DLQ | โ | โ |
| Live progress tracking + broadcasting | โ | โ |
| Estimated completion time (EMA) | โ | โ |
| Tool system โ GET/POST/PATCH/DELETE | โ | โ |
| OpenAPI schema auto-generated | โ | โ |
| Daily statistics with chart-ready data | โ | โ |
| Notifications Slack/Discord/Teams/Mail | โ | โ |
| Idempotency native | โ | โ |
| DLQ + replay | โ | โ |
| Artisan commands | โ | โ (20+) |
| Full Pest test suite | โ | โ (832 tests) |
๐ Requirements
- PHP 8.5+
- Laravel 13.x
- n8n (self-hosted or cloud)
๐ Installation
โ๏ธ Configuration
If you want to publish the config or migrations, you can do so with:
Then, run the migrations
Set .env variables
๐ Authentication
All /n8n/* routes require an X-N8N-Key header. One credential key works across all modules โ inbound, tools, and queue progress. Multiple credentials can be attached to the same resource; any of their keys are accepted.
See docs/credentials.md for rotation, IP whitelisting, grace periods, multi-credential setups, and detach commands.
๐ฅ Inbound โ receive data from n8n
1. Create an endpoint
2. Write the handler
3. Configure in n8n
Security pipeline
Every request passes through 6 layers automatically:
See docs/inbound.md for HMAC, rate limits, IP whitelist, DLQ, and handler validation.
๐ค Outbound โ trigger n8n from Laravel
Automatic from Eloquent models
Webhook mode (test vs production URL)
Each workflow has a webhook_mode that controls which n8n URL is called:
With Auto, the URL is selected based on APP_ENV: production โ /webhook, anything else โ /webhook-test.
See docs/outbound.md for full details.
Outbound authentication
Protect your n8n webhooks with a per-workflow secret (AES-256 encrypted at rest):
Auth headers are added automatically by both the outbound dispatcher and the queue worker.
Outbound rate limiting
Prevent flooding n8n with too many requests per minute:
Per-workflow override:
When the limit is exceeded: async triggers are re-dispatched after the window resets; sync triggers fail immediately; queue worker releases the job back to pending with a delay.
See docs/outbound.md for auth types, rate limiting, n8n credential setup, and the HMAC verification Code node.
๐ง Tool System โ n8n calls Laravel
Define typed Laravel endpoints that n8n nodes call as an internal API.
See docs/tools.md for filters, pagination, rate limiting, and schema definition.
๐ Queue System โ async jobs with live progress
n8n sends checkpoint progress back:
Real-time updates via Laravel Echo:
See docs/queue.md for full queue documentation โ priorities, batches, DLQ, worker setup, Supervisor config, and estimated completion time.
๐ Circuit Breaker
See docs/circuit-breaker.md.
๐ Statistics
See docs/statistics.md.
๐ Notifications
Alerts sent automatically on DLQ, circuit breaker open, and high error rate:
See docs/notifications.md.
๐๏ธ Database Tables
With the default n8n prefix:
| Table | Description |
|---|---|
n8n__credentials__lists |
Credential identities (one per n8n instance) |
n8n__api_keys__lists |
Rotatable API keys (many per credential) |
n8n__endpoints__credentials |
Endpoint โ credential pivot (many-to-many) |
n8n__tools__credentials |
Tool โ credential pivot (many-to-many) |
n8n__workflows__lists |
Workflows synced from n8n |
n8n__endpoints__lists |
Inbound endpoints |
n8n__deliveries__lists |
Full delivery log |
n8n__circuit_breakers__lists |
Per-workflow circuit breaker state |
n8n__stats__lists |
Daily aggregated statistics |
n8n__tools__lists |
Tool definitions |
n8n__event_subscriptions__lists |
Laravel event โ workflow mappings |
n8n__queue__jobs |
DB queue jobs |
n8n__queue__batches |
Batch grouping |
n8n__queue__failures |
Per-attempt failure history |
n8n__queue__checkpoints |
Live progress nodes from n8n |
๐ ๏ธ Artisan Commands
๐งช Tests
๐ Documentation
| Guide | Description |
|---|---|
| docs/credentials.md | Credential keys, rotation, IP whitelist |
| docs/inbound.md | Inbound handler, pipeline, HMAC, idempotency |
| docs/outbound.md | Outbound triggers, Eloquent trait, event subscriptions, outbound auth, webhook mode |
| docs/tools.md | Tool handlers, routing, OpenAPI schema |
| docs/queue.md | DB queue, priorities, batches, DLQ, live progress |
| docs/circuit-breaker.md | State machine, configuration |
| docs/statistics.md | Stats aggregation, chart data |
| docs/notifications.md | Alert channels, thresholds |
| docs/security.md | Key hashing, HMAC, timing attacks |
| docs/multitenancy.md | Multi-tenant setup |
| docs/n8n-setup.md | Configuring n8n credentials and nodes |
| docs/testing.md | Testing handlers, tools, and queue jobs |
| docs/upgrade.md | Upgrade guide |
๐ License
MIT โ Copyright ยฉ 2026 Valentin Ivaศcu
All versions of laravel-n8n-bridge with dependencies
laravel/framework Version ^13.0
spatie/laravel-package-tools Version ^1.93