Repolode
Team-Tea-Time

Team-Tea-Time/laravel-forum

A slim forum package for Laravel that adds threads, posts and categories to an existing Laravel app with minimal setup.

Stars
651
Forks
173
Open issues
4
Last commit
5 days ago

What is it?

Laravel Forum is a PHP package that adds forum functionality to a Laravel application. It provides categories, threads, posts and related forum features, and is designed to be integrated into an existing project rather than run as a standalone system.

Installation is done through Composer, followed by publishing the package's config, translations and migrations, then running migrations. A UI preset is installed with an Artisan command; the default preset, livewire-tailwind, uses Livewire and Tailwind. Configuration files control forum behaviour and how the package connects to your user model, including which attribute is used as the display name.

The package ships with translations for 15 languages, including Chinese, and includes a command to seed sample categories, threads, posts and a user for testing. Versions are tied to specific Laravel and PHP releases, with Laravel 13 requiring PHP 8.3 or newer.

Key features

  • 01Adds categories, threads and posts to a Laravel application.
  • 02Installs via Composer and Artisan commands with package discovery.
  • 03Provides UI presets, including a Livewire and Tailwind preset.
  • 04Ships translations for 15 languages, including Chinese.
  • 05Includes a command to seed sample forum data.

Use cases

  • Adding a community discussion board to an existing Laravel website.
  • Building a support or Q&A forum inside a Laravel-based product.
  • Prototyping forum features with seeded sample data.

Quick start

  1. 1

    Install the package via Composer

    composer require riari/laravel-forum:^8.0
  2. 2

    Publish the package config, translations and migrations

    php artisan vendor:publish
  3. 3

    Run the database migrations

    php artisan migrate
  4. 4

    Install a UI preset, for example livewire-tailwind

    php artisan forum:preset-install livewire-tailwind

Things to know

  • Requires Laravel 12 or 13 and PHP 8.2 or newer, so older Laravel apps are not supported.
  • The default UI preset needs Livewire and other front-end dependencies.
  • Older package versions are no longer maintained.

Topics

FAQ

What is laravel-forum?
A slim forum package for Laravel that adds threads, posts and categories to an existing Laravel app with minimal setup. Laravel Forum is a PHP package that adds forum functionality to a Laravel application. It provides categories, threads, posts and related forum features, and is designed to be integrated into an existing project rather than run as a standalone system.
Is laravel-forum free to use? What license does it have?
laravel-forum is open source under the MIT license. Check the license terms before using it in commercial products.
Is laravel-forum still maintained?
Actively maintained. The last commit to laravel-forum was on Nov 2, 2026.
What can I use laravel-forum for?
Adding a community discussion board to an existing Laravel website. Building a support or Q&A forum inside a Laravel-based product. Prototyping forum features with seeded sample data.
How do I install laravel-forum?
Install the package via Composer: composer require riari/laravel-forum:^8.0 Publish the package config, translations and migrations: php artisan vendor:publish Run the database migrations: php artisan migrate Install a UI preset, for example livewire-tailwind: php artisan forum:preset-install livewire-tailwind
Where can I get laravel-forum?
The source code and installation instructions are on GitHub: https://github.com/Team-Tea-Time/laravel-forum

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects