eliashaeussler/typo3-solver

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "eliashaeussler/typo3-solver",
    "description": "Extension for TYPO3 CMS to extend TYPO3's exception handling with AI generated solutions",
    "license": "GPL-2.0-or-later",
    "type": "typo3-cms-extension",
    "authors": [
        {
            "name": "Elias Häußler",
            "email": "elias@haeussler.dev",
            "homepage": "https://haeussler.dev",
            "role": "Maintainer"
        }
    ],
    "support": {
        "issues": "https://github.com/eliashaeussler/typo3-solver/issues",
        "chat": "https://typo3.slack.com/archives/C04Q3440HS6",
        "source": "https://github.com/eliashaeussler/typo3-solver",
        "docs": "https://docs.typo3.org/p/eliashaeussler/typo3-solver/main/en-us/Index.html"
    },
    "require": {
        "php": "~8.1.0 || ~8.2.0 || ~8.3.0",
        "ext-mbstring": "*",
        "erusev/parsedown": "^1.7",
        "guzzlehttp/guzzle": "^7.5",
        "openai-php/client": "^0.4.1 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0",
        "psr/http-message": "^1.0 || ^2.0",
        "psr/http-server-handler": "^1.0",
        "psr/http-server-middleware": "^1.0",
        "spatie/backtrace": "^1.2",
        "symfony/console": "^5.4 || ^6.0 || ^7.0",
        "symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
        "symfony/routing": "^5.4 || ^6.0 || ^7.0",
        "typo3/cms-core": "^11.5 || ^12.4 || ~13.1.0",
        "typo3fluid/fluid": "^2.9"
    },
    "require-dev": {
        "ext-dom": "*",
        "phpunit/phpcov": "^9.0 || ^10.0",
        "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
        "typo3/testing-framework": "^7.0.2 || ^8.0.9"
    },
    "autoload": {
        "psr-4": {
            "EliasHaeussler\\Typo3Solver\\": "Classes/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "EliasHaeussler\\Typo3Solver\\Tests\\": "Tests/"
        }
    },
    "config": {
        "allow-plugins": {
            "php-http/discovery": true,
            "typo3/class-alias-loader": true,
            "typo3/cms-composer-installers": true
        },
        "bin-dir": ".build/bin",
        "sort-packages": true,
        "vendor-dir": ".build/vendor"
    },
    "extra": {
        "typo3/cms": {
            "extension-key": "solver",
            "web-dir": ".build/web"
        }
    },
    "scripts": {
        "post-install-cmd": [
            "@composer -d Tests/CGL install"
        ],
        "post-update-cmd": [
            "@composer -d Tests/CGL update"
        ],
        "cgl": "@composer -d Tests/CGL --",
        "docs": [
            "@docs:cleanup",
            "@docs:build",
            "@docs:open"
        ],
        "docs:build": "docker-compose run --rm docs",
        "docs:cleanup": "rm -rf .build/docs",
        "docs:open": "open .build/docs/Result/project/0.0.0/Index.html",
        "test": [
            "@test:functional",
            "@test:unit"
        ],
        "test:coverage": [
            "@test:coverage:functional",
            "@test:coverage:unit",
            "@test:coverage:merge"
        ],
        "test:coverage:functional": "phpunit -c phpunit.functional.xml",
        "test:coverage:merge": "phpcov merge --html .build/coverage/html/_merged --clover .build/coverage/clover.xml --text php://stdout .build/coverage/php",
        "test:coverage:unit": "phpunit -c phpunit.unit.xml",
        "test:functional": "@test:coverage:functional --no-coverage",
        "test:unit": "@test:coverage:unit --no-coverage"
    }
}