odan / prisma
A skeleton project for Slim 3
Installs: 146
Dependents: 0
Suggesters: 0
Security: 0
Stars: 40
Watchers: 2
Forks: 10
Open Issues: 0
Type:project
Requires
- php: ^7.2
- cakephp/chronos: ^1.2
- cakephp/database: ^3.7
- monolog/monolog: ^1.18
- odan/csrf: ^2.1
- odan/phinx-migrations-generator: ^4
- odan/session: ^3.1
- odan/twig-assets: ^2
- odan/twig-translation: ^1.1
- slim/slim: ^3.12
- slim/twig-view: ^2.4
- symfony/console: ^4
- symfony/translation: ^4
Requires (Dev)
- gettext/gettext: ^4.6
- odan/docblock-checker: ^1.1
- phpstan/phpstan-shim: ^0.11
- phpunit/phpunit: ^7.0
- dev-master
- 0.32.0
- 0.31.2
- 0.31.1
- 0.31.0
- 0.30.2
- 0.30.1
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.1
- 0.25.0
- 0.24.5
- 0.24.4
- 0.24.2
- 0.24.1
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.6
- 0.20.4
- 0.20.3
- 0.20.2
- 0.20.0
- 0.19.0
- 0.18.2
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.2
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.5
- 0.9.1
- 0.9.0
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.0
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
This package is auto-updated.
Last update: 2020-01-27 09:02:07 UTC
README
Prisma is a skeleton project based on Slim 3, and Twig.
This project comes configured with:
- Slim 3
- Routes
- Single Action Controllers
- Logging (Monolog)
- Translations (Symfony)
- Sessions
- Authentication and Authorization
- Database Query Builder (cakephp/database)
- Database Migrations (Phinx)
- Database Migration Generator
- Date and time (Chronos)
- Console Commands (Symfony)
- Unit testing (phpunit)
Middleware:
- CSRF protection
- CORS
- Session
- Language
- Authentication
Rendering:
- Twig (slim/twig-view)
- Assets (js, css) minification and caching
- Twig translations
Continous integration:
- Tested on Travis CI and Scrutinizer CI
- Unit tests
- Integration tests (http and database)
- PHPStan
- Code style checker and fixer (PSR-1, PSR-2, PSR-12)
- DocBlock checker (PSR-5)
- Ant scripts
- Deployment scripts
Requirements
- PHP 7.2+
- MySQL 5.7+
- Apache + mod_rewrite
- Apache Ant
Recommended
- NPM
Installation
Install Prisma with Composer.
Documentation
Full documentation of this application can be found here: https://odan.github.io/prisma/.
License
The MIT License (MIT). Please see License File for more information.
Similar packages
- https://github.com/odan/psr7-skeleton
- https://github.com/gothinkster/slim-php-realworld-example-app
- https://github.com/slimphp/Slim-Skeleton
- https://github.com/dantodev/slim-skeleton
- https://github.com/tuupola/slim-skeleton
- https://github.com/akrabat/slim3-skeleton
- https://github.com/l0gicgate/Slim-Skeleton/tree/4.x