Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    39740411
    README: clean up · 39740411
    Reiter, Christoph authored
    This initially was copied from the tempalte bundle, but this bundle has a different
    goal. Instead of providing a minimal example skeleton it tries to implement everything
    there is.
    39740411
    History
    README: clean up
    Reiter, Christoph authored
    This initially was copied from the tempalte bundle, but this bundle has a different
    goal. Instead of providing a minimal example skeleton it tries to implement everything
    there is.

Relay Example Bundle

GitLab | Packagist

The goal of this bundle is to include a wide variety of features that you might need in developing your own bundle. So you can use it as either a reference, or as a starting point/sandbox for experiments.

When including this bundle into your API server it will gain the following features:

  • A custom ./bin/console command
  • An example entity
  • Various HTTP methods implemented for that entity
  • A custom controller for that entity
  • A health check
  • ...

Integrate it into your server via:

composer require dbp/relay-example-bundle

Development & Testing

  • Install dependencies: composer install
  • Run tests: composer test
  • Run linters: composer run lint
  • Run cs-fixer: composer run cs-fix