PHPackages                             idevelopthings/laravel-twitch-irc - 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. idevelopthings/laravel-twitch-irc

ActiveLibrary

idevelopthings/laravel-twitch-irc
=================================

This is my package laravel-twitch-irc

5101[3 PRs](https://github.com/iDevelopThings/laravel-twitch-irc/pulls)PHP

Since Nov 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/iDevelopThings/laravel-twitch-irc)[ Packagist](https://packagist.org/packages/idevelopthings/laravel-twitch-irc)[ RSS](/packages/idevelopthings-laravel-twitch-irc/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (4)Used By (0)

laravel-twitch-irc
==================

[](#laravel-twitch-irc)

[![Latest Version on Packagist](https://camo.githubusercontent.com/68da5e18a7d3893f190e3d91b63e0e5eefb69e350b1c54c4981faa63713fcc64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69646576656c6f707468696e67732f6c61726176656c2d7477697463682d6972632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/idevelopthings/laravel-twitch-irc)[![GitHub Tests Action Status](https://camo.githubusercontent.com/daf323d4feb0c994c43505d09f5a4010d7ff3269a6e25d44e401ccac526ea446/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69646576656c6f707468696e67732f6c61726176656c2d7477697463682d6972632f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/idevelopthings/laravel-twitch-irc/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e70cb72881029cb6f59fffbbda01e074998b28941dad29c2383b936fb7b65a23/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69646576656c6f707468696e67732f6c61726176656c2d7477697463682d6972632f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/idevelopthings/laravel-twitch-irc/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/219a761a5389db27b1706cc530574059ceaeb81dad65998535063a34248b01d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69646576656c6f707468696e67732f6c61726176656c2d7477697463682d6972632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/idevelopthings/laravel-twitch-irc)

Twitch IRC Bot for laravel applications. This ships with the ability to create custom commands for your bot, with aliases, cooldowns, ability to connecto to multiple channels, etc.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require idevelopthings/laravel-twitch-irc
```

You can publish the config file with:

```
php artisan vendor:publish --tag="twitch-irc-config"
```

Usage
-----

[](#usage)

Publish the config file first, add to your .env:

```
TWITCH_BOT_USERNAME="your bots username"
TWITCH_BOT_ACCESS_TOKEN="your bots token"
```

You can obtain a token here: When using the token, don't include the "oauth:" prefix.

Now we can create a command, the default location is app/Services/TwitchIrc/Commands, you can change this path in the config file

```
