No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github first commit Aug 27, 2018
bin first commit Aug 27, 2018
config first commit Aug 27, 2018
docker Improve Dockerfile Sep 22, 2018
plugins first commit Aug 27, 2018
src first commit Aug 27, 2018
tests first commit Aug 27, 2018
webroot first commit Aug 27, 2018
.editorconfig first commit Aug 27, 2018
.gitattributes first commit Aug 27, 2018
.gitignore first commit Aug 27, 2018
.htaccess first commit Aug 27, 2018
.travis.yml first commit Aug 27, 2018
README.md Update README Sep 22, 2018
composer.json first commit Aug 27, 2018
composer.lock first commit Aug 27, 2018
docker-compose.yml first commit Aug 27, 2018
index.php first commit Aug 27, 2018
phpstorm-docker-cakephp.iml first commit Aug 27, 2018
phpunit.xml.dist first commit Aug 27, 2018

README.md

PhpStorm + Docker and CakePHP development

Please check this article:

https://medium.com/@bufferings/phpstorm-docker-and-cakephp-development-9327ee767838

Sample commands

Composer

❯ docker-compose run --rm php-cli composer --version
gosu user to www-data
Composer version 1.7.2 2018-08-16 16:57:12

PHPCS

❯ docker-compose run --rm php-cli vendor/bin/phpcs --version
gosu user to www-data
PHP_CodeSniffer version 3.3.1 (stable) by Squiz (http://www.squiz.net)

PHPMD

❯ docker-compose run --rm php-cli vendor/bin/phpmd --version
gosu user to www-data
PHPMD 2.6.0

Start Apache

❯ docker-compose up -d
Starting phpstormdockercakephp_php-web_1 ... 
Starting phpstormdockercakephp_php-web_1 ... done

You can access the app with localhost:8000