A Small PHP API found online and expanded upon to create endpoints for forms or data retrieval.
Each data point in this case is given a handler index-{data}.php to manage access and load required controller
At this time the bootstrap.php handles all model loads however this could be handled in isolation within each controller.
This project uses PHPMailer for sending emails.
You can install it manually or via Composer if needed.
Note: The
phpMailer/
folder is excluded from the repository and should be downloaded separately.
Or better by installing via composer
composer require phpmailer/phpmailer