HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM. See https://github.com/php-pm/php-pm.
-
Install PHP-PM
composer require php-pm/php-pm -
Install HttpKernel Adapter
composer require php-pm/httpkernel-adapter -
Optionally provide the namespace of your Kernel using the
APP_KERNEL_NAMESPACEenvironment variable. Example:APP_KERNEL_NAMESPACE=Acme\MyProduct\. This will attempt to use the classAcme\MyProduct\Kernelas the fully qualified class name
Note: For Symfony, make sure your
AppKernelis autoloaded in yourcomposer.json(shouldn't be an issue for projects created using the Standard Edition after November 2015):{ "autoload": { "classmap": ["app/AppKernel.php"] } }