- composer init
- composer is already installed globally
- to add this text here :)
- composer install
- add app/AppKernel
- try to use it
- autoload is missing
-
vendor/autoload.php is already there and returns a loader
- now the Request is available, but AppKernel is missing
-
add app/autoload.php and load this in index.php instead of vendor/autoload.php
- require the vendor/autoload.php in this
- still the Request is available, but AppKernel is missing
-
autoloading is added in the composer.json by hand
- then run composer dumpautoload
- add Bundle
- add Bundle.php and Controller with test Action
- add Bundle and Symfony Framework to AppKernel
- add routing
- which needs secret and router configuration for the framework (config.yml)
the other stuff is generated, eg. composer.json, the cache and log files in var/*, the whole vendor directory
|-- root
|-- app
|-- config
|-- config.yml
|-- config_dev.yml
|-- parameters.yml
|-- routing.yml
|-- AppKernel.php
|-- autoload.php
|-- src
|-- TestBundle
|-- Controller
|-- TestController.php
|-- TestBundle.php
|-- composer.json
|-- index.php
|-- README.md (this file)
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/