squirrelphp/queries

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "squirrelphp/queries",
    "type": "library",
    "description": "Slimmed down concise interface and query builder for database queries and transactions which can be layered / decorated.",
    "keywords": [
        "php",
        "mysql",
        "pgsql",
        "sqlite",
        "database",
        "abstraction"
    ],
    "homepage": "https://github.com/squirrelphp/queries",
    "license": "MIT",
    "authors": [
        {
            "name": "Andreas Leathley",
            "email": "andreas.leathley@panaxis.ch"
        }
    ],
    "require": {
        "php": ">=8.0",
        "ext-pdo": "*",
        "squirrelphp/debug": "^2.0",
        "doctrine/dbal": "^3.0"
    },
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.8",
        "captainhook/plugin-composer": "^5.0",
        "phpunit/phpunit": "^9.0",
        "mockery/mockery": "^1.0",
        "squirrelphp/types": "^1.0"
    },
    "suggest": {
        "squirrelphp/queries-bundle": "Symfony integration of squirrelphp/queries - automatic assembling of decorated connections",
        "squirrelphp/entities": "Makes defining typed entities possible and easy",
        "squirrelphp/entities-bundle": "Automatic integration of squirrelphp/entities in Symfony"
    },
    "config": {
        "sort-packages": false,
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true,
            "captainhook/plugin-composer": true,
            "composer/package-versions-deprecated": true
        }
    },
    "autoload": {
        "psr-4": {
            "Squirrel\\Queries\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Squirrel\\Queries\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "phpstan": "vendor/bin/phpstan analyse",
        "phpstan_full": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse",
        "phpstan_base": "vendor/bin/phpstan analyse --generate-baseline",
        "psalm": "vendor/bin/psalm --show-info=false",
        "psalm_full": "vendor/bin/psalm --clear-cache && vendor/bin/psalm --show-info=false",
        "psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
        "phpunit": "vendor/bin/phpunit --colors=always",
        "phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
        "coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/_reports",
        "phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests",
        "phpcsd": "vendor/bin/phpcs -s --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --colors src tests",
        "phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache src tests",
        "binupdate": "@composer bin all update --ansi",
        "bininstall": "@composer bin all install --ansi"
    }
}