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.

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 app

rubika

rubika client for running bots with PHP. use this client to make bots, games and ...

usage

run this command on terminal

  1. create a new php file in current directory

  2. require vendor and Bot class in file

  3. 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

PHP Build Version
Package Version
Requires symfony/yaml Version ^6.2
textalk/websocket Version ^1.6
php Version >=8
james-heinrich/getid3 Version ^1.9
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 rubika/app contains the following files

Loading the files please wait ....