Skip to content
Snippets Groups Projects
composer.json 2.67 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
        "type": "project",
        "license": "proprietary",
        "minimum-stability": "stable",
        "prefer-stable": true,
        "require": {
            "php": ">=8.1",
            "ext-ctype": "*",
            "ext-iconv": "*",
            "doctrine/doctrine-bundle": "^2.7",
            "doctrine/doctrine-migrations-bundle": "^3.2",
    
        },
        "config": {
            "allow-plugins": {
                "composer/package-versions-deprecated": true,
                "symfony/flex": true,
                "symfony/runtime": true
            },
            "optimize-autoloader": true,
            "preferred-install": {
                "*": "dist"
            },
            "sort-packages": true
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "autoload-dev": {
            "psr-4": {
                "App\\Tests\\": "tests/"
            }
        },
        "replace": {
            "symfony/polyfill-ctype": "*",
            "symfony/polyfill-iconv": "*",
            "symfony/polyfill-php72": "*",
            "symfony/polyfill-php73": "*",
            "symfony/polyfill-php74": "*",
            "symfony/polyfill-php80": "*",
            "symfony/polyfill-php81": "*"
        },
        "scripts": {
            "auto-scripts": {
                "cache:clear": "symfony-cmd",
                "assets:install %PUBLIC_DIR%": "symfony-cmd"
            },
            "post-install-cmd": [
                "@auto-scripts"
            ],
            "post-update-cmd": [
                "@auto-scripts"
            ]
        },
        "conflict": {
            "symfony/symfony": "*"
        },
        "extra": {
            "symfony": {
                "allow-contrib": false,
    
    Jonas Leder's avatar
    Jonas Leder committed
                "require": "7.0.*",
    
                "docker": false
            }
        }
    }