An open API service indexing awesome lists of open source software.

https://github.com/nicklaswallgren/lumen-docker-starter

Lumen framework starter
https://github.com/nicklaswallgren/lumen-docker-starter

docker docker-compose laravel lumen lumen-php-framework php

Last synced: about 1 year ago
JSON representation

Lumen framework starter

Awesome Lists containing this project

README

          

# Lumen Docker Starter

> An Lumen framework starter kit featuring
[Lumen](https://lumen.laravel.com/) and
[Docker](https://www.docker.com/)
([PHP],
[MySQL],
[Memcached],
and [Nginx])

This seed repo serves as an Lumen framework starter for anyone looking to get up and running with Lumen and PHP fast. Using Docker for building our environment.

* Ready to go development environment using Docker for working with Lumen.
* A great Lumen seed repo for anyone who wants to start their project.

### Quick start
**Make sure you have Docker version >= 17.04.0**

```bash
# clone our repo
# --depth 1 removes all but one .git commit history
git clone --depth 1 --recursive https://github.com/NicklasWallgren/lumen-docker-starter.git lumen-docker-starter

# change directory to our repo
cd lumen-docker-starter

# start the docker containers. The first boot will take some time
make
```
go to [http://localhost](http://localhost) or [http://](http://)

# Getting Started

## Commands

### Start containers
```bash
make

```
### Stop containers
```bash
make halt

```
### Start individual container
```bash
make start [php-fpm|php-cli|nginx|mysql|memcached]

```
### Stop individual container
```bash
make stop [php-fpm|php-cli|nginx|mysql|memcached]

```
### Update composer dependencies
```bash
make update-project

```
### Access artisan cli
```bash
# Access the php container
make bash-cli

# Launch the artisan cli
cd lumen && php artisan
```
### Access MySQL cli
```bash
make mysql-cli

```
### Access PHP container bash
```bash
make bash-php

```
### Access Nginx container bash
```bash
make bash-nginx

```
### Access PHP-FPM container bash
```bash
make bash-fpm

```
### Access Memcached container bash
```bash
make bash-memcached

```
### Access MySQL container bash
```bash
make bash-mysql

```
### Check container status
```bash
make status

```
# Contributing
I'll accept pretty much everything so feel free to open a Pull-Request