Skip to content

Commit

Permalink
Add config import
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Dec 20, 2024
1 parent 7ef9de2 commit 4e7afe5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE)
[![Build Status][ico-github-actions]][link-github-actions]
[![Quality Score][ico-code-quality]][link-code-quality]

# Sylius Plugin adding hCaptcha integration

Expand Down Expand Up @@ -33,6 +32,15 @@ return [
];
```

Import global configuration, by creating a new file `config/packages/fluxse_sylius_hcaptcha.yaml` :

```yaml
imports:
- { resource: "@FluxSESyliusHCaptchaPlugin/config/config.yaml" }
```
### Meteo Concept hCaptcha Bundle configuration
This plugin is using the `meteo-concept/hcaptcha-bundle` to handle the validation of the
hCaptcha, so a little configuration have to be made.
Add or modify the `meteo-concept/hcaptcha-bundle` configuration :
Expand Down Expand Up @@ -60,9 +68,7 @@ HCAPTCHA_SECRET=0x0000000000000000000000000000000000000000
[ico-version]: http://poser.pugx.org/flux-se/sylius-hcaptcha-plugin/v
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-github-actions]: https://github.com/FLUX-SE/SyliusHCaptchaPlugin/workflows/Build/badge.svg
[ico-code-quality]: https://img.shields.io/scrutinizer/g/FLUX-SE/SyliusHCaptchaPlugin.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/flux-se/sylius-hcaptcha-plugin
[link-github-actions]: https://github.com/FLUX-SE/SyliusHCaptchaPlugin/actions?query=workflow%3A"Build"
[link-scrutinizer]: https://scrutinizer-ci.com/g/FLUX-SE/SyliusHCaptchaPlugin/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/FLUX-SE/SyliusHCaptchaPlugin

0 comments on commit 4e7afe5

Please sign in to comment.