Created
September 19, 2024 13:46
-
-
Save hhamon/d3f132e8186197bba44d23e1e554d3cb to your computer and use it in GitHub Desktop.
Composer Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my/super-project", | |
"type": "project", | |
"license": "MIT", | |
"description": "Lots of PHP Goodnesses here!", | |
"minimum-stability": "stable", | |
"prefer-stable": true, | |
"require": { | |
"php": ">=8.3.7", | |
"ext-bcmath": "*", | |
"ext-ctype": "*", | |
"ext-iconv": "*", | |
"ext-intl": "*", | |
"beberlei/assert": "^3.3.2", | |
"checkout/checkout-sdk-php": "^3.2.4", | |
"doctrine/dbal": "^4.1.1", | |
"doctrine/doctrine-bundle": "^2.13.0", | |
"doctrine/doctrine-migrations-bundle": "^3.3.1", | |
"doctrine/orm": "^3.2.2", | |
"easycorp/easyadmin-bundle": "^4.12.0", | |
"knplabs/knp-time-bundle": "^2.4.0", | |
"league/commonmark": "^2.5.3", | |
"league/iso3166": "^4.3.1", | |
"lorisleiva/cron-translator": "^0.4.5", | |
"moneyphp/money": "^4.5.0", | |
"odolbeau/phone-number-bundle": "^4.0.1", | |
"pagerfanta/core": "^4.7.0", | |
"pagerfanta/doctrine-orm-adapter": "^4.7.0", | |
"phpdocumentor/reflection-docblock": "^5.4.1", | |
"phpstan/phpdoc-parser": "^1.30.1", | |
"runtime/frankenphp-symfony": "^0.2.0", | |
"sentry/sentry-symfony": "^5.0.1", | |
"symfony/all-my-sms-notifier": "7.1.*", | |
"symfony/asset": "7.1.*", | |
"symfony/asset-mapper": "7.1.*", | |
"symfony/cache": "7.1.*", | |
"symfony/clock": "7.1.*", | |
"symfony/console": "7.1.*", | |
"symfony/doctrine-messenger": "7.1.*", | |
"symfony/dotenv": "7.1.*", | |
"symfony/expression-language": "7.1.*", | |
"symfony/flex": "^2.4.6", | |
"symfony/framework-bundle": "7.1.*", | |
"symfony/http-client": "7.1.*", | |
"symfony/intl": "7.1.*", | |
"symfony/lock": "7.1.*", | |
"symfony/mailer": "7.1.*", | |
"symfony/messenger": "7.1.*", | |
"symfony/monolog-bundle": "^3.10.0", | |
"symfony/notifier": "7.1.*", | |
"symfony/polyfill-intl-idn": "^1.31.0", | |
"symfony/polyfill-intl-messageformatter": "^1.31.0", | |
"symfony/polyfill-php84": "^1.31.0", | |
"symfony/property-access": "7.1.*", | |
"symfony/property-info": "7.1.*", | |
"symfony/rate-limiter": "7.1.*", | |
"symfony/runtime": "7.1.*", | |
"symfony/scheduler": "7.1.*", | |
"symfony/security-bundle": "7.1.*", | |
"symfony/sendgrid-mailer": "7.1.*", | |
"symfony/serializer": "7.1.*", | |
"symfony/slack-notifier": "7.1.*", | |
"symfony/stimulus-bundle": "^2.19.0", | |
"symfony/translation": "7.1.*", | |
"symfony/twig-bundle": "7.1.*", | |
"symfony/twilio-notifier": "7.1.*", | |
"symfony/uid": "7.1.*", | |
"symfony/ux-live-component": "^2.19.2", | |
"symfony/validator": "7.1.*", | |
"symfony/webhook": "7.1.*", | |
"symfony/yaml": "7.1.*", | |
"symfonycasts/sass-bundle": "^0.7.0", | |
"symfonycasts/tailwind-bundle": "^0.6.0", | |
"symfonycasts/verify-email-bundle": "^1.17.0", | |
"tbbc/money-bundle": "^6.0.3", | |
"twig/cssinliner-extra": "^3.13.0", | |
"twig/extra-bundle": "^3.13.0", | |
"twig/inky-extra": "^3.13.0", | |
"twig/intl-extra": "^3.13.0", | |
"twig/markdown-extra": "^3.13.0", | |
"twig/twig": "^3.14.0", | |
"twilio/sdk": "^8.3.1", | |
"zenstruck/messenger-monitor-bundle": "^0.4.0" | |
}, | |
"require-dev": { | |
"behat/behat": "^3.14.0", | |
"dama/doctrine-test-bundle": "^8.2.0", | |
"dbrekelmans/bdi": "^1.3.0", | |
"deployer/deployer": "^7.4.0", | |
"doctrine/doctrine-fixtures-bundle": "^3.6.1", | |
"friends-of-behat/symfony-extension": "^2.6.0", | |
"mtdowling/jmespath.php": "^2.8.0", | |
"phpstan/extension-installer": "^1.4.3", | |
"phpstan/phpstan": "^1.12.4", | |
"phpstan/phpstan-beberlei-assert": "^1.1.3", | |
"phpstan/phpstan-deprecation-rules": "^1.2.1", | |
"phpstan/phpstan-doctrine": "^1.5.3", | |
"phpstan/phpstan-phpunit": "^1.4.0", | |
"phpstan/phpstan-strict-rules": "^1.6.0", | |
"phpstan/phpstan-symfony": "^1.4.9", | |
"phpunit/phpunit": "^9.6.20", | |
"qossmic/deptrac": "^2.0.1", | |
"symfony/browser-kit": "7.1.*", | |
"symfony/css-selector": "7.1.*", | |
"symfony/debug-bundle": "7.1.*", | |
"symfony/maker-bundle": "^1.61.0", | |
"symfony/panther": "^2.1.1", | |
"symfony/phpunit-bridge": "7.1.*", | |
"symfony/stopwatch": "7.1.*", | |
"symfony/web-profiler-bundle": "7.1.*", | |
"symplify/easy-coding-standard": "^12.3.5", | |
"vincentlanglet/twig-cs-fixer": "^3.1.0", | |
"zenstruck/browser": "^1.8.1", | |
"zenstruck/foundry": "^1.38.3", | |
"zenstruck/messenger-test": "^1.10.0" | |
}, | |
"config": { | |
"allow-plugins": { | |
"php-http/discovery": true, | |
"symfony/flex": true, | |
"symfony/runtime": true, | |
"phpstan/extension-installer": true | |
}, | |
"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": "*", | |
"symfony/polyfill-php82": "*", | |
"symfony/polyfill-php83": "*" | |
}, | |
"scripts": { | |
"auto-scripts": { | |
"cache:clear": "symfony-cmd", | |
"assets:install %PUBLIC_DIR%": "symfony-cmd", | |
"importmap:install": "symfony-cmd" | |
}, | |
"post-install-cmd": [ | |
"@auto-scripts" | |
], | |
"post-update-cmd": [ | |
"@auto-scripts" | |
], | |
"behat": "@php vendor/bin/behat", | |
"build:frontend-dev": [ | |
"@php bin/console tailwind:build --env dev", | |
"@php bin/console sass:build --env dev", | |
"@php bin/console asset-map:compile --env dev" | |
], | |
"build:frontend-prod": [ | |
"@php bin/console tailwind:build --minify --env prod", | |
"@php bin/console sass:build --env prod", | |
"@php bin/console asset-map:compile --env prod" | |
], | |
"lint": [ | |
"@composer lint:cs", | |
"@composer lint:phpstan", | |
"@composer lint:deptrac", | |
"@composer lint:twig", | |
"@composer lint:twig-cs", | |
"@composer lint:symfony-config", | |
"@composer lint:symfony-dic", | |
"@composer lint:l10n" | |
], | |
"lint:cs": "@php vendor/bin/ecs check --ansi", | |
"lint:cs-fix": [ | |
"@php vendor/bin/ecs check --fix --ansi", | |
"@lint:twig-cs-fix" | |
], | |
"lint:phpstan": "@php vendor/bin/phpstan --memory-limit=256M", | |
"lint:phpstan-baseline": "@php vendor/bin/phpstan --memory-limit=256M --generate-baseline", | |
"lint:deptrac": "@php vendor/bin/deptrac", | |
"lint:symfony-config": "@php bin/console lint:yaml config/", | |
"lint:symfony-dic": "@php bin/console lint:container", | |
"lint:l10n": "@php bin/console lint:xliff translations/", | |
"lint:twig": "@php bin/console lint:twig templates/", | |
"lint:twig-cs": "@php -d memory_limit=128M vendor/bin/twig-cs-fixer lint templates/", | |
"lint:twig-cs-fix": "@php -d memory_limit=128M vendor/bin/twig-cs-fixer lint --fix templates/", | |
"db:reset-dev": [ | |
"@php bin/console doctrine:database:drop --if-exists --force --no-interaction --env dev", | |
"@php bin/console doctrine:database:create --if-not-exists --no-interaction --env dev", | |
"@php bin/console doctrine:migration:migrate --allow-no-migration --all-or-nothing --no-interaction --env dev", | |
"@php bin/console doctrine:fixtures:load --purge-with-truncate --group system --group dev --no-interaction --env dev" | |
], | |
"db:reset-test": [ | |
"@php bin/console doctrine:database:drop --if-exists --force --no-interaction --env test", | |
"@php bin/console doctrine:database:create --if-not-exists --no-interaction --env test", | |
"@php bin/console doctrine:migration:migrate --allow-no-migration --all-or-nothing --no-interaction --env test", | |
"@php bin/console doctrine:fixtures:load --purge-with-truncate --group system --group acceptance --no-interaction --env test" | |
] | |
}, | |
"conflict": { | |
"symfony/symfony": "*" | |
}, | |
"extra": { | |
"symfony": { | |
"allow-contrib": false, | |
"require": "<=7.1.4", | |
"docker": true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment