vientodigital/laravel-forum

A Laravel Forum Package

4.0.0 2022-05-07 01:35 UTC

This package is auto-updated.

Last update: 2024-05-07 06:13:31 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

An easy to integrate forum to your laravel project. Just customize views, migrations routes and you are done.

Installation

You can install the package via composer:

composer require vientodigital/laravel-forum

You could publish migrations, views & config

php artisan vendor:publish --provider="Vientodigital\LaravelForum\LaravelForumServiceProvider"

Configuration

//config/laravel-forum.php

/*
 * Customize table table names to your needs
 */
return [
    'table_names' => [
        'settings' => 'settings',
    ]
];

Usage

//routes/web.php

use Vientodigital\LaravelForum\LaravelForumFacade as LaravelForum;

Route::middleware(['auth'])->prefix('forum')->group(function () {
    LaravelForum::routes();
});
//routes/api.php
use Vientodigital\LaravelForum\LaravelForumFacade as LaravelForum;

Route::middleware(['auth'])->prefix('forum')->group(function () {
    LaravelForum::routes();
});

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email victoryoalli@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.