jamesrweb / php-api-base

A base project I adapt when I build simple APIs in PHP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Base

Infection MSI

This is a repository for starting a new project with Slim, Nginx, PHP-FPM & MySQL.

Local development

All docker configurations are held within the docker directory. You can run the project using docker-compose from the project root with:

    docker-compose -f docker/docker-compose.yml up -d

This will setup php-fpm, nginx and mysql in containers while also mounting the project's app/ folder into a volume at /var/www.

You will be able to access the project via localhost:80 when the containers are running.

About

A base project I adapt when I build simple APIs in PHP.

License:MIT License


Languages

Language:PHP 99.2%Language:Dockerfile 0.8%