php-pm-httpkernel

by php-pm

HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM

219 Stars 71 Forks Last release: 4 months ago (2.0.6) MIT License 142 Commits 14 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

PHP-PM HttpKernel Adapter

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"]
    }
}

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.