dakujem / slim-sleeve
A lightweight skeleton app for Slim v4 🐘.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
Requires
- php: >=7.2
- ext-gettext: *
- ext-json: *
- container-interop/container-interop: ^1.2
- dakujem/cumulus: ^1.3
- dakujem/latter: dev-master
- dakujem/sleeve: ^1
- dakujem/time: ^1
- fig/http-message-util: ^1.1
- firebase/php-jwt: ^5.0
- nesbot/carbon: ^2.18
- nyholm/psr7: ^1.1
- nyholm/psr7-server: ^0.3.0
- pimple/pimple: ^3.2
- slim/http: ^0.7.0
- slim/psr7: ^0.6.0
- slim/slim: ^4
- tracy/tracy: ^2.5
- tuupola/callable-handler: ^1.0
- tuupola/slim-jwt-auth: ^3.4
- vlucas/phpdotenv: ^3.3
- vlucas/valitron: ^1.4
Requires (Dev)
- nette/tester: ^2.1
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