- Core: Slim 4 (beta)
- HTTP: Slim-PSR7
- Container: PHP-DI
- DB: Cycle (ORM and Migrations) [docs]
- Rendering: Twig / Plates / pug-php
- Front: UIkit
- Debug: Kint
PHP 7.3 required
composer create-project --prefer-dist roxblnfk/slim4-app my-app
composer update
Configure your database in /config/database.yaml
[Doc]
Migrations config file: /config/migrations.yaml
- Generate migration file from diff between Entities and DB structures:
bin/run migrate:generate
- Run migrations:
bin/run migrate:up
- Routes
- Cache
- Tests
- CS