coderaf / spiderman-security-bundle
0.5.2
2021-02-25 21:21 UTC
Requires
- php: ^7.2.5
- guzzlehttp/guzzle: ^6.5
- kreait/firebase-tokens: ^1.10
- symfony/config: v5.2.*
- symfony/dependency-injection: v5.2.*
- symfony/framework-bundle: v5.2.*
- symfony/monolog-bundle: v3.6.*
- symfony/security-bundle: v5.2.*
- symfony/serializer-pack: v1.0.*
- symfony/validator: v5.2.*
README
Instalation
As its private repository it requires special care in composer.json
in composer.json add
{
..
"require": {
"coderaf/spiderman-security-bundle": "0.2.9"
},
"repositories": [
{
"name": "coderaf/spiderman-security-bundle",
"type": "vcs",
"url": "git@bitbucket.org-coderaf:coderaf/spiderman-security-bundle.git"
}
],
}
Also add configuration file in
config/packages/spiderman_security.yaml
with
spiderman_security:
base_uri: '%env(SPIDERMAN_BASE_URI)%'
api_key: '%env(SPIDERMAN_API_KEY)%'
firebase_project_id: '%env(FIREBASE_AUTH_PROJECT_ID)%'
then in .env
file add proper parameters
SPIDERMAN_BASE_URI
SPIDERMAN_API_KEY
FIREBASE_AUTH_PROJECT_ID