PHP code example of ozgurince / simpleforum

1. Go to this page and download the library: Download ozgurince/simpleforum library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ozgurince / simpleforum example snippets

sh
php artisan migrate

php artisan db:seed --class=Ozgurince\Simpleforum\Seeds\RolesTableSeeder 
                                                                          
php artisan db:seed --class=Ozgurince\Simpleforum\Seeds\UsersTableSeeder
sh
php artisan vendor:publish --tag=public --force
sh
'admin' => \Ozgurince\Simpleforum\Middleware\AdminMiddleware::class,