Symfony Flex 101

RAD - Rapid Appplication Development

  • Fast prototyping
  • Iterative development
  • Less planning

Translates to

  • Highly opinionated
  • Magic
  • Black wizardry

Bundle App

Bundle-less


├── app
├── bin
├── composer.json
├── composer.lock
├── LICENSE
├── phpunit.xml.dist
├── README.md
├── src
├── tests
├── var
└── web
							

├── bin
├── composer.json
├── composer.lock
├── config
├── Makefile
├── public
├── src
├── templates
└── var
							

Bundle App

Bundle-less


├── AppCache.php
├── AppKernel.php
├── config
│   ├── config_dev.yml
│   ├── config_prod.yml
│   ├── config_test.yml
│   ├── config.yml
│   ├── parameters.yml.dist
│   ├── routing_dev.yml
│   ├── routing.yml
│   ├── security.yml
│   └── services.yml
└── Resources
    └── views
        ├── base.html.twig
        └── default
            └── index.html.twig
							

├── config
│   ├── bundles.php
│   ├── packages
│   │   ├── dev
│   │   │   └── routing.yaml
│   │   ├── framework.yaml
│   │   ├── routing.yaml
│   │   └── test
│   │       └── framework.yaml
│   ├── routes.yaml
│   └── services.yaml
└── src
    ├── Controller
    └── Kernel.php
							

Flex is default on Symfony 4.0

Works on SF 3.3 >

Thank you! Any Questions?

http://talks.mefi.in/symfony-flex-101-PHPNW17-unconf