n2n Rocket Connector
tropikal-ai/connect-n2n is the native n2n Rocket adapter for TROPIKAL
Connect. It is available through Composer and installs as an n2n-module.
Use it when a Rocket-powered site should expose approved Rocket entities as Connected Data.
Requirements
- PHP 8.2 or newer.
- n2n application with Rocket CMF.
- Composer 2.
- Rocket admin or superadmin access.
Install
Require the module with Composer:
composer require tropikal-ai/connect-n2n:"0.1.x-dev"Enable the package the same way you enable other Composer n2n-module
packages in the application.
Use composer require tropikal-ai/connect-n2n:^0.1 after the 0.1.0
release tag is available.
Connect the Site
- Sign in to Rocket as an admin or superadmin.
- Open the TROPIKAL Connect module screen.
- Click Connect.
- Complete setup.
- Return to the module screen.
The module should not expose Rocket session data or private setup credentials to Tropikal.
Grant Connected Data
The adapter discovers Rocket entities from the Rocket CMF spec and shows each entity with independent grants:
- Read: list, search, and read approved fields.
- Write: create or update approved fields.
- Delete: delete approved entities when destructive access is explicitly enabled.
Write does not include Delete. Empty grants expose nothing.
After changing grants, return to Tropikal and click Sync Connected Data.
Operation Limits
Only operations proven safe for the current Rocket APIs should appear in the manifest. If create, update, delete, media, or publish behavior is not safely available for an entity, the connector should hide that operation instead of exposing an unsafe path.