Download the PHP package wildphp/irc-messages without Composer

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

irc-messages


Build Status Scrutinizer Code Quality Scrutinizer Code Coverage Latest Stable Version Latest Unstable Version Total Downloads

Implementation of various IRC messages designed for WildPHP.

Installation

To install this package, you need Composer.

$ composer require wildphp/irc-messages ^0.1

Usage

These messages can be used standalone without usage of any other utilities. For example:

IncomingMessage instances may be created from parsed messages, which is useful if you just want a generic representation of the message. These can be casted into specialized objects if the message type implements IncomingMessageInterface.

A utility class is provided which tries to find the most appropriate class to specialize messages to.

Numeric messages are stored in the RPL directory under their official name, because PHP does not support numeric class names. You can use the RplTranslateEnum class to translate numeric verbs into the corresponding class names. Make sure to pass the numerics as strings to account for leading zeroes. A numeric like '3' will not be accepted.

Implemented messages

Messages can be implemented as incoming or outgoing messages.

An incoming message may be converted from an IncomingMessage class.

An outgoing message may be converted to a string in order to send it to an IRC server.

Name As incoming? As outgoing? Extra's?
001/RPL_WELCOME x
005/RPL_ISUPPORT x
332/RPL_TOPIC x
353/RPL_NAMREPLY x
354/RPL_WHOSPCRPL x
366/RPL_ENDOFNAME x
ACCOUNT x
AUTHENTICATE x x
AWAY x x
CAP x x
ERROR x
JOIN x x extended-join support for incoming messages
KICK x x
MODE x x
NAMES x
NICK x x
NOTICE x x
PART x x
PASS x
PING x x
PONG x x
PRIVMSG x x
QUIT x x
REMOVE x
TOPIC x x
USER x x
VERSION x
WHO x x
WHOIS x
WHOWAS x

Contributors

You can see the full list of contributors in the GitHub repository.


All versions of irc-messages with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 wildphp/irc-messages contains the following files

Loading the files please wait ....