Download the PHP package kinetis/framework without Composer

On this page you can find all versions of the php package kinetis/framework. 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 framework

The non-blocking PHP framework for API-first applications
Runs on persistent-worker runtimes, with AI agents as first-class API clients

Packagist Version Packagist Downloads PHP Version License CI


This is the Kinetis framework itself, developed in the kinetis-dev/kinetis monorepo — every satellite package below is split out of that same monorepo into its own repository.

Kinetis targets the same class of application a modern API is expected to be: typed request and response contracts, OpenAPI described automatically rather than hand-maintained, non-blocking under concurrent load, and native support for AI agents as first-class API clients.

Attribute-driven routing and validation replace config files to keep in sync with the code:

Request-scope isolation is an enforced guarantee rather than a convention. Speed comes from two places: Fiber-based concurrency over a Revolt event loop, and ahead-of-time compilation (kinetis build) so a request in production pays reflection's cost once rather than on every request it serves.

Kinetis is designed around FrankenPHP's worker mode — a PHP process that boots once and serves thousands of requests — as its primary target, though the same application code also runs correctly under classic PHP-FPM, RoadRunner, and AWS Lambda (via Bref): the runtime is an adapter Kinetis talks to, not an assumption baked into the framework itself.

Highlights

Installation

Requires PHP 8.4 or later. See the Tutorial for a complete walkthrough, including running under FrankenPHP.

Configuration

Core reads from the environment (or a .env file at the project root) via Kinetis\Config:

Running under FrankenPHP or PHP-FPM requires enable_post_data_reading=0 in the SAPI's php.ini. Kinetis reads and bounds the request body itself; left on, PHP parses form bodies before any Kinetis code runs, truncating them at its own limits and leaving php://input empty. The bridge refuses to serve a request without it rather than running on a body PHP already consumed — see Runtime Adapters.

Key Default Purpose
APP_ENV production development — the exact name, ignoring case — selects live discovery; unset or any other name selects the AOT cache.
MAX_BODY_SIZE 2097152 Request-body cap in bytes, enforced against declared Content-Length and actual bytes read, by the Kernel's own RequestBodyMiddleware for every request body. One Kinetis\Http\Form\FormLimits instance, built from this value once, is what it reads.
TRUSTED_PROXIES — Comma-separated addresses/CIDR ranges whose X-Forwarded-Proto/X-Forwarded-For are believed. Empty means no peer is an edge and neither header is read — the safe default for a directly reachable listener.
ROUTE_DISCOVERY_PATHS — Restricts the HTTP-controller scan to comma-separated sub-paths, relative to each PSR-4 base directory.
COMMAND_DISCOVERY_PATHS — The same, for CLI commands.
MIDDLEWARE_DISCOVERY_PATHS — The same, for global middleware and middleware groups.
LISTENER_DISCOVERY_PATHS — The same, for event listeners.

Two more keys follow the *_DISCOVERY_PATHS convention without core reading either: MCP_DISCOVERY_PATHS (kinetis/mcp) and BROADCAST_CHANNEL_DISCOVERY_PATHS (kinetis/broadcasting).

Each package documents its own keys (DB_*, REDIS_*, QUEUE_*, ...) in its own README; the full reference across every package is at kinetis.dev/docs/config.html.

Packages

Kinetis core ships as kinetis/framework. The project's other libraries and runtime adapters are listed below. Each has its own dependencies, repository, and README:

Package What it adds
kinetis/auth Opaque Bearer-token authentication middleware
kinetis/auth-jwt Stateless JWT authentication (HS256/RS256), with optional per-token revocation
kinetis/authorization Unopinionated ability-based authorization — Gate wraps any callable Policy check
kinetis/aws-sigv4 A PSR-18 decorator signing requests with AWS Signature V4 — usable standalone
kinetis/bref-adapter AWS Lambda runtime adapter for Bref and API Gateway v2 payloads
kinetis/broadcasting Real-time broadcasting over the Pusher Channels protocol, with private and presence channel authorization
kinetis/cache-redis Redis-backed PSR-16 cache for single-node, Cluster, and TLS deployments
kinetis/database-bridge Kinetis wiring for kinetis/persistence and kinetis/orm — DB_* connections, SQL telemetry, and a lazy request-scoped TransactionGuard and EntityManager
kinetis/mailer Mail sending through Symfony Mailer, with non-blocking API transports
kinetis/mcp Native Model Context Protocol servers over stdio and Streamable HTTP
kinetis/mcp-docs The Kinetis documentation as MCP resources, plus a tool for a bounded line window of a page, served on its own or composed by kinetis/orbitron — framework-agnostic, with kinetis/mcp-protocol its only Kinetis dependency
kinetis/migrations A thin database migration runner — raw SQL up()/down(), no schema-diffing
kinetis/orm A data mapper over kinetis/query-builder — attributed entities, typed repositories, and a unit of work with change tracking and a transactional flush
kinetis/persistence Runtime-matched MySQL/Postgres drivers and a transaction safety net — usable standalone
kinetis/query-builder A thin, parameterized SQL query builder for MySQL/Postgres — not an ORM
kinetis/queue A backend-agnostic background job queue — every backend lives in its own separate package
kinetis/queue-rabbitmq A RabbitMQ backend for kinetis/queue
kinetis/queue-redis A Redis backend for kinetis/queue
kinetis/queue-sql A MySQL/Postgres backend for kinetis/queue
kinetis/queue-sqs An Amazon SQS backend for kinetis/queue — non-blocking via kinetis/revolt-http-client
kinetis/redis Revolt-native Redis transport with non-replaying operations, deadlines, TLS, and Cluster routing — usable standalone
kinetis/revolt-http-client Revolt-native Symfony HTTP client transport — usable standalone
kinetis/roadrunner-adapter Persistent-worker runtime adapter for RoadRunner's Goridge/PSR7Worker protocol
kinetis/search The search transport both engine packages build on, and one engine-neutral client interface over either
kinetis/search-elasticsearch Non-blocking Elasticsearch client construction, on kinetis/search
kinetis/search-opensearch Non-blocking OpenSearch client construction, on kinetis/search
kinetis/session Cookie-backed sessions and CSRF protection with file, Redis, or SQL storage
kinetis/storage File storage on League Flysystem with an Amp File-backed local adapter
kinetis/storage-s3 Non-blocking S3 and S3-compatible backend for kinetis/storage
kinetis/telemetry OpenTelemetry tracing — request spans, SQL/queue instrumentation
kinetis/views Engine-neutral view rendering, safe logical names, HTML responses, and asset URLs
kinetis/views-latte Latte templates for kinetis/views
kinetis/views-php Pure PHP templates for kinetis/views
kinetis/views-twig Twig templates for kinetis/views

Documentation

The full documentation is hosted at kinetis.dev/docs — start with the Tutorial or Core Concepts.

Development

Kinetis is built and tested through Docker; php and composer are never run on the host:

License

Kinetis is open-sourced under the MIT license.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
nyholm/psr7 Version ^1.8.2
nyholm/psr7-server Version ^1.1.0
psr/container Version ^2.0.2
psr/event-dispatcher Version ^1.0.0
psr/http-message Version ^2.0
psr/http-server-middleware Version ^1.0.2
psr/log Version ^3.0.2
psr/simple-cache Version ^3.0.0
revolt/event-loop Version ^1.0.9
vlucas/phpdotenv Version ^5.6.4
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/framework contains the following files

Loading the files please wait ...