File structure
The project has a fairly straight forward file structure. The most important directories are :
config
: contains all Slim configuration files (see Configuration).migrations
: contains all database migrations.src
: the root directory for your code. Composer with autoload this directory as theApp
namespace.tests
: the root directory for your tests. Composer with autoload this directory as theApp\Tests
namespace.templates
: the root directory for all your twig templates.
Detailed overview
├── bin
│ └── console
├── config
├── docker
│ ├── mysql
│ ├── nginx
│ ├── php-cli
│ └── php-fpm
├── migrations
├── public
│ └── index.php
├── src
│ ├── Console
│ ├── Controller
│ ├── Domain
│ │ ├── ReadModel
│ │ └── WriteModel
│ └── Infrastructure
├── templates
└── tests