formatz / fz-hosting-symfony-bundle
FZ Hostings Symfony Bundle
1.3.1
2025-01-29 12:17 UTC
Requires
- php: >=8.0
- symfony/config: ^5.0|^6.0|^7.0
- symfony/console: ^5.0|^6.0|^7.0
- symfony/dependency-injection: ^5.0|^6.0|^7.0
- symfony/http-client: ^5.0|^6.0|^7.0
README
Installation
Install the bundle with composer
composer require formatz/fz-hosting-symfony-bundle
If you don't have Symfony Flex
Add the package config to `
config/packages`
# config/packages/formatz_fz_hosting.yaml
formatz_fz_hosting:
api_key: '%env(resolve:FZ_HOSTING_API_KEY)%'
api_endpoint: '%env(resolve:FZ_HOSTING_API_ENDPOINT)%'
Add env variable to `
.env`
FZ_HOSTING_API_ENDPOINT=https://hostings.format-z.ch
FZ_HOSTING_API_KEY=changeme
Send current versions
php bin/console fz-hosting:send-current-versions