/phalcon4-docker

Boilerplate project structure using Phalcon PHP Framework 4

Primary LanguageJavaScriptMIT LicenseMIT

Setup

$ git clone https://github.com/someson/phalcon4-docker.git
$ docker-compose up -d --build
  • add to your [...]/etc/hosts
127.0.0.1 phalcon4.test

Tests

$ docker exec -it p4-app ./vendor/bin/codecept run

or (equal)

$ docker-compose exec app-service ./vendor/bin/codecept run

Devtools

$ docker-compose exec app-service ./vendor/bin/phalcon serve

or "detached":

$ docker-compose exec -d app-service ./vendor/bin/phalcon serve

url: http://phalcon4.test:8000/webtools.php