subit / php-pm-httpkernel-adapter
This package's canonical repository appears to be gone and the package has been frozen as a result.
2.0.2
2019-07-02 18:43 UTC
Requires
- guzzlehttp/psr7: ^1.5
- php-pm/php-pm: ^2.0
- symfony/http-foundation: ^3.4|^4.0
- symfony/http-kernel: ^3.4|^4.0
Requires (Dev)
- doctrine/annotations: ^1.6
- phpunit/phpunit: ^7.0
- symfony/framework-bundle: ^3.4|^4.0
- symfony/yaml: ^3.4|^4.0
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_NAMESPACE
environment variable. Example:APP_KERNEL_NAMESPACE=Acme\MyProduct\
. This will attempt to use the classAcme\MyProduct\Kernel
as the fully qualified class name
Note: For Symfony, make sure your
AppKernel
is autoloaded in yourcomposer.json
(shouldn't be an issue for projects created using the Standard Edition after November 2015):{ "autoload": { "classmap": ["app/AppKernel.php"] } }