Closed alexander-schranz closed 2 years ago
Thanks for the PR 😍
Define the SYMFONY_ENDPOINT
environment variable:
# On Unix-like (BSD, Linux and macOS)
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/alexander-schranz/symfony-recipes-php/flex/pull-1/index.json
# On Windows
SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/alexander-schranz/symfony-recipes-php/flex/pull-1/index.json
Install the package(s) related to this recipe:
composer req 'symfony/flex:^1.16'
composer req 'api-platform/admin-pack:^1.0' 'api-platform/api-pack:^1.0' 'api-platform/core:^2.5' 'blackfireio/blackfire-symfony-meta:^1.0' 'doctrine/annotations:^1.10' 'doctrine/doctrine-bundle:^2.4' 'doctrine/doctrine-fixtures-bundle:^3.0' 'doctrine/doctrine-migrations-bundle:^3.1' 'easycorp/easyadmin-bundle:^3.0' 'friendsofphp/php-cs-fixer:^3.0' 'hautelook/alice-bundle:^2.2' 'javiereguiluz/easyadmin-bundle:^1.17' 'league/flysystem-bundle:^1.0' 'lexik/jwt-authentication-bundle:^2.5' 'nelmio/alice:^3.3' 'nelmio/cors-bundle:^1.5' 'nelmio/security-bundle:^2.4' 'nyholm/psr7:^1.0' 'phpunit/phpunit:^9.3' 'scheb/2fa-bundle:^6.0' 'sensio/framework-extra-bundle:^5.2' 'sensiolabs/ansi-to-html:^1.2' 'sensiolabs/security-checker:^4.0' 'symfony/all-my-sms-notifier:^5.3' 'symfony/allmysms-notifier:^5.3' 'symfony/amazon-mailer:^4.4' 'symfony/amazon-sns-notifier:^5.4' 'symfony/amqp-pack:^1.0' 'symfony/clickatell-notifier:^5.3' 'symfony/console:^5.3' 'symfony/crowdin-translation-provider:^5.3' 'symfony/debug-bundle:^5.3' 'symfony/debug-pack:^1.0' 'symfony/discord-notifier:^5.2' 'symfony/engagespot-notifier:^6.1' 'symfony/esendex-notifier:^5.2' 'symfony/expo-notifier:^5.4' 'symfony/fake-chat-notifier:^5.3' 'symfony/fake-sms-notifier:^5.3' 'symfony/firebase-notifier:^5.1' 'symfony/flex:^1.0' 'symfony/forty-six-elks-notifier:^6.1' 'symfony/framework-bundle:^6.2' 'symfony/free-mobile-notifier:^5.1' 'symfony/gateway-api-notifier:^5.3' 'symfony/gatewayapi-notifier:^5.3' 'symfony/gitter-notifier:^5.3' 'symfony/google-chat-notifier:^5.3' 'symfony/google-mailer:^4.4' 'symfony/infobip-mailer:^6.2' 'symfony/infobip-notifier:^5.2' 'symfony/iqsms-notifier:^5.3' 'symfony/kaz-info-teh-notifier:^6.1' 'symfony/light-sms-notifier:^5.3' 'symfony/linked-in-notifier:^5.2' 'symfony/lock:^5.2' 'symfony/loco-translation-provider:^5.3' 'symfony/lokalise-translation-provider:^5.3' 'symfony/mail-pace-mailer:^6.2' 'symfony/mailchimp-mailer:^4.4' 'symfony/mailer:^4.3' 'symfony/mailgun-mailer:^4.4' 'symfony/mailjet-mailer:^5.2' 'symfony/mailjet-notifier:^5.4' 'symfony/maker-bundle:^1.0' 'symfony/mattermost-notifier:^5.1' 'symfony/mercure-bundle:^0.3' 'symfony/mercure-notifier:^5.3' 'symfony/message-bird-notifier:^5.3' 'symfony/message-media-notifier:^5.4' 'symfony/messenger:^6.0' 'symfony/microsoft-teams-notifier:^5.3' 'symfony/mobyt-notifier:^5.2' 'symfony/monolog-bundle:^3.7' 'symfony/nexmo-notifier:^5.0' 'symfony/notifier:^5.0' 'symfony/octopush-notifier:^5.3' 'symfony/one-signal-notifier:^5.4' 'symfony/orange-sms-notifier:^6.1' 'symfony/orm-pack:^1.0' 'symfony/ovh-cloud-notifier:^5.1' 'symfony/panther:^1.0' 'symfony/phpunit-bridge:^5.3' 'symfony/postmark-mailer:^4.4' 'symfony/profiler-pack:^1.0' 'symfony/psr7-pack:^1.0' 'symfony/requirements-checker:^2.0' 'symfony/rocket-chat-notifier:^5.1' 'symfony/routing:^6.1' 'symfony/security-bundle:^6.0' 'symfony/sendberry-notifier:^6.1' 'symfony/sendgrid-mailer:^4.4' 'symfony/sendinblue-mailer:^5.2' 'symfony/sendinblue-notifier:^5.2' 'symfony/serializer-pack:^1.0' 'symfony/sinch-notifier:^5.1' 'symfony/slack-notifier:^5.2' 'symfony/sms-biuras-notifier:^5.3' 'symfony/sms-factor-notifier:^6.2' 'symfony/sms77-notifier:^5.4' 'symfony/smsapi-notifier:^5.2' 'symfony/smsc-notifier:^5.4' 'symfony/spot-hit-notifier:^5.3' 'symfony/swiftmailer-bundle:^2.5' 'symfony/telegram-notifier:^5.0' 'symfony/telnyx-notifier:^5.4' 'symfony/test-pack:^1.0' 'symfony/translation:^5.3' 'symfony/turbo-sms-notifier:^5.4' 'symfony/twig-bundle:^5.4' 'symfony/twig-pack:^1.0' 'symfony/twilio-notifier:^5.0' 'symfony/ux-autocomplete:^2.2' 'symfony/ux-live-component:^2.0' 'symfony/validator:^5.3' 'symfony/var-dumper:^3.3' 'symfony/vonage-notifier:^5.4' 'symfony/web-profiler-bundle:^6.1' 'symfony/web-server-bundle:^3.3' 'symfony/webapp-pack:^1.0' 'symfony/webpack-encore-bundle:^1.10' 'symfony/workflow:^3.3' 'symfony/yunpian-notifier:^5.4' 'symfony/zendesk-notifier:^6.2' 'symfony/zulip-notifier:^5.2' 'symfonycasts/reset-password-bundle:^1.0' 'symfonycorp/platformsh-pack:^1.0' 'theofidry/alice-data-fixtures:^1.0' 'twig/cssinliner-extension:^1.0' 'twig/extensions:^1.0' 'twig/inky-extension:^1.0' 'twig/markdown-extension:^1.0' 'willdurand/js-translation-bundle:^2.0' 'zenstruck/foundry:^1.10'
Don't forget to unset the SYMFONY_ENDPOINT
environment variable when done:
# On Unix-like (BSD, Linux and macOS)
unset SYMFONY_ENDPOINT
# On Windows
SET SYMFONY_ENDPOINT=
In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.
Big Thank you to @TomasVotruba seems like we did solve all config-transformers issues. The converts looks good.
I even did now test out the website-skeleton
with:
"extra": {
"symfony": {
"allow-contrib": false,
"require": "6.1.*",
"endpoint": [
"https://raw.githubusercontent.com/alexander-schranz/symfony-recipes-php/flex/pull-1/index.json",
"flex://defaults"
]
}
}
And we successfull have a skeleton with .php config files:
And it works 🎉 :
Contrib Recipes Pull Request: https://github.com/alexander-schranz/symfony-recipes-php-contrib/pull/2
First run to update yaml to php files.
This pull request added a script to convert yaml to php:
ConfigTransformer Issues:
ConfigTransformer Features for completness
[x] https://github.com/symplify/symplify/issues/4273
[ ] Wontfix issue which need to be tackled: https://github.com/symfony/symfony/issues/22516
Code Style issues (ECS)
[x] https://github.com/symplify/symplify/pull/4287
Testing
Following config can be used to test out the recipes: