A simple and mini framework developed to supply small applications in PHP based on this article.
Developed implementing controller/service/repository patterns.
- PHP >= 8
- Composer >= 2
- filp/whoops
- symfony/http-foundation
- nikic/fast-route
- rdlowrey/auryn
- twig/twig
- catfan/medoo
- vlucas/phpdotenv
- symfony/var-dumper
Bootstrap 5 front-end framework included.
Copy a .env
file.
cp .env.example cp .env
Install dependencies.
composer install
You can start with php server built in.
cd public
php -S localhost:8000
There are example routes (/example
) in src/routes.php
file, applying the entire application flow.