coderaf / spiderman-security-bundle
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/coderaf/spiderman-security-bundle
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