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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.

Latest Version PHP Version Laravel Tests


โœจ 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


๐Ÿš€ 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

PHP Build Version
Package Version
Requires php Version ^8.5
laravel/framework Version ^13.0
spatie/laravel-package-tools Version ^1.93
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oriceon/laravel-n8n-bridge contains the following files

Loading the files please wait ...