proresult/php-typescript-rpc-server

Server side code used by generated rpc php code, and the server request handler.

Maintainers

Package info

bitbucket.org/proresult/php-typescript-rpc-server

pkg:composer/proresult/php-typescript-rpc-server

Transparency log

Statistics

Installs: 12 010

Dependents: 1

Suggesters: 0

v0.17.0 2026-08-21 07:59 UTC

README

This project contains shared code used in the php-typescript-rpc-codegen and in the code that uses php-typescript-rpc-codegen to build a php server and matching typescript client.

Should be considered beta level. Proresult uses it in production, and don't anticipate backwards breaking changes to happen within 0.x versions.

Created by Proresult AS (https://www.proresult.no)

Date transport types

  • RpcDateTime represents an instant and is serialized as an RFC 3339 date-time.
  • RpcDate represents a timezone-neutral calendar date. Its wire format is exactly YYYY-MM-DD; timezone normalization is never applied to it.

Use RpcDate for birthdays, workdays, reporting periods, and other values where the calendar date itself is the complete value. Use RpcDateTime for events and timestamps that identify a moment in time.

Deploying new versions

Users with commit access to the master branch can deploy new versions simply by git-tagging the commit with an appropriate version tag (v.0.x.y) and push the tag to bitbucket.

The new version should then be available on packagist, so a composer update to new version in dependent project(s) should work.