- PHP 7 or above
- Laravel 5.4 or above
Install the package directly from the command line using the following command.
composer require "andreaselia/laravel-forum"
Next open up config/app.php
and add the following under the package providers section.
AndreasElia\Forum\ForumServiceProvider::class,
Run the following command to publish the migrations and config file.
php artisan vendor:publish --provider="AndreasElia\Forum\ForumServiceProvider"
Run the following command to migrate Laravel Forum after publishing the assets.
php artisan migrate
After publishing, the forum config file can be found under config/forum.php where you can modify the package configuration.