dakujem/slim-sleeve

This package is abandoned and no longer maintained. No replacement package was suggested.

A lightweight skeleton app for Slim v4 🐘.

dev-master / 1.0.x-dev 2019-12-26 13:39 UTC

This package is auto-updated.

Last update: 2022-09-06 22:22:04 UTC


README

⚡ This thing is in its early development stage. You have been warned. ⚡

I had a Slim v3 skeleton app lying around and decided to build a Slim v4 dev stack and a skeleton App.

Slim Sleeve

💿 composer create-project dakujem/slim-sleeve -s dev

A Slim v4 skeleton app.
🌳🌳🌳🐘🌳🌳🌳

The Freedom

Slim v4 gives you even more freedom to build your own stack, so if you do not like a package used in this stack, go ahead and swap it for one that suits you. That's the power of freedom you are given here.

The Stack

The stack consists of a PSR-7 HTTP implementation, Slim request dispatcher, router, middleware for security, view layer and a thin database abstraction layer.

The directory structure and the stack are prepared in a way to advocate good coding practices and layer separation.

To dive deeper, read the tech docs.

The Run

In your terminal, from the root of your installation, run

composer install
php -S localhost:8000 -t public

... then navigate to http://localhost:8000 and you are good to go.

The License

Comes with one of the "I don't care" licenses. Use the code for whatever purpose you like.

TODOs

  • bootstrapping
  • dir structure
  • JWT
  • auth (-entication / -orization) // do or do not?
  • tracy / symfony debugger
  • twig / latte
  • fractal
  • validation
  • remove ballast