Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roxblnfk/slim4-app
[Test] Application based on slim 4 beta
https://github.com/roxblnfk/slim4-app
Last synced: 13 days ago
JSON representation
[Test] Application based on slim 4 beta
- Host: GitHub
- URL: https://github.com/roxblnfk/slim4-app
- Owner: roxblnfk
- Created: 2019-07-16T23:19:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T00:28:12.000Z (over 5 years ago)
- Last Synced: 2024-10-11T03:19:45.411Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Slim 4 app
- Core: [Slim 4 (beta)](//github.com/slimphp/Slim)
- HTTP: [Slim-PSR7](//github.com/slimphp/Slim-Psr7)
- Container: [PHP-DI](//github.com/PHP-DI/PHP-DI)
- DB: [Cycle](//github.com/cycle) (ORM and Migrations) [[docs]](//github.com/cycle/docs)
- Rendering: [Twig](//github.com/twigphp/Twig) / [Plates](//github.com/thephpleague/plates) / [pug-php](//github.com/pug-php/pug)
- Front: [UIkit](//github.com/uikit/uikit)
- Debug: [Kint](//github.com/kint-php/kint)# Install
PHP 7.3 required
```bash
composer create-project --prefer-dist roxblnfk/slim4-app my-app
composer update
```# Configure
Configure your database in `/config/database.yaml` [[Doc]](//github.com/cycle/docs/blob/master/basic/connect.md)
## Migrations
Migrations config file: `/config/migrations.yaml`
- Generate migration file from diff between Entities and DB structures:
```bash
bin/run migrate:generate
```
- Run migrations:
```bash
bin/run migrate:up
```# TODO
- Routes
- Cache
- Tests
- CS