2017 © Pedro Peláez
 

library laraboard

Laravel powered forums.

image

christhompsontldr/laraboard

Laravel powered forums.

  • Wednesday, November 15, 2017
  • by ChrisThompsonTLDR
  • Repository
  • 2 Watchers
  • 10 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Laraboard

Laraboard attempts to provide an easy to use, feature rich, Laravel powered forum package., (*1)

It is currently under heavy development and not recommended for production environments., (*2)

Installation

Composer

Require this package with composer:, (*3)

composer require christhompsontldr/laraboard

Service Provider

After updating composer, add the ServiceProvider to the providers array in config/app.php, (*4)

Laravel 5.x:

Christhompsontldr\Laraboard\ServiceProvider::class,

Config

Now move the config files from the package into your application, (*5)

php artisan vendor:publish

This will create config/laraboard.php and config/laratrust.php. If you want to modify table prefixes or other information, now is the time to do it., (*6)

Setup

The next command will create migrations, create the Role and Permission models and add traits to your application's User model., (*7)

php artisan laraboard:setup

Laratrust Already Installed?

If you already have Laratrust installed, you have the option to not set it up now, (*8)

php artisan laraboard:setup --no-laratrust

Want to create migrations before running setup?

This will allow you to create the migrations only. You can then modify them. Run this before the setup command., (*9)

php artisan laraboard:migrations

Migrate

Run the migrations, (*10)

php artisan migrate

Role

If you have not created the role found in the laraboard.user.admin_role, create it now and associate it with a user., (*11)

Design

Laravel blade stacks are utilized to include required JS and CSS., (*12)

Please include this in the <head> of your main layout:, (*13)

@stack('styles')

and this above </body>, (*14)

@stack('scripts')

Dependencies

Auth

Laraboard utilizes Laravel's built in Authentication and Authorization systems., (*15)

CSS/DOM

Laraboard uses Bootstrap for styling and DOM structure., (*16)

HTML & Forms

The Laravel Collective package is utilizes for building HTML and forms. If you aren't already using it, no worries, Laraboard will install it., (*17)

The Versions