wst/php-component

XEP-0114 protocol implementation

dev-master 2015-03-06 16:36 UTC

This package is not auto-updated.

Last update: 2024-04-27 14:43:50 UTC


README

PHP-Component is an implementation of XEP-0114 and related XEPs in PHP language written specially for Lopbox (http://lopbox.com) project. It aims to be very easy to use and lets PHP programmers to develop various types of services: Jabber/XMPP bots, transports, MUC engines and many other types of components.

Include component.inc.php into your project and create an instance of BSM\Component class, then assign your event handlers. A simple example bot is available in the «examples» subdirectory.

Русский

PHP-Component является реализацией стандарта XEP-0114 и связанных XEP на языке PHP, написанной специально для веб-сервиса Lopbox (http://lopbox.com). Он нацелен на простоту использования и позволяет PHP-разработчикам XMPP-сервисы самых разных типов: боты, транспорты, серверы конференций и так далее.

Включите component.inc.php в свой проект и создайте объект BSM\Component, затем назначьте обработчики событий. В целях ознакомления с возможностями библиотеки можно использовать код из каталога «examples».