Download the PHP package cakedc/cakephp-roadrunner without Composer
On this page you can find all versions of the php package cakedc/cakephp-roadrunner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cakedc/cakephp-roadrunner
More information about cakedc/cakephp-roadrunner
Files in cakedc/cakephp-roadrunner
Package cakephp-roadrunner
Short Description Roadrunner bridge and worker for CakePHP
License MIT
Informations about the package cakephp-roadrunner
Roadrunner for CakePHP
Requirements
- CakePHP 3.6.0+
- PHP 7.1+
Setup
composer require cakedc/cakephp-roadrunner
- Download roadrunner binary and place the file in your filesystem, for example under
/usr/local/bin/rr
- Create a RoadRunner worker file, or use the example worker provided
Note the configuration is stored in .rr.json file, check all possible keys here https://github.com/spiral/roadrunner/wiki/Configuration
- Start the server, either using your own configuration or the sample configuration provided in the plugin
/usr/local/bin/rr serve
-
If you need sessions
-
Ensure you add the following to your session config in your CakePHP
config/app.php
- Add the session middleware to your
src/Application.php
middleware queue
-
- Nginx proxy
You'll possibly need to configure a webserver to handle requests, serve static assets etc. Use this sample config virtualhost for nginx:
Documentation
For documentation, as well as tutorials, see the Docs directory of this repository.
Support
For bugs and feature requests, please use the issues section of this repository.
Commercial support is also available, contact us for more information.
Contributing
This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.
License
Copyright 2019 Cake Development Corporation (CakeDC). All rights reserved.
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.
Todo
- Existing issue setting cookies like $this->response = $this->response->withHeader('head', 'one'); conflicts with session cookie generation