Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
/ php-api-base Public archive

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

License

Notifications You must be signed in to change notification settings

jamesrweb/php-api-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.