PHP 8.1
PostgreSQL
This is a proof-of-concept mini framework, written from scratch in order to carry out very simple tasks, like basic console commands and controller actions.
http://transfermate.drpanchev.com/
Search is looking into both books and author names.
- Clone the repo locally
- Run
composer install
in order to get the dependencies - Rename
.env.example
to.env
- Set the DB credentials in the
.env
file - Run
php transfermate Install
in order to create DB schema - Run
php transfermate ScanFiles
in order to scan the XML books frombooks
directory and subdirectories. This file can be set as a CRON job as well in order to automatically refresh the database. - Set up a vhost or similar, which points to
public
directory - If you want to access the stored data, navigate to your project's root in the browser and you will see a search form and results.
Unit and functional tests are NOT
provided.
Application is still not localized and all of the text is hardcoded into the template files.
- Proper exception handler
- Router
- Other stuff a proper framework should have