colonelpopcorn / emailer

An email microservice with the Lumen framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emailer

emailer

Join the chat at https://gitter.im/emailer-lumen Build Status

Getting Started

Emailer is a lightweight email microservice. The idea is to use it to handle sending emails from your applications. To get started using Emailer you will need to do five things.

  1. Download Emailer
  2. Fill out the .env file with your mail server settings and run php artisan key:generate
  3. Create a template using the Blade templating engine save it as <templatename>generated.blade.php>
  4. Run the artisan commands for Emailer in this order
    • emailer:salt
    • emailer:apps
    • emailer:address (to generate an address to send to)
    • emailer:addresses (to connect the new address with the app)
  5. Then start your webserver and send a POST request to http://<your-url>/api/send/<appname>/<templatename>

Roadmap

  • Create client to replace artisan commands
  • Write tests for artisan commands
  • Mock database to make tests faster
  • Refactor MailController to be more testable

Contributing

To get started contributing, just fork this repository and clone it.

Before you check out a branch go ahead and and a remote upstream by typing git remote add upstream https://github.com/colonelpopcorn/emailer.

Then checkout a new branch and code away!

When you're ready to submit a pull request, first run git pull on the master branch and then checkout your feature branch and run git rebase origin/master.

If you run into any trouble just ask in our gitter chat!

Licensing and attributions

Emailer is released under the MIT license.

The emailer logo is comprised of several creative commons assets.

About

An email microservice with the Lumen framework.

License:MIT License


Languages

Language:PHP 99.9%Language:HTML 0.1%