dbp / relay-maker-bundle
A maker bundle for the Relay API gateway
Installs: 17 039
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/config: ^5.4 || ^6.4
- symfony/console: ^5.4 || ^6.4
- symfony/dependency-injection: ^5.4 || ^6.4
- symfony/filesystem: ^5.4 || ^6.4
- symfony/framework-bundle: ^5.4 || ^6.4
- symfony/http-kernel: ^5.4 || ^6.4
- symfony/process: ^5.4 || ^6.4
- symfony/yaml: ^5.4 || ^6.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.50
- phpstan/phpstan: ^1.10.59
- phpstan/phpstan-phpunit: ^1.3.16
- phpunit/phpunit: ^10.1
- symfony/browser-kit: ^5.4 || ^6.4
- symfony/error-handler: ^5.4 || ^6.4
- symfony/http-client: ^5.4 || ^6.4
- symfony/monolog-bridge: ^5.4 || ^6.4
- symfony/monolog-bundle: ^3.10
- symfony/phpunit-bridge: ^5.4 || ^6.4
- vimeo/psalm: ^5.22.2
README
The maker bundle bundle provides Symfony commands for creating commonly required code constructs. It's inspired by the Symfony MakerBundle but focuses on Relay specific boilerplate code.
Creating a Bundle
Creates a new bundle in a bundles
subdirectory and registers/installs it with the application.
./bin/console dbp:relay:maker:make:bundle --help Description: Create a new bundle Usage: dbp:relay:maker:make:bundle [options] Options: --vendor=VENDOR Vendor --category=CATEGORY Category [default: "relay"] --unique-name=UNIQUE-NAME Unique Name --friendly-name=FRIENDLY-NAME Friendly Name --example-entity=EXAMPLE-ENTITY Example Entity --dry-run Dry Run --no-confirm Bypass all confirmation questions, for automation