roxblnfk / slim4-app
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.3.0
- cycle/annotated: ^1.0
- cycle/migrations: ^1.0
- cycle/orm: ^1.1
- kint-php/kint: ^3.2
- league/plates: ^3.3
- php-di/php-di: ^6.0
- pug-php/pug: ^3.2
- slim/psr7: ^0.3.0
- slim/slim: 4.0.0-beta
- symfony/config: ^4.3
- symfony/console: ^4.3
- symfony/yaml: ^4.3
- twig/twig: ^2.0
This package is auto-updated.
Last update: 2024-10-17 12:01:43 UTC
README
- 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
Install
PHP 7.3 required
composer create-project --prefer-dist roxblnfk/slim4-app my-app composer update
Configure
Configure your database in /config/database.yaml
[Doc]
Migrations
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
TODO
- Routes
- Cache
- Tests
- CS