Download the PHP package remessage/message without Composer

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

Message Standard

This package defines the rules and formats for communication between clients and servers that are part of Re: Message.

Standard based on JSON format and created to implement a JSON-pure API. This package uses the symfony/serializer for encoding and decoding JSON.

The remessage/client and remessage/core based on this standard.

Requirements

PHP 8.2+ with these extensions:

  1. json
  2. mbstring

Installation

You will need Composer to install:

composer require remessage/message

Description

Message is any data sent as part of the server-client interaction. Any message MUST have a type high level property with the message type (see Types).

Transport

As a data transmission channel, HTTP or sockets can be used. See Core documentation for details.

When using the HTTP protocol, only action, response, error messages can be used.

Types

There are several types of messages for communication. The main types of messages: action, response and error. These types of messages can be sent and received via any transport.

Action

The Action message is a message, which is a request to perform some action and return its results as a Response. Action can be sent only from a client side.

Any action message MUST have a name and a parameters properties. The name property contains a name of action (e.g. auth.sendCode). The parameters property is a list of parameters for action.

Also, Action message can have these optional properties:

Example:

Response

The Response message is a message returned as the result of the Action if the action completed successfully. A message of this type MUST have a content property, that contains the results of action. Response can be sent only by the Core.

Also, Response message can have these optional properties:

Example:

Error

The Error message is the message returned if an error occurred while performing an action. The error message MUST have a code and message properties. The code property is a number code of error. The message property is a short description about error. A complete list of errors that may be thrown is available here. Error can be sent only by the Core.

Example:


All versions of message with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-mbstring Version *
doctrine/collections Version ^1.6 || ^2.0
symfony/serializer Version ^6.2 || ^7.0
symfony/deprecation-contracts Version ^3.2
symfony/polyfill-php83 Version ^1.28
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 remessage/message contains the following files

Loading the files please wait ....