PHPackages                             shalvah/pusher-chatkit-laravel - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. shalvah/pusher-chatkit-laravel

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

shalvah/pusher-chatkit-laravel
==============================

Laravel wrapper for the Chatkit PHP SDK

1.5.0(6y ago)2212.2k6MITPHPPHP ^7.0

Since Jan 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/shalvah/pusher-chatkit-laravel)[ Packagist](https://packagist.org/packages/shalvah/pusher-chatkit-laravel)[ RSS](/packages/shalvah-pusher-chatkit-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (7)Versions (6)Used By (0)

Laravel-Chatkit
===============

[](#laravel-chatkit)

*ChatKit is shutting down - *

[![Pusher](./pusher.png)](./pusher.png)

> Laravel wrapper for [Pusher Chatkit](https://github.com/pusher/chatkit-server-php). Find out more about Chatkit [here](https://pusher.com/chatkit).

[![Build Status](https://camo.githubusercontent.com/13ee59e55e6179c15c29aa43abd296b721e5959f34a87540c5f957202f326eaf/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7368616c7661682f7075736865722d636861746b69742d6c61726176656c2f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/shalvah/pusher-chatkit-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/b5f2e5df0ef5baa21e2069fc0ceef024584d46d4cc67d69331a8f431db79c26a/68747470733a2f2f706f7365722e707567782e6f72672f7368616c7661682f7075736865722d636861746b69742d6c61726176656c2f762f737461626c65)](https://packagist.org/packages/shalvah/pusher-chatkit-laravel) [![Total Downloads](https://camo.githubusercontent.com/067d55c8b4f0f392a9630d9a17c7c33885d726d5b45f7982a073e923d216cf84/68747470733a2f2f706f7365722e707567782e6f72672f7368616c7661682f7075736865722d636861746b69742d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/shalvah/pusher-chatkit-laravel)[![Latest Version](https://camo.githubusercontent.com/5a84d75ab9040fef4555561f9ca4aa0d46db0a54eff8fd74b12276b44d55db79/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7368616c7661682f7075736865722d636861746b69742d6c61726176656c2e7376673f7374796c653d666c6174)](https://github.com/shalvah/pusher-chatkit-laravel/releases)

*Note*: This package requires Laravel 5.5 or above

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

[](#installation)

```
composer require shalvah/pusher-chatkit-laravel
```

The package will automatically make use of the latest stable version of the Chatkit PHP library (currently 1.1.0).

Quick start
-----------

[](#quick-start)

Publish the config file by running:

```
php artisan vendor:publish --provider="Chatkit\Laravel\ChatkitServiceProvider"
```

This will create a `config/chatkit.php` file in your app that you can modify to match your configuration. Retrieve your Chatkit app details from your Chatkit app dashboard and add them in your `.env` file like so:

```
CHATKIT_INSTANCE_LOCATOR=your-instance-locator
CHATKIT_KEY=your-key
```

That's it. You can use Chatkit via the facade in your app:

```
