This package allows you to easily add a simple forum to your application whilst also supporting ease of use and expansion.
- Very flexible usage, very easy to expand upon
Install the package directly from the command line using the following command.
composer require "bitporch/laravel-firefly"
Setup your database in your .env
file and run the migrations.
php artisan migrate
Run the following command to publish the migrations and config file.
php artisan vendor:publish --provider="Bitporch\Firefly\FireflyServiceProvider"
Next up you'll need to add the FireflyUser
trait to your User
model.
<?php
namespace App;
use Bitporch\Firefly\Traits\FireflyUser;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use FireflyUser;
}
After publishing, the firefly config file can be found under config/firefly.php
where you can modify the package configuration.