Download the PHP
package interactive-solutions/zf-hermes without Composer
On this page you can find all versions of the php package
interactive-solutions/zf-hermes. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor interactive-solutions Package zf-hermes Short Description Interactive Solutions extension for Node Hermes License
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.
Copy the hermes.global.php.dist to change the default Redis configuration.
Default values are:
host = 'localhost'
port = 6379
Usage
Just inject the NotifierService and use publish to send a message over Redis.
$message must be an object implementing the MessageInterface.
The message interface consists of the following properties:
channel Redis channel to publish to message onto
userId Id of the user that triggered the Redis event
timeStamp The timestamp of when the message was created
payload Additional data to be sent
The notifier service sends a json encoded message consisting of the
properties userId, timeStamp and payload onto Redis channel channel.
Note that the channel property is not part of the message.
Recommendations
It is recommended to use listeners to listen for events that should
generate a Redis message. Although it is possible to inject the notifier
service directly into another class.
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 interactive-solutions/zf-hermes contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.