itseasy / slim-app
Slim Application
Installs: 1 558
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.0
- itseasy/util: ^1.1
- laminas/laminas-cache: ^3.6
- laminas/laminas-cache-storage-adapter-filesystem: ^2.3
- laminas/laminas-cache-storage-deprecated-factory: ^1.0
- laminas/laminas-config-aggregator: ^1.4
- laminas/laminas-i18n: ^2.13
- laminas/laminas-log: ^2.13
- laminas/laminas-navigation: ^2.10
- laminas/laminas-serializer: ^2.14
- laminas/laminas-servicemanager: ^3.11
- laminas/laminas-view: ^2.12
- php-di/php-di: ^6.3
- psr/cache: ^1.0
- scssphp/scssphp: ^1.6
- slim/php-view: ^3.0
- slim/psr7: ^1.2
- slim/slim: ^4.0
- symfony/console: ^5.2
- symfony/http-foundation: ^5.1
- symfony/security-csrf: ^5.2
Requires (Dev)
- doctrine/annotations: ^1.13
- laminas/laminas-form: ^3.2
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-10-28 00:00:09 UTC
README
Slim4 framework application wrapper with basic functionality and configurable using array
Component:
- Application
Application bootstrap. Can handle both http and console - Session Middleware
A Symfony base session manager using symfony/session - Csrf Middleware
A Csrf middleware using symfony/session - AssetManager Middleware
An asset manager to load asset outside public folder, cache using symfony/cache - Guard Middleware
Basic Authorization library guarding route with action and HTTP method. Require to implement your own Identity Provider Class and Role Provider Class - View
A View class complete with PhpRenderer and view helper. The class will be injected automatically to all Action during application bootstrap. - Console
Console application using symfony/console
All middleware are optionals
Check wiki folder for documentation
Skeleton Application is available using cookiecutter in gh:wiryonolau/cookiecutter-slim-app