| version | v0.1.0 | |
|---|---|---|
| last_updated | 2026-05-29 | |
| title | Plugin Installation Guide | |
| owners |
|
|
| file_type | documentation | |
| description | Guide for installing and configuring LightSpeed plugins |
npm install @lightspeedwp/plugin-nameThen import in your project:
import { PluginName } from '@lightspeedwp/plugin-name';composer require lightspeedwp/plugin-nameThen include in your code:
require_once 'vendor/autoload.php';
use LightSpeed\Plugin;- Download from GitHub releases
- Extract to appropriate directory
- Follow plugin-specific setup instructions
Create .env file with required variables:
LIGHTSPEED_API_KEY=your_key_here
PLUGIN_DEBUG=false
PLUGIN_LOG_LEVEL=infoSome plugins use a config file:
{
"plugin": {
"enabled": true,
"debug": false,
"settings": {}
}
}After installation, verify:
- Plugin loads without errors
- Configuration is accessible
- Permissions are correct
- Dependencies are installed
npm run verify:plugins- Check permissions on plugin directory
- Verify all dependencies installed
- Check configuration file format
- Review error logs
- Verify all required env vars set
- Check JSON syntax in config files
- Ensure permissions for config directory
npm update @lightspeedwp/plugin-nameReview changelog for breaking changes.
- Keep plugins updated
- Review plugins before installation
- Use minimal permissions
- Monitor security advisories