jasonbdaro/laravel-forum-frontend 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jasonbdaro/laravel-forum-frontend

最新稳定版本:1.1.10

Composer 安装命令:

composer require jasonbdaro/laravel-forum-frontend

包简介

A frontend for riari/laravel-forum providing views written with Bootstrap 3

README 文档

README

This package provides a conventional front-end for riari/laravel-forum 3.0 and above. It should be installed along with the forum unless a custom or alternative front-end implementation is required.

Complete documentation is available on teamteatime.net.

Installation

Step 1: Install the package

Install the package via composer:

composer require riari/laravel-forum-frontend:~1.0

Then add the service provider to your config/app.php:

Riari\Forum\Frontend\ForumFrontendServiceProvider::class,

Step 2: Publish the package files

Run the vendor:publish command to publish the package config and views to your app's directories:

php artisan vendor:publish

Additional steps

Once the package is installed, provided you are logged in, you can visit /forum and start defining your category hierarchy using the "Create category" and "Category actions" panels:

Category management example

Configuration

The forum.frontend config file defines the controllers used by the package as well as a closure used to process alert messages to be displayed to the user.

Views

Views are published to resources/views/vendor/forum. The simplest way to integrate the forum with your existing design is to edit the master view, remove undesired markup and make it extend your application's main layout with @extends. Note that the master view does pull in jQuery and Bootstrap 3 by default, and includes some jQuery-based JavaScript to support some of the forum frontend features. You may wish to move it elsewhere or re-write it in your own way.

Events

The package includes a variety of events for user interactions such as viewing threads. Refer to src/Events for a full list.

统计信息

  • 总下载量: 7.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 30
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-06