Skip to content

helppc/supervisor-rest-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelpPC Supervisor Bundle

Build Status License

Symfony bundle which manage supervisor process. Bundle is implemented using the supervisorphp/supervisor library.

Status

This package is currently in the active development.

Requirements

Installation

  1. Require the bundle and a PSR 7/17 implementation with Composer:

    composer require helppc/supervisor-bundle nyholm/psr7

    NOTE: This bundle requires a PSR 7/17 implementation to operate. We recommend that you use nyholm/psr7. Check out this document if you wish to use a different implementation.

  2. Create the bundle configuration file under config/packages/helppc_supervisor.yaml. Here is a reference configuration file:

    supervisor:
      default_environment: all
      servers:
        all:
          localhost:
            scheme: http
            host: 127.0.0.1
            port: 9006
  3. Enable the bundle in config/bundles.php by adding it to the array:

    HelpPC\Bundle\SupervisorRestBundle\SupervisorRestBundle::class => ['all' => true]
  4. Import the routes inside your config/routes/helppc_supervisor.yaml file:

    supervisor:
      resource: "@SupervisorRestBundle/Resources/config/routing.xml"
      prefix:   /supervisor

❮ NOTE ❯ It is recommended to control the access to the authorization endpoint so that only logged in users can approve authorization requests. You should review your security.yml file. Here is a sample configuration:

security:
    access_control:
        - { path: ^/supervisor, roles: IS_AUTHENTICATED_REMEMBERED }

Reporting issues

Use the issue tracker to report any issues you might have.

License

See the LICENSE file for license rights and limitations (MIT).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages