-
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.
Reiter, Christoph authoredThis 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.
README.md 888 B
Relay Example Bundle
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