PHPackages                             skyraptor/chatter - 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. [Framework](/categories/framework)
4. /
5. skyraptor/chatter

ActiveLibrary[Framework](/categories/framework)

skyraptor/chatter
=================

Chatter - A Laravel Forum package.

0.5.11(5y ago)37.5k1PHP

Since Aug 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bumbummen99/chatter)[ Packagist](https://packagist.org/packages/skyraptor/chatter)[ RSS](/packages/skyraptor-chatter/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (12)Versions (90)Used By (0)

[![](https://raw.githubusercontent.com/bumbummen99/chatter/master/laravel-forum-logo.svg)](https://raw.githubusercontent.com/bumbummen99/chatter/master/laravel-forum-logo.svg)

[![CI Code Checks](https://github.com/bumbummen99/chatter/workflows/CI%20Code%20Checks/badge.svg?branch=master)](https://github.com/bumbummen99/chatter/actions)[ ![](https://camo.githubusercontent.com/75d161ab89dfeb8f9adcc405c47b9408e0fb131fe6d19c017aaa5e5fce0e4c94/68747470733a2f2f636f6465636f762e696f2f67682f62756d62756d6d656e39392f636861747465722f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d6f66595a6c6c41737535)](https://codecov.io/gh/bumbummen99/chatter)[![Total Downloads](https://camo.githubusercontent.com/b350bc376446ddd120a8ae49815be3ddf6929de85e6cd9eb0e1d2220c365dfbc/68747470733a2f2f706f7365722e707567782e6f72672f736b79726170746f722f636861747465722f646f776e6c6f6164732e7376673f666f726d61743d666c6174)](https://packagist.org/packages/skyraptor/chatter)[![Latest Stable Version](https://camo.githubusercontent.com/188c41b29f2278dfc288403b2787f5a3ac8e7488b0b07a7ea5aa676c0c1a6f7f/68747470733a2f2f706f7365722e707567782e6f72672f736b79726170746f722f636861747465722f762f737461626c652e7376673f666f726d61743d666c6174)](https://packagist.org/packages/skyraptor/chatter)[![License](https://camo.githubusercontent.com/a12e4f23e00164eff1206dbfb931ae1f4d76f99f0b1696453d62024541109334/68747470733a2f2f706f7365722e707567782e6f72672f736b79726170746f722f636861747465722f6c6963656e73652e7376673f666f726d61743d666c6174)](https://packagist.org/packages/skyraptor/chatter)

Chatter - A Laravel Forum package
=================================

[](#chatter---a-laravel-forum-package)

### Installation

[](#installation)

Quick Note: If this is a new project, make sure to install the default user authentication provided with Laravel. `php artisan make:auth`

1. Include the package in your project

    ```
    composer require skyraptor/chatter

    ```
2. Publish the Vendor Assets files by running:

    ```
    php artisan vendor:publish --provider="SkyRaptor\Chatter\Providers\ChatterServiceProvider"

    ```
3. Now that we have published a few new files to our application we need to reload them with the following command:

    ```
    composer dump-autoload

    ```
4. Run Your migrations:

    ```
    php artisan migrate

    ```

    Quick tip: Make sure that you've created a database and added your database credentials in your `.env` file.
5. Lastly, run the seed files to seed your database with a little data:

    ```
    php artisan db:seed --class=SkyRaptor\Chatter\Seeders\ChatterTableSeeder

    ```
6. Inside of your master.blade.php file include a header and footer yield. Inside the head of your master or app.blade.php add the following:

    ```
    @stack('css')

    ```

    Then, right above the `` tag of your master file add the following:

    ```
    @stack('js')

    ```

Now, visit your site.com/forums and you should see your new forum in front of you!

### Upgrading

[](#upgrading)

Make sure that your composer.json file is requiring the latest version of chatter:

```
"skyraptor/chatter": "0.2.*"

```

Then you'll run:

```
composer update

```

Next, you may want to re-publish the chatter assets, chatter config, and the chatter migrations by running the following:

```
php artisan vendor:publish --tag=chatter-resources --force
php artisan vendor:publish --tag=chatter-assets --force

```

Next to make sure you have the latest database schema run:

```
php artisan migrate

```

And you'll be up-to-date with the latest version :)

### Customization

[](#customization)

*CUSTOM CSS*

If you want to add additional style changes you can simply add another stylesheet at the end of your `@stack('css')` statement in the head of your master file. In order to only load this file when a user is accessing your forums you can include your stylesheet in the packages template files or wrap it in the following `if` statement:

```
@if(Route::is( route('chatter.*'))

@endif

```

In addition to that you can also import the SCSS from the package directly into your own build.

*SEO FRIENDLY PAGE TITLES*

Since the forum uses your master layout file, you will need to include the necessary code in order to display an SEO friendly title for your page. The following code will need to be added to the `` of your master file:

```
@if( Request::is( config('chatter.url.home')) )
    Title for your forum homepage -  Website Name
@elseif( Request::is( config('chatter.url.home') . '/' . config('chatter.url.category') . '/*' ) && isset( $discussion ) )
    {{ $discussion->category->name }} - Website Name
@elseif( Request::is( config('chatter.url.home') . '/*' ) && isset($discussion->title))
    {{ $discussion->title }} - Website Name
@endif

```

*OVERRIDING VIEWS*

In order to override Chatter's built in views, simply create a `chatter` folder in your `vendor` views folder, i.e. `ROOT/resources/views/vendor/chatter`. Then simply drop in the Chatter view files you would like to override.

- [home.blade.php](https://github.com/skyraptor/chatter/blob/master/src/Views/home.blade.php)
- [discussion.blade.php](https://github.com/skyraptor/chatter/blob/master/src/Views/discussion.blade.php)

### Laravel [Events](https://laravel.com/docs/events) for the forum

[](#laravel-events-for-the-forum)

This package provides a number of events allowing you to respond to user actions as they happen:

EventAvailable propertiesDescription`ChatterBeforeNewDiscussion`This event is fired *before* a discussion is validated and created`ChatterAfterNewDiscussion``Discussion $discussion`, `Post $post`This event is fired *after* a discussion has been validated and created`ChatterBeforeNewResponse``Discussion $discussion`This event is fired *before* a response is validated and created`ChatterAfterNewResponse``Discussion $discussion`, `Post $post`This event is fired *after* a response is validated and created`ChatterCategorySaved``Category $category`This event is fired *after* a Category has been updated or created#### Listening for Events

[](#listening-for-events)

To register your listeners for these events, follow the [Laravel documentation for registering events and listeners](https://laravel.com/docs/events#registering-events-and-listeners). For example, to register a listener for the "before new discussion" event, add the following to your `EventServiceProvider`:

```
protected $listen = [
    \SkyRaptor\Chatter\Events\ChatterBeforeNewDiscussion::class => [
        \App\Listeners\HandleNewDiscussion::class,
    ],
];
```

where `App\Listeners\HandleNewDiscussion` is a class in your application which handles the event when it's fired.

You can access the object that triggered the event in your listener with

```
    public function handle(ChatterAfterNewDiscussion $event)
    {
        // $event->discussion
        // $event->post
    }
```

and

```
    public function handle(ChatterAfterNewResponse $event)
    {
        // $event->post
    }
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~19 days

Recently: every ~6 days

Total

86

Last Release

1935d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/509a5baf8d7d8f7ae8c5b569ee81b1d04ed6af1af625696777e51e997ff9a685?d=identicon)[bumbummen99](/maintainers/bumbummen99)

---

Top Contributors

[![tnylea](https://avatars.githubusercontent.com/u/601261?v=4)](https://github.com/tnylea "tnylea (101 commits)")[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (43 commits)")[![chrisbbreuer](https://avatars.githubusercontent.com/u/6228425?v=4)](https://github.com/chrisbbreuer "chrisbbreuer (21 commits)")[![aaronranard](https://avatars.githubusercontent.com/u/910926?v=4)](https://github.com/aaronranard "aaronranard (12 commits)")[![bumbummen99](https://avatars.githubusercontent.com/u/4533331?v=4)](https://github.com/bumbummen99 "bumbummen99 (11 commits)")[![LucasLeandro1204](https://avatars.githubusercontent.com/u/13268691?v=4)](https://github.com/LucasLeandro1204 "LucasLeandro1204 (9 commits)")[![ThomasBS](https://avatars.githubusercontent.com/u/5128963?v=4)](https://github.com/ThomasBS "ThomasBS (6 commits)")[![timacdonald](https://avatars.githubusercontent.com/u/24803032?v=4)](https://github.com/timacdonald "timacdonald (5 commits)")[![galdazbiz](https://avatars.githubusercontent.com/u/658251?v=4)](https://github.com/galdazbiz "galdazbiz (4 commits)")[![mhanoglu](https://avatars.githubusercontent.com/u/8195419?v=4)](https://github.com/mhanoglu "mhanoglu (2 commits)")[![putera](https://avatars.githubusercontent.com/u/314314?v=4)](https://github.com/putera "putera (1 commits)")[![SeanWhelan](https://avatars.githubusercontent.com/u/15476845?v=4)](https://github.com/SeanWhelan "SeanWhelan (1 commits)")[![steffen25](https://avatars.githubusercontent.com/u/9927227?v=4)](https://github.com/steffen25 "steffen25 (1 commits)")[![gerbenjacobs](https://avatars.githubusercontent.com/u/715095?v=4)](https://github.com/gerbenjacobs "gerbenjacobs (1 commits)")[![firescript](https://avatars.githubusercontent.com/u/1789978?v=4)](https://github.com/firescript "firescript (1 commits)")[![GGGGGGGG](https://avatars.githubusercontent.com/u/3520402?v=4)](https://github.com/GGGGGGGG "GGGGGGGG (1 commits)")[![idbendriss](https://avatars.githubusercontent.com/u/8147175?v=4)](https://github.com/idbendriss "idbendriss (1 commits)")[![mattlibera](https://avatars.githubusercontent.com/u/6657359?v=4)](https://github.com/mattlibera "mattlibera (1 commits)")[![napestershine](https://avatars.githubusercontent.com/u/8603325?v=4)](https://github.com/napestershine "napestershine (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skyraptor-chatter/health.svg)

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

###  Alternatives

[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

74310.9M66](/packages/laravel-mcp)[bref/laravel-bridge

An advanced Laravel integration for Bref, including Octane support.

3384.1M11](/packages/bref-laravel-bridge)[themosis/framework

The Themosis framework.

676307.9k18](/packages/themosis-framework)

PHPackages © 2026

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