PHPackages                             digilopment/n8n-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. digilopment/n8n-client

ActiveLibrary[API Development](/categories/api)

digilopment/n8n-client
======================

PHP client library for n8n webhook integration

v0.0.1(4mo ago)02MITPHPPHP ^8.0

Since Dec 19Pushed 4mo agoCompare

[ Source](https://github.com/digilopment/n8n-client)[ Packagist](https://packagist.org/packages/digilopment/n8n-client)[ RSS](/packages/digilopment-n8n-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Digilopment N8N Client
======================

[](#digilopment-n8n-client)

PHP client library for n8n webhook integration.

Installation
------------

[](#installation)

```
composer require digilopment/n8n-client
```

Configuration
-------------

[](#configuration)

Create a `.env` file in your project root:

```
N8N_BASE_URL=https://your-n8n-instance.com
N8N_BEARER_TOKEN=your_bearer_token_here
N8N_ENVIRONMENT=production
```

The `.env` file is automatically loaded when you use the Config class.

Quick Start
-----------

[](#quick-start)

### Backend (ajax.php)

[](#backend-ajaxphp)

```
