phpvms / sample-module
A sample phpvms module
Installs: 18 536
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Type:phpvms-module
pkg:composer/phpvms/sample-module
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2025-10-29 02:16:28 UTC
README
Sample/template repository for a phpVMS plugin. See the full docs here: http://docs.phpvms.net/developers/add-ons-and-modules
Generating a new module
The easiest way to generate a new module for phpVMS is to use the artisan command:
php artisan module:make {ModuleName}
That will create a module in the modules folder, which you can then copy out into its own repository and develop.
Composer Configuration
Type
The type field needs to be set to "phpvms-module", and
"type": "phpvms-module", "require": {}
Autoload
The path to your namespace must be set by the autoload section:
"autoload": { "psr-4": { "Modules\\Sample\\": "." } }