We use the minimal Lumen as a drop-in replacement for Laravel. We also make use of HHVM instead of PHP 7.X as a matter of experimentation.
Medoo is Light PHP Database framework that you can use with various databases for ORM work.
MariaDB is a fork of MySQL DB and is useable as a complete drop-in replacement.
We use docker to manage our apps environment. And docker-compose to manage our containers as a network.
We are building a 2 way SMS app running on Lumen Framework.
- A user sends an SMS to a shortcode 20414(replace with your code)
- The App receives a HTTP POST from Africa's Talkings API and dumps the POST to DB
- The App responds with an SMS to the Sender
- Download the Lumen installer using Composer
$ composer global require "laravel/lumen-installer"
- Build
$ docker build -t hhvmlaravel:1.0 .
- Run
$ docker run -d -it --name hhvm -p 8990:80 hhvmlaravel:1.0
$ docker exec -it hhvm bash
-Logs
$ docker logs --tail hhvm
- Ship
$ docker login
$ docker push grahamingokho/hhvmlaravel:1.0 .