https://github.com/php-pm/php-pm-httpkernel
HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM
https://github.com/php-pm/php-pm-httpkernel
Last synced: 10 months ago
JSON representation
HttpKernel adapter for use of Symfony and Laravel frameworks with PHP-PM
- Host: GitHub
- URL: https://github.com/php-pm/php-pm-httpkernel
- Owner: php-pm
- License: mit
- Created: 2015-04-06T17:43:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T21:42:07.000Z (about 2 years ago)
- Last Synced: 2025-04-16T07:20:10.774Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 160 KB
- Stars: 247
- Watchers: 15
- Forks: 71
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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"]
> }
> }
> ```