Download the PHP package jlkaufman/blackhole-bot without Composer

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

Blackhole

This bot will connect to an IRC channel and a Jabber MUC, and relay everything back and forth, serving as a gateway.

Prerequisites

It is assumed that you have composer already installed. In order to run this as a service, systemd is required. This was built with Debian 8 in mind. I'm a Debian user, and rarely get onto other distos. If you'd like to further develop the installer, please create a PR and I'll be happy to include it =)

Quick install

The best way to install this project is with composer. In fact, it's the only supported method. IF you chose to grab the deps and install everything by hand, more power to you. I will not help you with this if you run into problems.

  1. Clone this repo
  2. run composer install
  3. run make
  4. run sudo make install
  5. edit /etc/blackhole-bot/blackhole.yml to suit your needs. It is recommended that you create a user for the bot to run as. You can grab the user's uid with id -u <username> and the gid with id -g <username>
  6. service blackhole-bot <start|stop|status> to control the bot after configuration.

Make Targets

  1. make - Builds the bot
  2. make install - Installs the bot and installs the systemd service file
  3. make uninstall - Uninstalls the bot
  4. make clean - Cleans the working directory

Development

Development can be done inside the vagrant vm...

  1. run vagrant up
  2. run vagrant ssh

For testing purposes you can run the bot with ./bin/bot. Make sure to copy config/blackhole.yml.sample to config/blackhole.yml and you're good to go.

Contributing

Anyone is welcome to contribute to the project. Make a fork, make some changes, and create a pull-request to contribute. Please let it be known, I wont accept any pull requests with code that doesn't follow PSR/2, or anything that looks to be a mess.

Considerations

This bot is a side project. I will try to maintain it, but I make no promises. If you like it, contribute to it =)

Known issues


All versions of blackhole-bot with dependencies

PHP Build Version
Package Version
Requires abhinavsingh/jaxl Version 3.0.*
phergie/phergie-irc-client-react Version ~2
symfony/console Version 3.0.*
symfony/config Version 3.0.*
symfony/yaml Version 3.0.*
symfony/dependency-injection Version 3.0.*
psr/log Version 1.0.*
php Version >=5.6.0
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 jlkaufman/blackhole-bot contains the following files

Loading the files please wait ....