PhpDev.App
odan/slim4-skeleton

odan/slim4-skeleton

Stars: 407

Forks: 79

Pull Requests: 49

Issues: 69

Watchers: 28

Last Updated: 2023-09-16 10:27:07

A Slim 4 Skeleton

License: MIT License

Languages: PHP, Dockerfile

https://odan.github.io/slim4-skeleton/

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 8.1+
  • MySQL 5.7+ or MariaDB

Installation

Read the documentation

Features

This project is based on best practices and industry standards:

  • Standard PHP package skeleton
  • HTTP router (Slim)
  • HTTP message interfaces (PSR-7)
  • HTTP Server Request Handlers, Middleware (PSR-15)
  • Dependency injection container (PSR-11)
  • Autoloader (PSR-4)
  • Logger (PSR-3)
  • Code styles (PSR-12)
  • Single action controllers
  • Input validation
  • Query Builder
  • Immutable date time (Chronos)
  • Unit- and integration tests
  • Console Commands
  • Tested with Github Actions and Scrutinizer CI
  • PHPStan

Support

License

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

OPEN ISSUES

See all