recipes
recipes copied to clipboard
[POC][WIP] scaffolding system
| Q | A |
|---|---|
| License | MIT |
| Doc issue/PR | n/a |
Possible alternative to https://github.com/symfony/maker-bundle/pull/1085. This is just a place to explore the idea right now.
Test this PR:
symfony new project
cd project
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json
composer config repositories.homepage vcs [email protected]:kbond/homepage-scaffold
composer require kbond/homepage-scaffold
vendor/bin/phpunit
unset SYMFONY_ENDPOINT
Thanks for the PR 😍
How to test these changes in your application
-
Define the
SYMFONY_ENDPOINTenvironment variable:# On Unix-like (BSD, Linux and macOS) export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json # On Windows SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1088/index.json -
Install the package(s) related to this recipe:
composer req 'symfony/flex:^1.16' composer req 'kbond/homepage-scaffold:^0.1' -
Don't forget to unset the
SYMFONY_ENDPOINTenvironment variable when done:# On Unix-like (BSD, Linux and macOS) unset SYMFONY_ENDPOINT # On Windows SET SYMFONY_ENDPOINT=
Diff between recipe versions
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.