phpvms/sample-module

There is no license information available for the latest version (1.0.2) of this package.

A sample phpvms module

Installs: 11 247

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

Type:phpvms-module

1.0.2 2020-02-28 15:42 UTC

This package is auto-updated.

Last update: 2022-09-28 21:13:10 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\\": "."
    }
}