# Awesome Slim [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)

<!--lint ignore double-link-->
[<img src="assets/slim-logo.png" align="right" width="260" alt="Slim Framework">](https://www.slimframework.com)

<!--lint ignore double-link-->
> A curated list of awesome [Slim](https://www.slimframework.com) framework packages and resources.

<!--lint ignore double-link-->
[Slim](https://www.slimframework.com) is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.

## Contents

- [Educational](#educational)
- [Boilerplate](#boilerplate)
- [Middlewares](#middlewares)
- [Templating](#templating)
- [Development](#development)
- [Miscellaneous](#miscellaneous)

## Educational

- [User Guide](https://www.slimframework.com/docs/v4/) - The official documentation for Slim Framework.
- [Stack Overflow](https://stackoverflow.com/questions/tagged/slim) - Slim Framework questions over Stack Overflow.
- [Discussion Forum](https://discourse.slimframework.com) - The official Slim Framework discussion forum.
- [Slim 4 - GraphQL](https://odan.github.io/2021/08/12/slim-graphql.html) - Creating a modern HTTP APIs usig GraphQL.
- [Slim 4 - ReactPHP](https://odan.github.io/2021/08/14/slim-reactphp.html) - Slim in combination with ReactPHP for the performance boost.

## Boilerplate

- [Slim 4 MVC Skeleton](https://github.com/semhoun/slim-skeleton-mvc) - This is a simple web application skeleton project.
- [Slim 4 Skeleton](https://github.com/adriansuter/Slim4-Skeleton) - Web application skeleton that uses the PHP-DI, Nyholm PSR7 and Twig.
- [Slim 4 Skeleton](https://github.com/odan/slim4-skeleton) - This is a skeleton to quickly set up a new Slim 4 application.
- [Slim Skeleton](https://github.com/slimphp/Slim-Skeleton) - The official Slim Framework 4 Skeleton Application.
- [Slim 4 Starter](https://github.com/nbayramberdiyev/slim-4-starter) - An opinionated Slim 4 starter template for the small-to-medium PHP applications.

## Middlewares

- [Slim Basic Auth](https://github.com/tuupola/slim-basic-auth) - PSR-7 and PSR-15 HTTP Basic Authentication Middleware.
- [Slim CSRF](https://github.com/slimphp/Slim-Csrf) - Slim Framework CSRF protection middleware.
- [Slim HTTP Cache](https://github.com/slimphp/Slim-HttpCache) - Slim Framework HTTP cache middleware and service provider.
- [Slim JWT Auth](https://github.com/tuupola/slim-jwt-auth) - PSR-7 and PSR-15 JWT Authentication Middleware.
- [Slim Minify](https://github.com/christianklisch/slim-minify) - Slim middleware to minify HTML output generated by the slim.
- [Slim Session](https://github.com/bryanjhv/slim-session) - A very simple session middleware for Slim Framework.
- [Slim Whoops](https://github.com/zeuxisoo/php-slim-whoops) - PHP whoops error on slim framework.

## Templating

- [Slim Twig View](https://github.com/slimphp/Twig-View) - Slim Framework view helper built on top of the Twig templating component.
- [Slim Plates](https://github.com/projek-xyz/slim-plates) - Render your Slim application views using Plates template engine.
- [Slim PHP View](https://github.com/slimphp/PHP-View) - This is a renderer for rendering PHP view scripts into a PSR-7 Response object.

## Development

- [Pest Slim Plugin](https://github.com/nekofar/pest-plugin-slim) - The Slim Plugin for Pest gives your basic functionality for testing.
- [Slim Test](https://github.com/nekofar/slim-test) - Slim Framework test helper built on top of the PHPUnit test framework.

## Miscellaneous

- [BasePath](https://github.com/selective-php/basepath) - Base path detector for Slim 4.
- [PHP-DI Slim Bridge](https://github.com/PHP-DI/Slim-Bridge) - PHP-DI integration with the Slim framework.
- [Slim Config](https://github.com/DavidePastore/Slim-Config) - A file configuration loader that supports PHP, INI, XML, JSON, and YML files.
- [Slim Console](https://github.com/slimphp/Slim-Console) - Slim Framework Console.
- [Slim Flash](https://github.com/slimphp/Slim-Flash) - Slim Framework flash messages service provider.
- [Slim JSON API](https://github.com/entomb/slim-json-api) - Slim extension to implement fast JSON API's.
- [Slim Validation](https://github.com/DavidePastore/Slim-Validation) - A validation library for the Slim Framework.
- [IntelliJ Slim](https://plugins.jetbrains.com/plugin/18751-slim) - Provides boilerplate codes for easier new project creation using skeleton.

## Contributing

Contributions welcome! Read the [contribution guidelines](CONTRIBUTING.md) first.
