rubi/lib

A simple and lightweight client for connecting to Rubika and Shad messaging platforms, designed for easy integration and efficient setup of user-friendly applications. This library provides essential functionalities for sending and receiving messages, managing user sessions, and ensuring smooth comm

v1.0.0 2025-03-12 20:08 UTC

This package is auto-updated.

Last update: 2025-04-19 11:22:35 UTC


README


Total Downloads Latest Stable Version License Stars Release Tag Files count Files size Discussions Sponsors Created-at

Description

  • Rubi/lib is a PHP Library for interaction with rubika (social network)

Installation

composer require rubi/lib:dev-main

Usage

set_time_limit(0);
require_once __DIR__ . '/vendor/autoload.php';

use rubi\rubika;

$account = new rubika(989123456789); // Only without zero and with area code 98
$account->onUpdate(function ($update = []) use ($account) {
    if (isset($update['message_updates'])) {
        $message = $update['message_updates'];
        // other code
    }
});

Example

  • coming soon...

About Us

  • This library can be used for easy interaction with Rubika just like official applications. support

Disclaimer

This library is free and can not be sold.

The responsibility for using this library lies with the individual

License

  • Rubika-PHP is licensed under the MIT License - see the LICENSE file for details