Search code examples
documentationstructuredirectorysilex

Silex: documentation's folder structure


I've been working with Silex a few times now. And I like it, but sometimes, the documentation confuses me simply because they use another folder structure.

Who can tell me which folder structure they use exactly in Silex 2.0? Documentation

├── composer.json
├── composer.lock
├── vendor
│   └── ...
└── web
    └── index.php

Where are the views, controllers etcetera stored?


Solution

  • Silex is not a "convention over configuration" framework: it does not prescribe nor care what the structure of your file system or application organisation is; that is why there's no mention of such things in the docs.

    Just organise things the way that best suits your own needs.