Download the PHP package kinetis/pingpong without Composer

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

kinetis/pingpong
A runnable ping-pong demo application 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.

A small, working application showing most of Kinetis at once: MySQL + kinetis/migrations + kinetis/orm, Redis-backed kinetis/queue, Kinetis\Events, a Kinetis\Console command run on a schedule, a kinetis/mcp tool an AI agent can call for the per-scenario ping breakdown, and real-time browser updates over Soketi — behind a monochrome-amber, old-CRT-styled dashboard rendered with kinetis/views-php.

A ping can be answered three ways: POST /pong/direct replies in the same request; POST /pong/queued replies a few seconds later, from a separate queue-worker process; a scheduled command replies entirely on its own, every few seconds, with no request involved at all. The dashboard watches all three happen live, over a WebSocket.

Running it

Then open http://localhost:8080. Docker is the only thing you need — the containers install the dependencies and run the app, so no PHP or Composer has to exist on the host. (--no-install is what keeps it that way: it fetches the project without resolving dependencies, which docker compose up then does inside the containers it will run them in.)

The project is yours from that point on. docker-compose.yml mounts it at /app and needs nothing outside it; MySQL, Redis and Soketi come up alongside it as services of the same stack.

app runs under a genuine FrankenPHP persistent worker — Kinetis's primary optimization target (persistent connection pooling, warm route caching). One consequence worth knowing before you start editing code: a FrankenPHP worker loads public/index.php (including all route/command/tool discovery) exactly once at boot, so a code change is invisible until the app container restarts — there's no PHP-FPM-style "every request reboots the script" hot reload here. See the CLI docs for the full discovery/hot-reload tradeoff. Looking for that kind of instant-feedback loop instead? See kinetis/skeleton, a much smaller demo running on nginx + PHP-FPM for exactly that reason.

Using this as a starting point

Start editing what you just created — every piece (bootstrap.php, the migrations, the Ping entity, the repository, the job, the scheduled command, the events, the broadcaster and its private-channel authorizer, the MCP tool controller, resources/views/dashboard.php) is a small, plain file meant to be read end to end. Kinetis deliberately reuses existing template engines instead of inventing another language. PingController::index() injects the engine-neutral Views service, while bootstrap.php selects the small pure-PHP adapter. The controller would be unchanged if the application selected Latte or Twig instead. The logo (public/logo.svg), stylesheet (public/dashboard.css), and browser script (public/dashboard.js) are plain static files served directly, not template data — only the Soketi connection details are actually dynamic, passed to dashboard.js through a type="application/json" data island rather than any inline script of the template's own.

Working on this package itself

This package is developed in the kinetis-dev/kinetis monorepo and published from it; kinetis-dev/pingpong is the split mirror the commands above install from. Inside the monorepo, composer.json still carries the path repositories that resolve every kinetis/* sibling from its own checkout, so the stack needs the override that mounts them:

Container paths are /app either way — that override adds mounts and changes nothing else.

Learn by building the same thing yourself

The Tutorial builds this exact application from an empty directory, one working piece at a time — useful for understanding why each file looks the way it does, not just what it does.

License

MIT — see LICENSE.


All versions of pingpong with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
kinetis/framework Version ^1.14.0
kinetis/migrations Version ^1.3.1
kinetis/persistence Version ^1.4.2
kinetis/database-bridge Version ^1.1.4
kinetis/orm Version ^1.9.2
kinetis/redis Version ^1.0.1
kinetis/cache-redis Version ^1.2.3
kinetis/queue Version ^1.6.0
kinetis/mcp Version ^1.6.0
kinetis/mcp-protocol Version ^1.0.0
kinetis/queue-redis Version ^1.7.0
kinetis/broadcasting Version ^1.5.0
kinetis/revolt-http-client Version ^1.4.1
kinetis/views Version ^1.0.0
kinetis/views-php Version ^1.0.0
monolog/monolog Version ^3.10.0
psr/http-message Version ^2.0
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/pingpong contains the following files

Loading the files please wait ...