asaokamei / deca
A PHP framework I can use for a decade...
0.1.4
2026-04-02 05:27 UTC
Requires
- php: >=8.0
- ext-json: *
- filp/whoops: ^2.7
- monolog/monolog: ^2.0
- nyholm/psr7: ^1.3
- nyholm/psr7-server: ^1.0
- php-di/php-di: ^7.0
- slim/slim: ^4.0
- twig/twig: ^3.0
- wscore/leanvalidator: ^0.2.0
Requires (Dev)
- phpmailer/phpmailer: ^7.0.0
- phpunit/phpunit: ^9.5
- symfony/mailer: ^6.0
This package is auto-updated.
Last update: 2026-04-04 05:02:16 UTC
README
An application starter kit built on Slim 4, aimed at years of continued use—to keep building and maintaining real apps on the same stack.
- Slim handles HTTP routing and the request/response cycle.
- Deca layers familiar, low-dependency packages—PHP-DI, nyholm/psr7, Monolog, Twig, filp/whoops, and more—on top of Slim, with its own
corecode to wire them together cleanly. - Interfaces (often PSR) abstract third-party boundaries so app code can survive library upgrades.
Japanese: README.ja.md. In-depth documentation: docs/deca/README.md (English) · docs/deca/README.ja.md (Japanese).
Installation
Requires PHP 8.0+ and Composer.
Use Composer’s create-project to create a new project and install dependencies in one step. Replace my-app with your directory name:
composer create-project wscore/deca my-app
Demo
cd my-app
cd public
php -S 127.0.0.1:8000 index.php
Then open http://127.0.0.1:8000 in your browser.