Skip to content

Quick Start PHP

Yafra edited this page Sep 10, 2015 · 2 revisions

Quick Start PHP

Make sure you have done the Quick Start First Time before continuing.

PHP example - A simple server to provide a RESTful API using Slim Framework with PDO/SQL.

docker pull yafraorg/docker-yafraphp
docker start yaframysql
docker run -d -p 8083:8083 --name yafraphp --link yaframysql:db yafraorg/docker-yafraphp

Now connect with your web browser to the docker IP: http://YOURIP/rest/index.php/persons

You can use docker stop and start to continue.

Clone this wiki locally