onurakman / httpkernel-adapter
PHP-PM adapter for Symfony HTTPKernel.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 70
pkg:composer/onurakman/httpkernel-adapter
Requires
- guzzlehttp/psr7: ^1.5|^2.0
- onurakman/php-pm: dev-master
- symfony/http-foundation: ^4.2.12|^5.0.4|^6.0
- symfony/http-kernel: ^4.0|^5.1.5|^6.0
Requires (Dev)
- doctrine/annotations: ^1.6
- phpunit/phpunit: ^9.5
- symfony/framework-bundle: ^4.1.12|^5.0|^6.0
- symfony/yaml: ^4.0|^5.0|^6.0
This package is not auto-updated.
Last update: 2025-10-20 04:05:49 UTC
README
HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM. See https://github.com/php-pm/php-pm.
Setup
-
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"] } }