You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a fork of PHP-PM's HttpKernel adapter for integrating Drupal with PHP-PM (therefore, also with ReactPHP). See https://github.com/php-pm/php-pm, https://github.com/php-pm/php-pm-httpkernel.
3
+
This is a fork of PHP-PM's HttpKernel adapter for integrating Drupal with PHP-PM (therefore, also with ReactPHP).
4
4
5
-
The code is in pre-alpha -- very experimental. Last tested against `drupal-8.0.2`.
5
+
See https://github.com/php-pm/php-pm, https://github.com/php-pm/php-pm-httpkernel.
6
+
7
+
The code is in alpha -- very experimental. Last tested against `drupal-8.0.2`.
8
+
9
+
View / report issues at https://github.com/kentr/php-pm-drupal/issues.
6
10
7
11
### Setup
8
12
9
-
1. Install PHP-PM as described in the project docs.
13
+
1. Install Drupal.
10
14
11
-
2.Replace the `vendor/php-pm/httpkernel-adapter` directory with this code.
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).
12
16
13
-
3. Apply `kentr-allow-repeated-setSitePath-in-DrupalKernel.patch` to Drupal core.
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`
0 commit comments