Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.
/ lumen-starter Public archive

This is a small template I've built based on Lumen framework, after I spent some time preparing for a small project

Notifications You must be signed in to change notification settings

zgraveyard/lumen-starter

Repository files navigation

Lumen Starter Kit

Intro

This is a small template I've built based on Lumen framework, after I spent some time preparing for a small project. So to make my life easier later, I decided to create this template.

Installing and running the code

Requirements

Please make sure that you have installed Docker with Docker Compose.

Setup the local IP

In order to get the container up and running, you can follow these simple steps.

Add an entry 127.0.0.1 api.docker.local to your /etc/hosts file:

sudo echo "127.0.0.1 api.docker.local" >> /etc/hosts

Running the image

All you have to do is to execute the command:

./bin/docker_run

Docker customization:

This image comes with a ready to use Dockerfile and docker-compose.yml which you can either modify as you like.

The preferred way to override docker-compose.yml values is to add a new file called docker-compose.override.yml and change the value that you want over there, please refer to this post from Docker documentation about extending and having multiple compose files.

Note:

Please note that this template is using Swoole Laravel package to help running your code faster, feel free to read more about Swoole.


Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Official Documentation

Documentation for the framework can be found on the Lumen website.

Security Vulnerabilities

If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.

License

The Lumen framework is open-sourced software licensed under the MIT license.

About

This is a small template I've built based on Lumen framework, after I spent some time preparing for a small project

Resources

Stars

Watchers

Forks

Packages

No packages published