2017 © Pedro Peláez
 

project prisma

A skeleton project for Slim 3

image

odan/prisma

A skeleton project for Slim 3

  • Tuesday, July 24, 2018
  • by odan
  • Repository
  • 3 Watchers
  • 17 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 54 Versions
  • 28 % Grown

The README.md

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, (*1)

This project comes configured with:, (*2)

  • 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:, (*3)

  • CSRF protection
  • CORS
  • Session
  • Language
  • Authentication

Rendering:, (*4)

  • Twig (slim/twig-view)
  • Assets (js, css) minification and caching
  • Twig translations

Continous integration:, (*5)

  • 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
  • NPM

Installation

Install Prisma with Composer., (*6)

Documentation

Full documentation of this application can be found here: https://odan.github.io/prisma/., (*7)

License

The MIT License (MIT). Please see License File for more information., (*8)

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

The Versions