Skip to content

Commit 2f51be5

Browse files
author
Kent Richards
committed
README formatting.
1 parent f3db0cc commit 2f51be5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
This is a fork of PHP-PM's HttpKernel adapter for integrating Drupal with PHP-PM (therefore, also with ReactPHP).
44

5-
See https://github.com/php-pm/php-pm, https://github.com/php-pm/php-pm-httpkernel.
5+
See:
6+
* https://github.com/php-pm/php-pm
7+
* https://github.com/php-pm/php-pm-httpkernel.
68

79
The code is in alpha -- very experimental. Last tested against `drupal-8.0.2`.
810

@@ -12,10 +14,12 @@ View / report issues at https://github.com/kentr/php-pm-drupal/issues.
1214

1315
1. Install Drupal.
1416

15-
2. From the Drupal web root, install this project with composer: `composer require kentr/php-pm-drupal-adapter`. This will also install PHP-PM and the default React <-> Symfony bridge (php-pm/httpkernel-adapter).
17+
2. From the Drupal web root, install this project with composer: `composer require kentr/php-pm-drupal-adapter`.
18+
This will also install PHP-PM and the default React <-> Symfony bridge (php-pm/httpkernel-adapter).
1619

1720
3. Apply these patches to Drupal core:
1821
* `vendor/kentr/php-pm-drupal-adapter/patches/kentr-allow-repeated-setSitePath-in-DrupalKernel.patch`
1922
* `vendor/kentr/php-pm-drupal-adapter/patches/stop_using-2505339-24.patch`
2023

21-
4. Start php-pm with `sudo <absolute path to web root>/vendor/bin/ppm start <absolute path to web root> --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`. Example: `sudo vendor/bin/ppm start /var/www/html/ --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`
24+
4. Start php-pm with `sudo <absolute path to web root>/vendor/bin/ppm start <absolute path to web root> --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`.
25+
Example: `sudo vendor/bin/ppm start /var/www/html/ --bridge=httpKernel --bootstrap=PHPPM\\Bootstraps\\Drupal`

0 commit comments

Comments
 (0)