Console Commands
Orchestration provides several Artisan commands to help you manage your services and configurations.
orchestrate:service
This is the primary command to set up or modify a service.
bash
php artisan orchestrate:service [options]Options
--service=: The name of the service (e.g.,payment).--driver=: The driver to use (configordatabase).
Interactive Mode
If run without arguments, the command launches an interactive wizard that guides you through:
- Naming the service.
- Choosing a driver.
- Adding providers.
- Adding accounts.
orchestrate:provider
Adds a new provider to an existing service.
bash
php artisan orchestrate:provider [options]Options
--service=: The name of the service to add the provider to.--provider=: The name/ID of the new provider.
orchestrate:stubs
Publishes the package stubs to stubs/payavel/orchestration for customization.
bash
php artisan orchestrate:stubsUse this if you want to modify the templates used for generating service files, contracts, or migrations.