PHPackages                             socieboy/forum - 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. socieboy/forum

AbandonedArchivedPackage[Framework](/categories/framework)

socieboy/forum
==============

Laravel Forum Integration Pack

2.0.2(10y ago)681.4k21MITPHP

Since Sep 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/socieboy/forum)[ Packagist](https://packagist.org/packages/socieboy/forum)[ RSS](/packages/socieboy-forum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

No taking care of this package anymore.

Socieboy Forum
==============

[](#socieboy-forum)

Package for Laravel 5.2

[![Total Downloads](https://camo.githubusercontent.com/58aa1c62b6308e52258f96e3457b507eefd6d3441e10c37cdac74afb66e21ce7/68747470733a2f2f706f7365722e707567782e6f72672f736f636965626f792f666f72756d2f642f746f74616c2e737667)](https://packagist.org/packages/socieboy/forum)[![Latest Stable Version](https://camo.githubusercontent.com/d42f04fbfbf39f5e6927d05f089fe7217bc3e892c48ad6cfb912dc3d1da68470/68747470733a2f2f706f7365722e707567782e6f72672f736f636965626f792f666f72756d2f762f737461626c652e737667)](https://packagist.org/packages/socieboy/forum)[![Latest Unstable Version](https://camo.githubusercontent.com/7b8f11a12b7c377945beceffe960babea1c5132291ad417e9ae12eb0e106cb8a/68747470733a2f2f706f7365722e707567782e6f72672f736f636965626f792f666f72756d2f762f756e737461626c652e737667)](https://packagist.org/packages/socieboy/forum)[![License](https://camo.githubusercontent.com/c586d09022dfd348a6f824d2d7594efdca898d0196e29e6f33b8d2d1dcfe113a/68747470733a2f2f706f7365722e707567782e6f72672f736f636965626f792f666f72756d2f6c6963656e73652e737667)](https://packagist.org/packages/socieboy/forum)

Features
--------

[](#features)

- Create conversations.
- Reply existing conversations.
- Support for gravatar and custom avatars.
- Fire email to the conversation owner when some user left a reply.
- Broadcast notifications to the conversation owner when someone left a reply.
- Include LESS files.

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

[](#installation)

1.- Add to composer.json file the package

```
"socieboy/forum" : "2.0.*"

```

2.- After installing this package, you have to set the service provider on your config/app.php file

```
Socieboy\Forum\Providers\ForumServiceProvider::class,

```

3.- Publish the forum config file on your config folder and publish the default template to your resources/assets/less/ folder, hit the follow command.

```
php artisan vendor:publish

```

4.- Create migrations for the forum, make sure you have a migration already created for users. (Before to do this step, you may want to add a prefix to your forum database tables, see the config file)

```
php artisan forum:migrate

```

This command will create the migration files, for conversations, replies, and like\_replies. Then just execute your migration:

```
php artisan migrate

```

Configuration
-------------

[](#configuration)

### General

[](#general)

The forum provides a simple custom template, this is published on the resources/assets directory, feel free to edit.

On the config/forum.php file, set the right information of your app.

### Template

[](#template)

This is the master template view of your project:

```
'template'  => 'app',

```

The key content is the name of your yield tag on your master template file where you would like to display the forum:

```
'content'   => 'content',

```

With those values the forum can be adapted to your project really easily and match your application design.

### Topics

[](#topics)

Define the array of topics for your forum. Now you can define the key for the topic, give a name and the representative icon for the topic, you can use any font class of your preference here. Also you can set the representative color for this topic in the las parameter (color is optional).

```
'topics' => [
    'general' => [
        'name' => 'General',
        'icon' => 'fa fa-tags',
        'color' => 'rgb(78, 137, 218)'
    ]
],

```

### Database

[](#database)

Customize your own prefix for the forum database tables.

```
'database' => [
    'prefix' => 'forum'
],

```

### User settings

[](#user-settings)

The user configuration with the forum includes.

The model key, set the namespace + class name of your users model. By default is App\\User as Laravel uses.

```
'model' => \App\User::class,

```

The username key is the field on your users table that would be used to display the name of the user who post a conversation/reply. You can set any field like email, username, full\_name, name, etc, (Must be a field on your users table).

```
'username' => 'name',

```

Do you have avatars for the users on your project? (Set the key avatar to true if you want to use avatars).

```
'avatar' => true,

```

If you prefer to use gravatar for your avatars set the key gravatar to true.

```
'gravatar' => true,

```

If you want to use your own avatars, then define the field on your users table where the url to the image (avatar) is stored.

```
'user-avatar' => 'avatar',

```

Include link to profile users.

```
'profile' => true,

```

By default the forum include a simple user profile. If you want to implement your own just set the route name on this key, the route should receive one parameter as slug.

```
'profile-route' => 'forum.user.profile'

```

Specify the column of the users table that will be used as slug, by default the forum use the user id.

```
'profile-slug' => 'id',

```

Now if the user is not log in, the button for start a conversation will redirect the user to your login page, just set the url of your login page in this key.

```
'auth' => [
    'login-url' => 'auth/login'
],

```

If you want you can change the icons to do like and choose the best answer on replies.

```
'icons' => [
    'tags'              => 'glyphicon glyphicon-tags',
    'like'              => 'glyphicon glyphicon-thumbs-up',
    'correct-answer'    => 'glyphicon glyphicon-ok',
    'edit'              => 'glyphicon glyphicon-pencil',
    'delete'            => 'glyphicon glyphicon-trash'
    'home'              => 'glyphicon glyphicon-home',
],

```

### Emails

[](#emails)

On the array emails are 4 different values.

The key fire is set by the default false, no email would be fired when someone left a reply. Change to true if you want to implement fire emails to the conversation owner when some user left a reply.

```
'fire' => false,

```

The from key is the email of the admin of your app or whatever account that would be used to send the emails.

```
'from' => '',

```

The from-name key is the real name of the administrator of the forum or who is going to send the emails.

```
'from-name' => '',

```

Finally just set the subject for the emails fired.

```
'subject' => 'My app Forum - you have a new reply on your post',

```

### Events

[](#events)

When some user left a reply on the conversation, starts a new conversation or marks a reply as the best answer, an event will fire and broadcast depending on your settings..

The key fire is set by the default true. As long as it is true, an event will be fired for new replies, new conversations and choosing a best answer.

```
'fire' => true,

```

Set the key broadcast to true on the forum config file and also add your Pusher keys to the broadcasting config file of Laravel. Once set to true, the events will also send out broadcasts that you can pick up.

```
'broadcast' => false,

```

Also on the bottom of you app or where your scripts section is located add this code.

```
@include('Forum::Broadcasting.index');

```

Now that's it, easy and you are ready to go!

### Translations

[](#translations)

- English
- Spanish
- Danish
- French
- Arabic

If you want to contribute in this package with your native language copy the folder src/Lang/en/ translate all keys to your language and send a pull request.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.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 ~44 days

Recently: every ~54 days

Total

6

Last Release

3681d ago

Major Versions

1.1.0 → 2.02016-02-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7442695?v=4)[Frank Sepulveda](/maintainers/socieboy)[@socieboy](https://github.com/socieboy)

---

Top Contributors

[![socieboy](https://avatars.githubusercontent.com/u/7442695?v=4)](https://github.com/socieboy "socieboy (156 commits)")[![stygiansabyss](https://avatars.githubusercontent.com/u/4187442?v=4)](https://github.com/stygiansabyss "stygiansabyss (10 commits)")[![ThomasBS](https://avatars.githubusercontent.com/u/5128963?v=4)](https://github.com/ThomasBS "ThomasBS (9 commits)")[![VictorAvelar](https://avatars.githubusercontent.com/u/7926849?v=4)](https://github.com/VictorAvelar "VictorAvelar (2 commits)")[![mohamedsabil83](https://avatars.githubusercontent.com/u/10126040?v=4)](https://github.com/mohamedsabil83 "mohamedsabil83 (2 commits)")[![rashidlaasri](https://avatars.githubusercontent.com/u/36804104?v=4)](https://github.com/rashidlaasri "rashidlaasri (2 commits)")[![base-zero](https://avatars.githubusercontent.com/u/12373799?v=4)](https://github.com/base-zero "base-zero (1 commits)")[![garygreen](https://avatars.githubusercontent.com/u/1702638?v=4)](https://github.com/garygreen "garygreen (1 commits)")[![Devonab](https://avatars.githubusercontent.com/u/6360488?v=4)](https://github.com/Devonab "Devonab (1 commits)")[![kadimi](https://avatars.githubusercontent.com/u/225615?v=4)](https://github.com/kadimi "kadimi (1 commits)")[![colinodell](https://avatars.githubusercontent.com/u/202034?v=4)](https://github.com/colinodell "colinodell (1 commits)")

### Embed Badge

![Health badge](/badges/socieboy-forum/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[laravel/reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.

1.6k9.4M48](/packages/laravel-reverb)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[munafio/chatify

A package for Laravel PHP Framework to add a complete real-time chat system.

2.4k441.9k2](/packages/munafio-chatify)

PHPackages © 2026

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