This is a simple skeleton project for Slim 3 that includes Twig, Flash messages and Monolog. Based on https://github.com/akrabat/slim3-skeleton
./install.sh
1.Запускаем встроенный в php сервер $ php -S localhost:8080 -t public public/index.php
2.Открываем в браузере http://localhost:8080
3.Видим Slim логотип
app
: Application codeapp/src
: All class files within theApp
namespaceapp/templates
: Twig template filescache/twig
: Twig's Autocreated cache fileslog
: Log filespublic
: Webserver rootvendor
: Composer dependencies
public/index.php
: Entry point to applicationapp/settings.php
: Configurationapp/dependencies.php
: Services for Pimpleapp/middleware.php
: Application middlewareapp/routes.php
: All application routes are hereapp/src/Action/HomeAction.php
: Action class for the home pageapp/templates/home.twig
: Twig template file for the home page