PHPackages                             tropikal-ai/connect-n2n - 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. tropikal-ai/connect-n2n

ActiveN2n-module[API Development](/categories/api)

tropikal-ai/connect-n2n
=======================

TROPIKAL Connect integration for n2n Rocket CMF.

001PHPCI passing

Since May 16Pushed 2mo agoCompare

[ Source](https://github.com/tropikal-ai/connect-n2n)[ Packagist](https://packagist.org/packages/tropikal-ai/connect-n2n)[ RSS](/packages/tropikal-ai-connect-n2n/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

TROPIKAL Connect n2n
====================

[](#tropikal-connect-n2n)

`tropikal-ai/connect-n2n` is the native n2n Rocket CMF integration for TROPIKAL Connect.

It connects a Rocket-powered site to TROPIKAL, discovers Rocket entities through Rocket's CMF spec, lets a Rocket admin grant Read/Write/Delete access per entity, and exposes signed server-to-server endpoints for safe execution.

This package does not implement MCP, owner chat, workflows, or an AI agent inside n2n. TROPIKAL backend imports granted entities and turns them into website chat and workflow functions.

Requirements
------------

[](#requirements)

- PHP 8.2+
- n2n 7.5
- Rocket 4.1 development branch until Rocket publishes a stable v4 tag
- `tropikal-ai/connect` 0.1+

Install
-------

[](#install)

```
composer require tropikal-ai/connect-n2n:^0.1
```

For local path development:

```
{
  "repositories": [
    {
      "type": "path",
      "url": "../connect-n2n"
    }
  ]
}
```

Then:

```
composer require tropikal-ai/connect-n2n:@dev
```

Setup
-----

[](#setup)

Enable the module in the n2n application the same way as other Composer `n2n-module` packages. Open the Rocket admin route for TROPIKAL Connect, connect the site, then grant entity access.

The admin UI should show connected Rocket entities with separate controls:

- Read: list/search/get records.
- Write: create/update records.
- Delete: delete records.

Default access is none. Empty grants expose nothing.

Rocket Entity Discovery
-----------------------

[](#rocket-entity-discovery)

Discovery uses `rocket\core\model\Rocket::getSpec()` and maps Rocket EiTypes, EiMasks, EiProps, and command metadata into a safe manifest. Auth, admin, session, security, and secret-shaped fields are excluded by default.

Security Model
--------------

[](#security-model)

- No hand-entered token setup.
- No copied secret setup.
- No browser-visible secrets.
- Setup requires Rocket admin or superadmin access.
- Bridge calls are signed with `tropikal-ai/connect`.
- Nonces are atomically claimed to prevent replay.
- Local signing secrets are encrypted at rest.
- Reads project declared fields only.
- Writes accept declared writable fields only.
- Delete requires an explicit Delete grant.
- Mutations are audit logged with redacted payloads.

Bridge Operations
-----------------

[](#bridge-operations)

The signed bridge supports normalized operations when granted and supported by Rocket:

- `rocket.entity.list`
- `rocket.entity.get`
- `rocket.entity.create`
- `rocket.entity.update`
- `rocket.entity.delete`

Publishing is intentionally not enabled until a Rocket draft/publish flow is proven and approval metadata is enforced.

Local Development
-----------------

[](#local-development)

```
composer validate --strict
composer install --no-interaction
vendor/bin/pint --test
vendor/bin/phpstan analyse
vendor/bin/phpunit --colors=never
```

Use `https://example.com` style placeholder URLs in tests and docs.

See `docs/implementation-notes.md` for the current Rocket adapter status.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance57

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1d4cfcc3c1c58277f6efdce6b6276ec155dc9382f7d857af21b8d470d6579f2?d=identicon)[tropikal-ai](/maintainers/tropikal-ai)

---

Top Contributors

[![tropikal-ai](https://avatars.githubusercontent.com/u/190056657?v=4)](https://github.com/tropikal-ai "tropikal-ai (2 commits)")

### Embed Badge

![Health badge](/badges/tropikal-ai-connect-n2n/health.svg)

```
[![Health](https://phpackages.com/badges/tropikal-ai-connect-n2n/health.svg)](https://phpackages.com/packages/tropikal-ai-connect-n2n)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k18](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
