Skip to content

mridah/slim4-skeleton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim 4 Skeleton

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

This is a skeleton to quickly set up a new Slim 4 application.

Requirements

  • PHP 7.2+
  • MySQL 5.7+ or MariaDB
  • Composer (only for development)
  • NPM (only for development and building)

Recommended

  • Apache (with mod_rewrite)
  • Apache ant to create deployment artifacts (build)

Features

This project is based on best practice and industry standards:

  • HTTP message interfaces (PSR-7)
  • HTTP Server Request Handlers, Middleware (PSR-15)
  • HTTP factories (PSR-17)
  • HTTP router and dispatcher (Slim)
  • Dependency injection container (PSR-11)
  • Modern coding style (PSR-1, PSR-12)
  • PHPDoc standard (PSR-5, PSR-19)
  • Autoloading (PSR-4)
  • Logging (PSR-3)
  • Standard PHP package skeleton
  • Single action controllers (ADR)
  • Translations (Symfony)
  • Sessions (Symfony)
  • Console Commands (Symfony)
  • Migrations (Phinx) (CakePHP)
  • SQL Query Builder (CakePHP)
  • Phinx Migrations Generator
  • Immutable date and time (Chronos)
  • Unit- and integrations tests (PHPUnit)
  • Tested with Github Actions and Scrutinizer CI
  • PHPStan (Level: max)
  • Build and deployment scripts
  • Docker support

Frontend

Support

License

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

Packages

No packages published

Languages

  • PHP 86.8%
  • HTML 6.1%
  • JavaScript 4.1%
  • CSS 1.7%
  • Dockerfile 1.3%