Git Product home page Git Product logo

slim4-skeleton's Introduction

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.4+ or 8.0+
  • MySQL 5.7+ or MariaDB

Recommended

  • Apache with mod_rewrite
  • Apache Ant to build deployment artifacts

Installation

composer create-project odan/slim4-skeleton my-app

Read more: Documentation

Features

This project is based on best practices 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)
  • Input validation
  • SQL Query Builder
  • Database migrations
  • Immutable date and time (Chronos)
  • Unit- and integration tests (PHPUnit)
  • Console Commands
  • Tested with Github Actions and Scrutinizer CI
  • PHPStan (Level: max)
  • Build and deployment scripts
  • Docker container with Xdebug support
  • Swagger OpenAPI documentation

Screenshot

screely-1611483778132

Usage

You can clone this project to modify it as you wish to create awesome API's and web applications.

This project is just a skeleton-project and not a "framework".

Read more: Documentation

Support

Contributing

Please create an issue first, so we can discuss it in advance.

License

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

slim4-skeleton's People

Contributors

odan avatar dependabot-preview[bot] avatar ybelenko avatar dependabot[bot] avatar cdvrooman avatar ziauddin avatar pavog avatar raduungurean avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.