Extensions / Connector pluginsGitHub ↗

Connector plugins

Enverif connector plugins are manifest-driven PHP extensions. Put reviewed third-party plugins under plugins/external/<slug>/.

Manifest

{
  "schema": "enverif.plugin/v1",
  "name": "My CRM",
  "slug": "my-crm",
  "version": "1.0.0",
  "type": "connector",
  "bootstrap": "src/MyCrmConnector.php",
  "driver": "Vendor\\MyCrm\\MyCrmConnector",
  "capabilities": ["read", "network", "external_write"],
  "license": "MIT"
}

bootstrap is optional for Composer-autoloaded classes. If supplied, it must be a safe relative PHP path inside the plugin directory.

Driver contract

Implement App\Core\Connectors\Contracts\ConnectorDriver:

  • id() — stable machine identifier;
  • label() — user-facing name;
  • actions() — action definitions with JSON Schema and risk classification;
  • configurationSchema() — credentials and non-secret configuration fields;
  • test() — inexpensive connection verification;
  • execute() — action execution.

Classify reads accurately. Any action that sends, creates, schedules, modifies or triggers work in a third-party system should normally be external_write. Irreversible changes should be destructive.

Third-party plugins execute inside the PHP process. Enverif validates manifests but cannot sandbox arbitrary PHP. Review source before installation.