Skip to content

๐Ÿ‹ A simple PHP environment with Docker for local development.

License

Notifications You must be signed in to change notification settings

yandeu/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Docker & PHP (for local development)

๐Ÿ‹ A simple PHP environment with Docker for local development.

Requirements

Install

# install docker-php
# (not npm, npx!)
npx docker-php@latest

# start the PHP server on port 3200
# (http://localhost:3200/)
npm run php

About

Will add all the necessary configurations to your npm project for running your PHP code locally:

  • Adds a docker folder with Dockerfile and docker-compose.
  • Adds some useful scripts to your package.json file.
  • Adds /src/index.php (if it does not already exist).

Production

About

๐Ÿ‹ A simple PHP environment with Docker for local development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published