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

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

taskforcedev/laravel-forum
==========================

A forum module for Laravel 5 websites.

v1.0.2(9y ago)66764[1 issues](https://github.com/taskforcedev/laravel-forum/issues)GPL-3.0PHP

Since Aug 14Pushed 9y ago4 watchersCompare

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

READMEChangelogDependencies (4)Versions (4)Used By (0)

Laravel Forum
=============

[](#laravel-forum)

A drop-in forum module for Laravel 5.

Code Style: [![Build Status](https://camo.githubusercontent.com/98010cea0b255478c39c9eefff1d67601f9a58c90a9336f62d0cd0e2f3da91dc/68747470733a2f2f7472617669732d63692e6f72672f7461736b666f7263656465762f6c61726176656c2d666f72756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/taskforcedev/laravel-forum) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/2728756638c76150a6cf4ecca84d72a701fcee7694ba3f4c38ae1d67e6fa6748/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7461736b666f7263656465762f6c61726176656c2d666f72756d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/taskforcedev/laravel-forum/?branch=master)

Integration Testing:

Laravel 5.3: [![Build Status](https://camo.githubusercontent.com/d907dda53673005376c372e3b23afb4b6c3c40434321f2a2c13ed391d4c03072/68747470733a2f2f7472617669732d63692e6f72672f7461736b666f7263656465762d74657374696e672f6c61726176656c2d35332d666f72756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/taskforcedev-testing/laravel-53-forum)

Requirements
------------

[](#requirements)

- Laravel 5.2+
- jQuery is currently required for forum moderation features (lock/sticky).

What this package provides
--------------------------

[](#what-this-package-provides)

- Fully Functional Forum (/forum)
- Admin Interface (/admin/forums)
- Database Tables

    - forums
    - forum\_posts
    - forum\_categories
    - forum\_post\_replies

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

[](#installation)

### Step 1: Add the following package to your composer.json require (if not already present).

[](#step-1-add-the-following-package-to-your-composerjson-require-if-not-already-present)

Laravel 5.2:

```
require {
  "taskforcedev/laravel-forum": "1.0.2"
}

```

Laravel 5.3+:

```
require {
    "taskforcedev/laravel-forum": "dev-master"
}

```

In development (steps for 5.0-5.2 may work as long as you dont require a package requiring the newer laravel-support package).

### Step 2: Run composer update

[](#step-2-run-composer-update)

```
composer update

```

### Step 3: Add the following service provider(s) to config/app.php (if not already present)

[](#step-3-add-the-following-service-providers-to-configappphp-if-not-already-present)

```
'providers' => [
    Taskforcedev\LaravelSupport\ServiceProvider::class,
    Taskforcedev\LaravelForum\ServiceProvider::class,
]

```

### Step 4: Migrate

[](#step-4-migrate)

Run the migrations

```
php artisan migrate

```

### Step 5: Publish Config.

[](#step-5-publish-config)

If you haven't previously published the config from the LaravelSupport package please do this also with the following command:

```
php artisan vendor:publish --tag="taskforce-support"

```

### Step 6: Edit config.

[](#step-6-edit-config)

If you haven't previously edited the config/taskforce-support.php file please add your sites details into this.

```
'layout' => 'layouts.master',
'sitename' => 'Your Site Name',

```

Usage
-----

[](#usage)

Once you have done the installation steps above in order to setup the forums for public use you must first create at least one category and a forum, you do this by visiting

```
/admin/forums

```

Once you have done this you can add the link to `/forum` into your sites navigation as you please.

Administration / Moderation
---------------------------

[](#administration--moderation)

In order to provide administrators access to add/edit/manage the forums we use laravel policies.

The following must return true for a user to be able to visit the admin section:

```
$user->can('create', Forum::class);

```

We recommended you have a policy which proves a user has administration powers on your application:

see:

Then you can add the following to your app/Providers/AuthServiceProvider.php file

```
use Taskforcedev\LaravelForum\Models\Forum;
use Taskforcedev\LaravelForum\Models\ForumCategory;

```

Then apply your admin policy to each of the models \[example:\]

```
protected $policies = [
    ...

    Forum::class => AdminPolicy::class,
    ForumCategory::class => AdminPolicy::class,
];

```

As it stands any authenticated user is able to post or reply in any forum.

Events
------

[](#events)

The following events are fired within the package and can be listened for in your main application.

- Taskforcedev\\LaravelForum\\Events\\PostCreated
- Taskforcedev\\LaravelForum\\Events\\PostReply

Contributing / Feedback
-----------------------

[](#contributing--feedback)

- We welcome any pull requests, please ensure code is to the PSR-2 Standard.
- We check github issues frequently so please feel free to raise any comments or feedback there.

Versioning
----------

[](#versioning)

Version 1.\* follows the semantic version numbering system.

Future versions will use the laravel major and minor version numbers followed by release number.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

3428d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37c8fe9528f3cf904d6cfa282050a60af3dc8c8ef24f1e0d4515a6c9316c2e75?d=identicon)[PrivateSniper](/maintainers/PrivateSniper)

![](https://www.gravatar.com/avatar/8be311486740384d90aa1785e9ae75bfc4eace24eb5922cacd0520927816ebc6?d=identicon)[taskforcedev](/maintainers/taskforcedev)

![](https://www.gravatar.com/avatar/67824c3c557abf0cb50a016dabacfc64c2af69b5cd765c2895445f21fb499ae0?d=identicon)[davidcraig](/maintainers/davidcraig)

---

Tags

laravellaravel-5-packagepackagelaravelforum

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[fresns/fresns

Cross-platform general-purpose multiple content forms social network service software.

4841.5k](/packages/fresns-fresns)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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