Download the PHP package aidsoul/vktote without Composer

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

vktote

This is auto-posting from a VK group to a telegram channel.

Installation

You need:

To install, use the command: git clone https://github.com/aidsoul/vktote. Download the necessary libraries using the command: composer install.

Or use command composer create-project aidsoul/vktote.

Connection example

All files for working with groups are located in the "groups" folder.

In the "groups" folder, folder with the files listed below are added. All these files are needed for work. Come up with a name for the folder yourself.

The following example is a true profile group creation:

If necessary, you can change the folder and the name of the files in the configuration file "config.php".

Configuration file "config.ini " should look like this:

If there is a need to use a different database for each profile of the group you need to change the constant "DB_COMMON" in config.php by setting the value to "true". You should also add: DB_HOST, DB_NAME, DB_USER, DB_PASS.

The following bot languages are available: English (eng) and Russian (rus).

Сontrol panel

For the convenience of creating group profiles, use the control panel.

Use "localhost" to log in to the control panel. Click on the log in button. The first time you login, a password will be created. You need to remember the password, it will be used to access the control panel. Go to settings "localhost/settings" and create a new group profile by clicking on the "Create a settings profile" button.

MySQL

The project uses a mysql database. Import the database file: db.sql.

Task Scheduler

Use crontab on your server or another task scheduler to get fresh posts without stopping.

Usage example

Open and add a task to the task list: crontab-e.

Get fresh entries every minute: * * * * * php groups/start.php group_folder.

Below is an example of running a task for the "test" group profile. Test is specified as an argument.

API

All API queries start with https://domain/api/

bot.start

Accepts a GET request with the parameter "group".

Example: https://domain/api/bot.start?group=group_name


All versions of vktote with dependencies

PHP Build Version
Package Version
Requires php Version >=8
twig/twig Version 3.4
league/route Version ^5.1
laminas/laminas-diactoros Version ^2.11
laminas/laminas-httphandlerrunner Version ^2.1
league/container Version ^4.2
aidsoul/pdo Version ^1.0
guzzlehttp/guzzle Version ^7.4
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 aidsoul/vktote contains the following files

Loading the files please wait ....