A minimal starter VitoDeploy plugin. Copy this directory into plugins/, rename
it to your plugin's slug, and edit composer.json + Plugin.php.
Nothing yet — it's a template. Plugin::boot() is where you register site
types, server providers, features, views, and more via the App\Plugins\Register*
builders.
- Copy
examples/hello-worldtoplugins/<your-slug>. - In
composer.json, set:nameto<your-vendor>/<your-slug>(the package part must equal the directory name).autoload.psr-4toApp\\Vito\\Plugins\\<Vendor>\\<Name>\\(StudlyCase of your vendor and slug), mapped to"".- The matching
namespaceat the top ofPlugin.php. extra.vitolisting metadata (name, categories, homepage, icon, …).
- Replace
assets/icon.svgwith your own icon (SVG, or square PNG ≥ 256×256). - Run
node scripts/validate.mjs <your-slug>andnode scripts/pack.mjs --dry-run <your-slug>. - Open a PR.
This template uses none. Declare only what you use and keep the source readable —
shell, network, eval, and obfuscation are flagged for human review.