{
    "name": "ushahidi/platform",
    "description": "Ushahidi Platform core and API server",
    "homepage": "http://ushahidi.com/",
    "type": "project",
    "license": "AGPL-3.0",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/ushahidi/ohanzee-db"
        },
        {
            "type": "vcs",
            "url": "https://github.com/ushahidi/kohana-validation"
        }
    ],
    "require": {
        "php": ">=7.2 <7.4",
        "aura/di": "~3.4",
        "league/flysystem-aws-s3-v3": "~1.0",
        "league/flysystem-rackspace": "~1.0",
        "league/flysystem": "~1.0",
        "ircmaxell/password-compat": "^1.0.4",
        "intercom/intercom-php": "^3.1.2",
        "abraham/twitteroauth": "^0.5.3",
        "ohanzee/database": "dev-namespaces",
        "robmorgan/phinx": "~0.8.0",
        "symm/gisconverter": "~1.0.5",
        "vlucas/phpdotenv": "~2.2",
        "league/csv": "~7.1@dev",
        "laravel/lumen-framework": "5.5.*",
        "league/event": "^2.2@dev",
        "beheh/flaps": "dev-master",
        "doctrine/cache": "^1.6.2",
        "ramsey/uuid": "^3.4.1",
        "barryvdh/laravel-cors": "^0.11.0",
        "ushahidi/kohana-validation": "dev-master",
        "illuminate/mail": "5.5.*",
        "twilio/sdk": "^5.15",
        "nexmo/client": "^1.1",
        "sentry/sentry-laravel": "^0.8.0",
        "laravel/passport": "^4.0",
        "germanazo/laravel-ckan-api": "^1.0",
        "asm89/stack-cors": "1.2.0",
        "predis/predis": "~1.1",
        "illuminate/redis": "5.5.*",
        "willdurand/negotiation": "^2.3",
        "ushahidi/gmail-support": "dev-master"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "guzzlehttp/guzzle": "~6.3.2",
        "phpunit/phpunit": "^5.7",
        "phpunit/dbunit": "~1.4",
        "phpspec/phpspec": "~3.0",
        "heroku/heroku-buildpack-php": "dev-master",
        "behat/behat": "^3.3",
        "behat/mink-extension": "^2.2",
        "behat/mink-goutte-driver": "^1.2",
        "satooshi/php-coveralls": "^2.0@dev",
        "leanphp/phpspec-code-coverage": "~3.1",
        "laravel/homestead": "^5.2",
        "squizlabs/php_codesniffer": "~3.0",
        "php-mock/php-mock-mockery": "^1.2",
        "mockery/mockery": "^1.0",
        "sebastianfeldmann/captainhook": "^2.0"
    },
    "suggest" : {
        "ext-imap": "Needed for email data source",
        "ext-redis": "Needed for Redis based queues or cache",
        "ext-memcached": "Needed for Memcache based cache"
    },
    "config": {
        "bin-dir": "bin/",
        "github-protocols": [
            "https",
            "http",
            "git"
        ],
        "preferred-install": "dist"
    },
    "autoload": {
        "psr-4": {
            "Ushahidi\\": "src/",
            "Ushahidi\\App\\": "app/",
            "v5\\": "v5/"
        },
        "files": [
            "app/helpers.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests",
            "Tests\\Unit\\": "tests/unit",
            "Tests\\Integration\\Bootstrap\\": "tests/integration/bootstrap"
        },
        "classmap": [
            "database/"
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "compile" : [
            "@migrate"
        ],
        "lint" : [
            "phpcs --standard=src/ruleset.xml --ignore=./resources/lang/* ./",
            "phpcs --standard=tests/spec/ruleset.xml ./tests/spec/",
            "phpcs --standard=migrations/ruleset.xml ./migrations/ ./database"
        ],
        "fixlint" : [
            "phpcbf --standard=src/ruleset.xml --ignore=./resources/lang/* ./",
            "phpcbf --standard=tests/spec/ruleset.xml ./tests/spec/",
            "phpcbf --standard=migrations/ruleset.xml ./migrations/ ./database"
        ],
        "pre-coverage" : [
            "rm -rf coverage/"
        ],
        "coverage" : [
            "phpunit",
            "phpspec run --no-code-generation"
        ],
        "migrate" : [
            "@verify",
            "phinx migrate -c phinx.php"
        ],
        "pre-test" : [
            "@migrate",
            "php artisan passport:keys",
            "chmod 660 storage/passport/*.key"
        ],
        "test" : [
            "phpunit --no-coverage",
            "phpspec run --no-code-generation",
            "behat --strict --profile ci"
        ],
        "test-dev": [
            "@putenv XDEBUG_MODE=coverage",
            "phpunit --stop-on-failure",
            "phpspec run",
            "behat --strict"
        ],
        "post-install-cmd": [
            "\\SebastianFeldmann\\CaptainHook\\Composer\\Cmd::install",
            "php artisan passport:keys || php -r \"return 0;\""
        ],
        "bootstrap:passport": [
            "php artisan passport:keys",
            "chmod 660 storage/passport/*.key"
        ],
        "verify": [
            "php artisan environment:verify"
        ],
        "installdebug:enable": [
            "\\Ushahidi\\App\\PlatformVerifier\\DebugMode::enable"
        ],
        "installdebug:disable": [
            "\\Ushahidi\\App\\PlatformVerifier\\DebugMode::disable"
        ],
        "snowboard-v3-serve" : [
            "snowboard http docs/api/index.apib"
        ],
        "snowboard-v5-serve" : [
            "snowboard http docs/api/v5/index.apib"
        ]
    }
}
