This is just a small project I've set up in 2 days, just to experiment how quickly I was able to set up a simple CRUD application using:
- PHP-DI for dependency injection
- Doctrine ORM for models
- Twig for views
- Slim for routing and http foundation (psr-7)
- Handwritten controllers
- php (I built this using 7.0)
- sqlite extension/lib
- composer
- clone the repo
- run
composer install --no-dev
vendor/bin/doctrine orm:schema-tool:create
- run
./run.sh
and point your browser tohttp://localhost:9901/
- List of recipes
- CReate, Update and Delete recipes + cooking steps
- Search recipes (by title)
- use slim for routing?
- a view action
- better handling of cooking steps / clientside additions