PHPackages                             leocata/m1-bot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. leocata/m1-bot

ActiveLibrary[API Development](/categories/api)

leocata/m1-bot
==============

PHP API M1

1.0.1(8y ago)09MITPHP

Since Oct 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/RushCode/m1-bot)[ Packagist](https://packagist.org/packages/leocata/m1-bot)[ RSS](/packages/leocata-m1-bot/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

M1 bot-constructor
==================

[](#m1-bot-constructor)

[![Build Status](https://camo.githubusercontent.com/8a6627ca40e0715895a28feb3dc524c6e3d1ba8ca671f658250168aa7c63d34e/68747470733a2f2f7472617669732d63692e6f72672f52757368436f64652f6d312d626f742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/RushCode/m1-bot) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/ed99f9d6aac9244d2d151d753e1202aae4269b1bcf4d892367a4141e60174abe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f52757368436f64652f6d312d626f742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/RushCode/m1-bot/?branch=master) [![Maintainability](https://camo.githubusercontent.com/590b46a1a6e0a658bb1b4e7fedd915b3f48a8f6f339dc6f5bfa496aa164e9365/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65633663376637636161613735386633313634642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/RushCode/m1-bot/maintainability)

Install Gearman server
======================

[](#install-gearman-server)

```
apt-get install gearman software-properties-common
add-apt-repository ppa:gearman-developers/ppa
add-apt-repository ppa:ondrej/pkg-gearman
apt-get update
apt-get install php-gearman

```

Install Application
===================

[](#install-application)

```
composer require leocata/m1-bot

```

Usage
=====

[](#usage)

### Create bot

[](#create-bot)

ExampleBot.php

```
