Skip to content

adamjv90/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+
  • Apache with mod_rewrite
  • Composer (only for development)

Recommended

  • MySQL 5.7+, 8.x
  • NPM for webpack

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
  • Database Query Builder
  • Database Migrations (Phinx)
  • Database Migrations Generator
  • Date and time (Chronos)
  • Console Commands (Symfony)
  • Unit- and integrations tests (PHPUnit)
  • Tested with Github Actions and Scrutinizer CI
  • PHPStan
  • Build and deployment scripts

Frontend

Documentation

Read the Documentation

License

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

Packages

No packages published

Languages

  • PHP 88.5%
  • HTML 4.2%
  • JavaScript 3.8%
  • CSS 2.2%
  • TypeScript 1.3%