# PHP Attachment

> Sending attachments with PHPMailer and AJAX upload

Read the post [here](https://www.codementor.io/lautiamkok/sending-attachments-with-phpmailer-and-ajax-upload-kaoel5byv) about this repository.

## Quick Setup

``` bash
# 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](https://www.slimframework.com/docs/) - A PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
* [PHP-View](https://github.com/slimphp/PHP-View) - A PHP component helps you render PHP templates.
* [PHPMailer](https://github.com/PHPMailer/PHPMailer) - A full-featured email creation and transfer class for PHP.
* [Dompdf](https://github.com/thephpleague/container) - An HTML to PDF converter.
