PHPackages                             ian/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. [Admin Panels](/categories/admin)
4. /
5. ian/forum

ActiveLibrary[Admin Panels](/categories/admin)

ian/forum
=========

A complete forum package designed for integration in any website build with laravel

06PHP

Since Oct 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lxzian/laravel-forum)[ Packagist](https://packagist.org/packages/ian/forum)[ RSS](/packages/ian-forum/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel forum package
=====================

[](#laravel-forum-package)

\*\* Note: This package is now discontinued as I don't have time to improve it anymore. However, a nice guy has forked it and improved it on top of my work and is now keeping it alive. I suggest you have a look at [this repo](https://github.com/Riari/laravel-forum) for the new, updated version. This repo will only stay here for documentation purposes. Please submit your pull requests and issues to Riari's one instead. \*\*

[![Build Status](https://camo.githubusercontent.com/3958150a99f7a6858fba078feae8b2b34015c8ba8676d998a44c8fcd484f171f/68747470733a2f2f7472617669732d63692e6f72672f617472616b6575722f6c61726176656c2d666f72756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/atrakeur/laravel-forum)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ccbab69878fe70c7603edbac93a87b6e24431c99f9d6181af7f16f3794830022/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617472616b6575722f6c61726176656c2d666f72756d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/atrakeur/laravel-forum/?branch=master)

Goals
-----

[](#goals)

This package aims to provide a good starting point implementing a forum inside a Laravel application. It focus on taking care of all the tedious and repetiting work of forum creation (categories, subcategories, topics, messages). Allowing you to spend more time on you website features and how the forum integrates with you application. This package will provide multiple hooks such as specials events and custom closures to allow you to customise his behavior. Additionnaly, you'll be able to extends forum's core classes to implement you own methods directly inside the core.

This package is far from finished, and pull requests are always welcome to make this package better together.

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

[](#installation)

### Import the package

[](#import-the-package)

To install, simply add the following line to your composer .json and run composer update:

```
"atrakeur/forum": "dev-master"
```

Then add the following service provider to your app.php:

```
'Atrakeur\Forum\ForumServiceProvider',
```

### Integrate into your app

[](#integrate-into-your-app)

Before anything, in some cases (L4) you may need to run an update for composer before these next steps, so:

```
composer update
```

and, just to be safe, run:

```
composer dump-autoload
```

Now publish forum's files right into your Laravel app: `php artisan config:publish atrakeur/forum``php artisan migrate:publish atrakeur/forum`

If all goes well, you should find configuration files inside app/config/packages/atrakeur/forum and three new migrations in app/database/migrations.

Now you can create the database schema using the default Laravel command `php artisan migrate` .

To enable you to fully customise the package to your website, the package is integrated inside your application using two application level controllers. Run the command `php artisan forum:install` to auto-deploy the controllers in your app/controllers folder. (Please note that if a file with the same name allready exist, the command above will fail before overriding your files.)

### Customise

[](#customise)

To tweak the views publish them to your views folder using the Laravel command:

`php artisan view:publish atrakeur/forum`

The very last step needed is to create some categories and subcategories into the forum\_categories tables. The schema is very basic and you should be able to do that on your own using Laravel seeds (TODO: give some examples)

Now you are ready to go, just load  and you should see a brand new forum.

More information on how to integrate it with your login system is available through the config files comments. (TODO: give some examples) By default, it should run well on Laravel default auth.

Features
--------

[](#features)

This package is currently in (very-)alpha stage, so all of the following features may or may not work yet. However, feel free to post issues and features requests at  . I'll try to fix and improve the package as fast as I can based on your help!

- Category nesting on 2 levels
- Topic and messages inside categories
- Easy user integration (through config files and callbacks)
- Easy user right integration (through config files and callbacks)
- Message posting (with hooks for app integration)
- Light weight &amp; blasing fast (designed with caching and high speed in mind)
- Designed on bootstrap (clean and simple markup, no messy css and should integrate directly into your website)

Events
------

[](#events)

This package provides various events as hooks to enable you to implement you own functionnality on top of forum's functionnality. Here is a complete list of all events, as to when they are fired. When a parameter is given, you can use this parameter to change a forum's iternal object to fit your needs.

EventsParamsUsageforum.new.topic$topicCalled before topic save. Can be used to modify topic contentsforum.new.message$messageCalled before message save. Can be used to modify message contentsforum.saved.topic$topicCalled after topic save. Can be used for logging purposesforum.saved.message$messageCalled after message save. Can be used for logging purposes

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf759286363906df3d391a0e82fc50fd299f7977d891081ed2c80970eb73bab9?d=identicon)[lxzian](/maintainers/lxzian)

---

Top Contributors

[![atrakeur](https://avatars.githubusercontent.com/u/3091077?v=4)](https://github.com/atrakeur "atrakeur (110 commits)")[![ritey](https://avatars.githubusercontent.com/u/588686?v=4)](https://github.com/ritey "ritey (6 commits)")[![ayyobro](https://avatars.githubusercontent.com/u/5631902?v=4)](https://github.com/ayyobro "ayyobro (1 commits)")[![ian1](https://avatars.githubusercontent.com/u/39374803?v=4)](https://github.com/ian1 "ian1 (1 commits)")[![jetwes](https://avatars.githubusercontent.com/u/1346373?v=4)](https://github.com/jetwes "jetwes (1 commits)")[![lxzian](https://avatars.githubusercontent.com/u/3667570?v=4)](https://github.com/lxzian "lxzian (1 commits)")

### Embed Badge

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

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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