PHP Attachment Sending attachments with PHPMailer and AJAX upload Read the post here about this repository. Quick Setup # Dependencies $ composer update # Production build $ cd [my-app-name] $ php -S 0.0.0.0:8181 -t public Then, access the app at http://localhost:8181/ Dependencies General Slim - A PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. PHP-View - A PHP component helps you render PHP templates. PHPMailer - A full-featured email creation and transfer class for PHP. Dompdf - An HTML to PDF converter.