This is loosely based off of php-pm-drupal.
The primary components are a bootstrap and bridge.
See:
- https://github.com/php-pm/php-pm
- https://github.com/php-pm/php-pm-httpkernel
- https://github.com/php-pm/php-pm-drupal
The code is in alpha -- very experimental. Not suitable for human consumption.
- Several serious issues are already known.
- There are probably a lot of subtle bugs too.
-
Install Drupal 7.
-
Install drupal-seven-adapter
-
Set up a sample composer.json
{ "name": "root/drupal-7.43", "description": "Drupal 7 test.", "authors": [ { "name": "Albert Bertram", "email": "[email protected]" } ], "repositories": [ { "type": "vcs", "url": "https://github.com/bertrama/php-pm-drupal-seven" } ], "minimum-stability": "dev", "require": { "bertrama/php-pm-drupal-seven-adapter": "dev-master" } }
-
run
composer install
-
-
Run with
composer exec
composer exec ppm -- \ start \ . \ --bridge=DrupalSevenKernel \ --bootstrap=DrupalSeven