PHPackages                             developeruz/confer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. developeruz/confer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

developeruz/confer
==================

Easy chat system for laravel-based sites

v0.5-alpha(11y ago)08MITJavaScriptPHP &gt;=5.4.0

Since May 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/developeruz/confer)[ Packagist](https://packagist.org/packages/developeruz/confer)[ RSS](/packages/developeruz-confer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (7)Used By (0)

Confer
======

[](#confer)

Add a real-time chat system to your laravel 5 website/application in a few lines of code

Recently I have had a few projects that have required a chat feature, and I wanted to create a laravel package - so here it is!

Demo
====

[](#demo)

You can see a demo and test the package at [www.confer.work](http://www.confer.work). The demo is limited to 19 concurrent users, and you will automatically be logged in if a user slot is available - otherwise you may have to wait for a slot to free up.

Everything you post in the demo will be saved under the test user you are logged in as, so please avoid rude language or sensitive information.

I will refresh the database every now and again to clear the test messages.

Requirements
============

[](#requirements)

The project currently requires Pusher (php-server and javascript) to allow real-time chat messaging. I really recommend this service if you need to do anything real-time - it's fast, reliable and very easy to implement in your projects.

You can create a free sandbox account at [pusher.com](https://www.pusher.com) which lets you have 100,000 messages a day and 20 active users at one time. If you need higher limits they offer paid accounts at pretty decent prices.

Other requirements:

- moment.js (it made me sad to have to require this, but it makes updating the chat timestamps so much easier)
- jQuery
- Font Awesome
- the Laravel HTML/Form helpers (Illuminate\\Html)

Installation
============

[](#installation)

Require the package via composer: `composer require djb/confer`

Publish the assets: `php artisan vendor:publish`

Add the service provider `DJB\Confer\ConferServiceProvider` to your `config\app.php`

Add the seed to your database seed caller (default is `database\seeds\DatabaseSeeder.php`):

```
class DatabaseSeeder extends Seeder {

/**
 * Run the database seeds.
 *
 * @return void
 */
public function run()
{
  Model::unguard();

  $this->call('ConferSeeder');
}
```

Migrate your database with the seeds in tow: `php artisan migrate --seed`

Add the trait to your User model:

```
use DJB\Confer\Traits\CanConfer;

class User extends Model {

  use CanConfer;

}
```

Link to the css file, and import the view partials in whichever pages you wish to have the chat on, or put it in your app/master file (if you are using one) to show on all pages:

```

@include('confer::confer')

@include('confer::js')
```

Configuration
=============

[](#configuration)

There are a number of options in the confer.php config file which are quite self explanatory, but in short you can:

- Provide a company avatar (this is the image that will show as your global chat icon should you...)
- Allow global chat - have a free-for-all open chat, or don't... it's up to you
- Specify a different loader to the one used (default is a sweet looking .svg by [Sam Herbert](http://samherbert.net/svg-loaders/))
- Change the directory where avatars are stored
- Enable some serious grammar enforcing (currently capitals at start of sentences, and refusal to allow the use of numbers between 0-9 without converting them to their word format)

The avatar, loader and company avatar are all relative to your app's /public dir.

Your Pusher app details are not configured in the config file provided, they are instead expected to be provided in your `config\services.php` file in the format:

```
'pusher' => [
  'public' => 'public_key',
  'secret' => 'secret_key',
  'app_id' => 'app_id'
]
```

Assumptions of the package
==========================

[](#assumptions-of-the-package)

The package assumes you have a User model in the App namespace, and that this model has a `name` attribute (hey, if you don't have one already, why not create one with a custom getter?) and an `avatar` attribute - which is simply the filename of the avatar image file (for example `avatar-dan.jpg`) which will be appended to your avatar\_dir provided in the config file of the package to find your avatar.

Optionals
=========

[](#optionals)

There is an optional facebook messages type bar, which you can include in your project if you'd like that functionality.

Simply put `@include('confer::barconversationlist')` inside a suitable containing element (like a dropdown li).

If you are using bootstrap this is what I have my bar view inside:

```

      @include('confer::barconversationlist')

```

Potential updates
=================

[](#potential-updates)

Likely updates include adding mentions, sounds and changing conversation names after the initial setup.

What would you like to see?

Closing
=======

[](#closing)

If you use this package in your project it would mean the absolute world to me if you let me know! This is my first package, and my first piece of code shared so really... it's close to me. That said please feel free to contribute to the project - I think it has a solid foundation for expansion.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

5

Last Release

4052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b19e4f376a7fc95ccaf38274dc7768c7216d419b75b5a6da5d935c5d8521db3?d=identicon)[DeveloperUz](/maintainers/DeveloperUz)

---

Top Contributors

[![dazzz1er](https://avatars.githubusercontent.com/u/6876139?v=4)](https://github.com/dazzz1er "dazzz1er (37 commits)")[![developeruz](https://avatars.githubusercontent.com/u/8788118?v=4)](https://github.com/developeruz "developeruz (1 commits)")[![nicoqh](https://avatars.githubusercontent.com/u/3981388?v=4)](https://github.com/nicoqh "nicoqh (1 commits)")

### Embed Badge

![Health badge](/badges/developeruz-confer/health.svg)

```
[![Health](https://phpackages.com/badges/developeruz-confer/health.svg)](https://phpackages.com/packages/developeruz-confer)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M276](/packages/illuminate-pipeline)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)[illuminate/redis

The Illuminate Redis package.

8314.6M369](/packages/illuminate-redis)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
