Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

A Slim 4 Skeleton
https://github.com/odan/slim4-skeleton

php php8 skeleton slim slim-4 slim-framework slim4

Last synced: 24 days ago
JSON representation

A Slim 4 Skeleton

Awesome Lists containing this project

README

        



Slim 4 Skeleton

[![Latest Version on Packagist](https://img.shields.io/github/release/odan/slim4-skeleton.svg)](https://packagist.org/packages/odan/slim4-skeleton)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![Build Status](https://github.com/odan/slim4-skeleton/workflows/build/badge.svg)](https://github.com/odan/slim4-skeleton/actions)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/odan/slim4-skeleton.svg)](https://scrutinizer-ci.com/g/odan/slim4-skeleton/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/quality/g/odan/slim4-skeleton.svg)](https://scrutinizer-ci.com/g/odan/slim4-skeleton/?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/odan/slim4-skeleton.svg)](https://packagist.org/packages/odan/slim4-skeleton/stats)

This is a skeleton to quickly set up a new [Slim 4](https://www.slimframework.com/) application.

## Requirements

* PHP 8.2

## Installation

Read the **[documentation](https://odan.github.io/slim4-skeleton/installation.html)**

## Features

This project is based on best practices and industry standards:

* [Standard PHP package skeleton](https://github.com/php-pds/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
* Unit- and integration tests
* Tested with [Github Actions](https://github.com/odan/slim4-skeleton/actions) and [Scrutinizer CI](https://scrutinizer-ci.com/)
* [PHPStan](https://github.com/phpstan/phpstan)

## Support

* [Issues](https://github.com/odan/slim4-skeleton/issues)
* [Blog](https://odan.github.io/)
* [Donate](https://odan.github.io/donate.html) for this project.
* [Slim 4 eBooks](https://odan.github.io/donate.html)

## License

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