Download the PHP package kinetis/roadrunner-adapter without Composer

On this page you can find all versions of the php package kinetis/roadrunner-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package roadrunner-adapter

kinetis/roadrunner-adapter
RoadRunner runtime adapter for Kinetis

Packagist Version Packagist Downloads PHP Version License CI


Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

Speaks RoadRunner's own Goridge/PSR7Worker protocol — a persistent worker loop, structurally the closest of Kinetis's four runtime adapters to FrankenPhpAdapter's, but built on RoadRunner's own PHP worker library rather than a raw request-handling function. Converts to and from PSR-7 and hands the request body on as raw bytes, which core's own RequestBodyMiddleware then stages, bounds and parses.

There's nothing to configure or call directly: install the package, and RuntimeDetector picks it up automatically the moment RR_MODE=http is set in the environment — RoadRunner's own rr serve sets this itself when it spawns the worker.

Two RoadRunner configuration settings are required, not optional — http.raw_body: true, and http.max_request_size to bound a body whose length was never declared, which nothing at the PHP layer can (there's no SAPI here to enforce post_max_size, and RoadRunner's own default is a generous 1000 MB):

A missing raw_body: true doesn't fail silently: this adapter reads the flag RoadRunner stamps on every request and refuses one RoadRunner already parsed. It refuses a request that doesn't carry that flag at all, too — that means the setting can't be verified, not that it's on.

max_request_size is a separate ceiling from MAX_BODY_SIZE (Kinetis's own env var, default 2 MiB) — the two don't automatically agree; set MAX_BODY_SIZE=10485760 alongside max_request_size: 10 above if you want one consistent limit. Both sit alongside Kinetis\Http\Form\FormLimits, which bounds how complicated a form may be (input variables counted from the raw body, file parts, nesting depth, multipart parts including unnamed ones, and header lines per part), and alongside Kinetis\Http\Form\MultipartEnvelope, which settles what a multipart body may say on the wire — delimiters, transfer encodings, metadata and nesting. Both are core's, applied by core's own middleware, so a form means the same thing here as it does under FrankenPHP.

X-Forwarded-Proto is read only from a peer listed in TRUSTED_PROXIES. A directly reachable rr serve with no policy configured reads it from nobody, which is the safe default for that deployment — the header is an ordinary one any client can send.

Requires PHP 8.4+ and kinetis/framework. See Runtime Adapters for the full reasoning — why raw_body: true and max_request_size matter, what's mapped and how, and the one environment-caused limitation (cookie order) that is upstream RoadRunner behavior rather than something this package's own code can recover from. It is declared to the shared runtime conformance suite and asserted there in both directions, not skipped.

License

MIT — see LICENSE.


All versions of roadrunner-adapter with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4 <8.6
kinetis/framework Version ^1.32.0
nyholm/psr7 Version ^1.8.2
psr/http-message Version ^2.0
revolt/event-loop Version ^1.0.9
roadrunner/http Version ^4.2
roadrunner/worker Version ^3.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kinetis/roadrunner-adapter contains the following files

Loading the files please wait ...