GitHubIssueSubmitterPlugin
extends BasePlugin
in package
GitHubIssueSubmitter Plugin - Anonymous Feedback Collection and GitHub Integration
Provides anonymous feedback collection through direct GitHub issue creation. Users can submit bug reports, feature requests, and feedback without authentication.
Configuration is managed through StaticHelpers with version-based automatic updates.
Tags
Table of Contents
Methods
- bootstrap() : void
- Load plugin configuration and bootstrap logic.
- console() : CommandCollection
- Add commands for the plugin.
- middleware() : MiddlewareQueue
- Add middleware for the plugin.
- routes() : void
- Add routes for the plugin.
- services() : void
- Register application container services.
Methods
bootstrap()
Load plugin configuration and bootstrap logic.
public
bootstrap(PluginApplicationInterface $app) : void
Initializes version-based configuration management, ensuring all required settings (GitHub repository, activation status, user messaging) are properly initialized and updated when configuration version changes.
Parameters
- $app : PluginApplicationInterface
-
The host application
console()
Add commands for the plugin.
public
console(CommandCollection $commands) : CommandCollection
Parameters
- $commands : CommandCollection
-
The command collection to update.
Return values
CommandCollectionmiddleware()
Add middleware for the plugin.
public
middleware(MiddlewareQueue $middlewareQueue) : MiddlewareQueue
Parameters
- $middlewareQueue : MiddlewareQueue
-
The middleware queue to update.
Return values
MiddlewareQueueroutes()
Add routes for the plugin.
public
routes(RouteBuilder $routes) : void
Configures routing with base path /git-hub-issue-submitter for feedback
submission endpoints. Uses fallback routes for standard CakePHP conventions.
Parameters
- $routes : RouteBuilder
-
The route builder to update.
services()
Register application container services.
public
services(ContainerInterface $container) : void
Parameters
- $container : ContainerInterface
-
The Container to update.