php-pm/httpkernel-adapter

PHP-PM adapter for Symfony HTTPKernel.

Maintainers

👁 MArcJ

Package info

github.com/php-pm/php-pm-httpkernel

pkg:composer/php-pm/httpkernel-adapter

Statistics

Installs: 362 454

Dependents: 7

Suggesters: 6

Stars: 246

Open Issues: 12

2.3.1 2022-12-01 19:38 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 1e6124f366deea0f63aae6aa1d60c2b0dcb3afc0

This package is auto-updated.

Last update: 2026-06-29 01:12:42 UTC


README

HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM. See https://github.com/php-pm/php-pm.

Setup

  1. Install PHP-PM

     composer require php-pm/php-pm
    
  2. Install HttpKernel Adapter

     composer require php-pm/httpkernel-adapter
    
  3. 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 class Acme\MyProduct\Kernel as the fully qualified class name

Note: For Symfony, make sure your AppKernel is autoloaded in your composer.json (shouldn't be an issue for projects created using the Standard Edition after November 2015):

{
 "autoload": {
 "classmap": ["app/AppKernel.php"]
 }
}