Fedir Kryvytskyi
Recipes cookbook or how to prepare your
Symfony project with spice and flex
Symfony project with spice and flex
Symfony project with spice and flex
Symfony project with spice and flex
Symfony project with spice and flex
So, what actually is Symfony Flex?
●
Symfony flex is composer plugin that overrides default behavior of the
require, update, and remove commands.
●
Symfony 4 requires Flex by default (line "symfony/flex": "^1.0" in
composer.json)
●
During package installation it looks for a "recipe" for a given
<package_name> inside https://github.com/symfony/recipes repository
Recipes
Recipes are simple manifest files with optional additional files, which
defines how this particular package should be installed:
Recipes
Recipes repositories
●
Main recipe repository (https://github.com/symfony/recipes) Enabled by default. Contains official recipes
provided by Symfony Core Team.
●
Contrib recipe repository (https://github.com/symfony/recipes-contrib) Disabled by default. Contains all the
recipes created by the community. To enable this repo, you should call following command inside your project
folder:
composer config extra.symfony.allow-contrib true
symfony.sh
Private recipes repositories
Thank You for your attention ;)

Brief introduction to Symfony Flex

  • 1.
    Fedir Kryvytskyi Recipes cookbookor how to prepare your Symfony project with spice and flex
  • 2.
    Symfony project withspice and flex
  • 3.
    Symfony project withspice and flex
  • 4.
    Symfony project withspice and flex
  • 5.
    Symfony project withspice and flex
  • 6.
    So, what actuallyis Symfony Flex? ● Symfony flex is composer plugin that overrides default behavior of the require, update, and remove commands. ● Symfony 4 requires Flex by default (line "symfony/flex": "^1.0" in composer.json) ● During package installation it looks for a "recipe" for a given <package_name> inside https://github.com/symfony/recipes repository
  • 7.
    Recipes Recipes are simplemanifest files with optional additional files, which defines how this particular package should be installed:
  • 8.
  • 9.
    Recipes repositories ● Main reciperepository (https://github.com/symfony/recipes) Enabled by default. Contains official recipes provided by Symfony Core Team. ● Contrib recipe repository (https://github.com/symfony/recipes-contrib) Disabled by default. Contains all the recipes created by the community. To enable this repo, you should call following command inside your project folder: composer config extra.symfony.allow-contrib true
  • 10.
  • 11.
  • 12.
    Thank You foryour attention ;)