prisma icon indicating copy to clipboard operation
prisma copied to clipboard

A Slim 3 based skeleton project

prisma logo

Prisma is a skeleton project based on Slim 3, and Twig.

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

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