> Loading plugin registry...
Plugins
Extend Phlix with a versioned plugin contract.
> Plugin System
Phlix uses a lifecycle-based plugin system with a versioned manifest contract. Implement
LifecycleInterface, ship a manifest.json, drop your plugin in
the plugins directory — Phlix handles the rest.
> Scanning plugins/
+ phlix-metadata-tmdb loaded
+ phlix-metadata-tvdb loaded
+ phlix-transcode-handbrake loaded
> 3 plugins active
> Example Plugin
See phlix-plugin-example for the smallest working starter — a reference metadata provider implementation.
> Manifest Schema
{
"name": "my-plugin",
"version": "1.0.0",
"description": "A Phlix plugin",
" lifecycle": "metadata-provider",
" entry": "src/MyPlugin.php",
"api_version": "1.0"
}
> Lifecycle Types
- metadata-provider — Supplies metadata for movies, TV shows, music
- transcode-encoder — Handles transcoding to different formats
- auth-provider — Custom authentication backends
- storage-backend — Alternative storage implementations