propelorm/Propel2

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "propel/propel",
    "type": "library",
    "description": "Propel2 is an open-source Object-Relational Mapping (ORM) for PHP.",
    "keywords": [
        "ORM",
        "persistence",
        "Active Record"
    ],
    "homepage": "http://www.propelorm.org/",
    "license": "MIT",
    "authors": [
        {
            "name": "William Durand",
            "email": "william.durand1@gmail.com"
        }
    ],
    "require": {
        "php": ">=7.4",
        "psr/log": "^1.0 || ^2.0 || ^3.0",
        "symfony/yaml": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/config": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/console": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/filesystem": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/finder": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/translation": "^4.4.0 || ^5.0.0 || ^6.0.0",
        "symfony/validator": "^4.4.0 || ^5.0.0 || ^6.0.0"
    },
    "require-dev": {
        "ext-pdo": "*",
        "ext-json": "*",
        "monolog/monolog": "^1.3 || ^2.3 || ^3.0",
        "phpstan/phpstan": "^1.2",
        "phpunit/phpunit": "^9.5.0",
        "spryker/code-sniffer": "^0.17.2",
        "psalm/phar": "^4.23",
        "mikey179/vfsstream": "^1.6"
    },
    "suggest": {
        "monolog/monolog": "The recommended logging library to use with Propel."
    },
    "autoload": {
        "psr-4": {
            "Propel\\": "src/Propel/"
        }
    },
    "bin": [
        "bin/propel"
    ],
    "scripts": {
        "testsuite": "composer run test && composer run cs-check && composer run stan && composer run psalm",
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "stan": "vendor/bin/phpstan analyze",
        "stan-baseline": "vendor/bin/phpstan analyze --generate-baseline",
        "psalm": "vendor/bin/psalm.phar --config=psalm.xml",
        "psalm-update-baseline": "vendor/bin/psalm.phar --update-baseline",
        "psalm-set-baseline": "vendor/bin/psalm.phar --set-baseline=psalm-baseline.xml",
        "psalm-update-report": "vendor/bin/psalm.phar --report=psalm-report.xml",
        "test": "phpunit --colors=always",
        "test:agnostic": "@test -c tests/agnostic.phpunit.xml",
        "test:mysql": "@test -c tests/mysql.phpunit.xml",
        "test:sqlite": "@test -c tests/sqlite.phpunit.xml",
        "test:pgsql": "@test -c tests/pgsql.phpunit.xml"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "2.0-dev"
        }
    },
    "config": {
        "process-timeout": 0,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}