DEPRECATED. Use itsziget/phar-examples. Usage examples of PHP Phar Archives
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitattributes
.gitignore
Dockerfile
LICENSE
README.md
dashboard.jpg
index.php

README.md

PHP Phar example scripts

This project contains examples how to use PHP Phar archives. Under "examples", you can find more folders with examples. Each folder contains a README.md. You can read it on github or you can download this PHP application from github or as a Docker image from Docker Hub. The image Based on alpine linux to keep it very small.

When you run it, you will see a dashboard where you can run the examples, rebuild them and read the details of the chosen example.

Dashboard

Run it in Docker container

docker run -it --rm -p 8080:80 itsziget/phar-examples

or in the background:

docker run -it -d -p 8080:80 --name phar-examples itsziget/phar-examples