Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

kkamara/php-docker-skeleton

Repository files navigation

MainClass.png

PhP Docker Skeleton

(2020) Get started with php and docker.

Installation

If you're using Docker make sure you have Docker and Docker Compose installed.

# composer install
composer i

Usage

php src/MainClass.php -f="foo" --bar="baz"

Using Linux with Docker?

make start # build & run your script
make stop  # stop your docker container

Using Windows with Docker?

.\ps\run.ps1 start # build & run your script
.\ps\run.ps1 stop  # stop your docker container

Want to use Python instead?

Python Docker Skeleton

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD

About

(2020) Get started with php and docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages