Files
symfony-flex-recipes-contrib/phpfastcgi.fastcgi-daemon.0.11.json
T
github-action botandgithub-action bot 7d78e147a4 Update Flex endpoint
2021-09-20 16:37:35 +00:00

48 lines
2.9 KiB
JSON

{
"locks": {
"phpfastcgi/fastcgi-daemon": {
"version": "0.11",
"recipe": {
"repo": "0.11",
"branch": "master",
"version": "0.11",
"ref": "2011211eeb0a0c800ca496b090c65d161f5c3ed6"
}
}
},
"manifests": {
"phpfastcgi/fastcgi-daemon": {
"repository": "github.com/symfony/recipes-contrib",
"package": "phpfastcgi/fastcgi-daemon",
"version": "0.11",
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"post-install-output": [
" * <fg=blue>Run</> your application:",
" 1. Configure your web server",
" 2. Execute the <comment>bin/console fastcgi-daemon:run</> command;",
" 3. Browse your application super quickly",
"",
" * <fg=blue>Read</> the documentation at <comment>https://github.com/PHPFastCGI/FastCGIDaemon</>"
]
},
"files": {
"src/FastCGIKernel.php": {
"contents": "<?php\n\nnamespace App;\n\nuse PHPFastCGI\\FastCGIDaemon\\Http\\RequestInterface;\nuse PHPFastCGI\\FastCGIDaemon\\KernelInterface as PHPFastCGIKernel;\nuse Symfony\\Component\\HttpKernel\\KernelInterface;\nuse Symfony\\Component\\HttpKernel\\TerminableInterface;\n\nclass FastCGIKernel implements PHPFastCGIKernel\n{\n private $kernel;\n\n public function __construct(KernelInterface $kernel)\n {\n $this->kernel = $kernel;\n }\n\n public function handleRequest(RequestInterface $request)\n {\n $this->kernel->boot(); \n\n $symfonyRequest = $request->getHttpFoundationRequest();\n $symfonyResponse = $this->kernel->handle($symfonyRequest);\n\n if ($this->kernel instanceof TerminableInterface) {\n $this->kernel->terminate($symfonyRequest, $symfonyResponse);\n }\n\n return $symfonyResponse;\n }\n}\n\n",
"executable": false,
"encoding": ""
},
"config/packages/fastcgi_daemon.yaml": {
"contents": "services:\n App\\FastCGIKernel:\n autowire: true\n\n PHPFastCGI\\FastCGIDaemon\\Driver\\DriverContainer: null\n PHPFastCGI\\FastCGIDaemon\\Command\\DaemonRunCommand:\n arguments: ['@App\\FastCGIKernel', '@PHPFastCGI\\FastCGIDaemon\\Driver\\DriverContainer', 'fastcgi-daemon:run']\n tags:\n - { name: console.command }\n",
"executable": false,
"encoding": ""
}
},
"origin": "phpfastcgi/fastcgi-daemon:0.11@github.com/symfony/recipes-contrib:master",
"is_contrib": true
}
}
}