diff --git a/ckrack/optimus-bundle/0.1/config/packages/ckrack_optimus.yaml b/ckrack/optimus-bundle/0.1/config/packages/ckrack_optimus.yaml new file mode 100644 index 00000000..bd001f4d --- /dev/null +++ b/ckrack/optimus-bundle/0.1/config/packages/ckrack_optimus.yaml @@ -0,0 +1,8 @@ +ckrack_optimus: + # Set options, as documented at https://github.com/jenssegers/optimus#usage + prime: "%env(int:OPTIMUS_PRIME)%" + inverse: "%env(int:OPTIMUS_INVERSE)%" + random: "%env(int:OPTIMUS_RANDOM)%" + + # if set to true, param converter will continue with the next available param converters + passthrough: true diff --git a/ckrack/optimus-bundle/0.1/manifest.json b/ckrack/optimus-bundle/0.1/manifest.json new file mode 100644 index 00000000..54d50acc --- /dev/null +++ b/ckrack/optimus-bundle/0.1/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "Ckrack\\OptimusBundle\\CkrackOptimusBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Replace these env vars with the output of `php vendor/bin/optimus spark -f env`", + "OPTIMUS_PRIME": "3", + "OPTIMUS_INVERSE": "715827883", + "OPTIMUS_RANDOM": "1592469642" + } +} diff --git a/ckrack/optimus-bundle/0.1/post-install.txt b/ckrack/optimus-bundle/0.1/post-install.txt new file mode 100644 index 00000000..f5fbdf85 --- /dev/null +++ b/ckrack/optimus-bundle/0.1/post-install.txt @@ -0,0 +1,10 @@ + + Next: OptimusBundle Configuration + + + * Generate your spark numbers by running php vendor/bin/optimus spark -f env + and configure them in your .env + +Optimus Documentation: https://github.com/jenssegers/optimus +Bundle Documentation: https://github.com/ckrack/optimus-bundle +