Download the PHP package rubika/app without Composer
On this page you can find all versions of the php package rubika/app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package app
Short Description rubika library for making apps with PHP
License GPL-3.0
Homepage https://github.com/AmirrezaFiroz/rubika
Informations about the package app
rubika
rubika client for running bots with PHP. use this client to make bots, games and ...
usage
run this command on terminal
-
create a new php file in current directory
-
require vendor and Bot class in file
- now you can send messages
get message updates
for getting updates, you must create new class with a name and call it
error exceptions
we created exception system for all possible errors you can catch them with try/catch :
code | describtion |
---|---|
1 | invalid phone input |
2 | possible API errors (response) |
3 | not have an intenet connetion |
4 | API general error |
5 | invalid login code input |
6 | invalid twostep verifition password |
7 | login code time is expired |
8 | account session terminated error |
9 | login code is invalid |
10 | account session terminated error (in web login mode) |
11 | invalid message options |
12 | library cant find web index file |
13 | account new username is already exists on server and you can't set it as new username |
14 | invalid action |
15 | not file exists |
16 | file mie is invalid |
17 | invalid data passed |
18 | not understandable object ID |
19 | invalid join link |
20 | invalid username |
21 | invalid email |
web mode
if you runs your bot on web page or want to make web page, we have a way too ;)
Note : with runnig on web page, Bot will active web mode automatic
* web login feature will improve on the text versions ...
fast mode
you can get message updates without writing class or ...
auto send message action
now you can set auto send action mode to your media like send messgae, photo, ... .
All versions of app with dependencies
textalk/websocket Version ^1.6
php Version >=8
james-heinrich/getid3 Version ^1.9