fluxbb-ru / laravel-fluxbb-connect
The Laravel Framework.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 28
Type:project
Requires
- php: ^7.2
- fideloper/proxy: ^4.0
- laravel/framework: ^6.2
- laravel/tinker: ^2.0
- laravel/ui: ^1.1
Requires (Dev)
- facade/ignition: ^1.4
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^3.0
- phpunit/phpunit: ^8.0
- dev-master
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/composer/league/flysystem-1.1.4
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/composer/laravel/framework-6.18.43
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/axios-0.21.1
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/composer/symfony/http-kernel-4.4.13
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/npm_and_yarn/acorn-6.4.1
- dev-dependabot/composer/symfony/http-foundation-4.4.7
This package is auto-updated.
Last update: 2024-12-05 10:20:25 UTC
README
Set of classes and demo project to extend FluxBB forum in Laravel way. This project owner is not affiliated with FluxBB and its respective maintainers.
Installation
First, create new project on empty directory:
$ composer create-project -s dev fluxbb-ru/laravel-fluxbb-connect . $ composer install $ npm i && npm run dev
Then you have two options depending on your current forum state:
- connect to existing forum database
- create new one via migrations and seeder
If you're conecting to existing DB
Look at the form config.php and copy DB credentials to .env of you Laravel project.
To simulate that existing tables have been created by Laravel, you need to create migrations
table.
I made special command for it:
$ php artisan fluxbb:fake-migrate
It will create the table and fill it by rows.
If you'd like to create new database
$ php artisan migrate --seed
Usage
The App\Models
namespace contains 17 model classes of FluxBB.
All required relationships are set as well.
You can use standard Laravel authentication and guards. Users and all forum data will be shared
with FluxBB forum.
NOTE:
Laravel and FluxBB work with auth cookie differently.
So, the given user can be logged in in terms of Laravel and in the same time not logged in in terms
of FluxBB. I'm going to offer mod for the forum to utilize common services.
In the demo app I will provide login and register actions and functional copy of the main forum page.
License
The Laravel framework and Laravel FluxBB Connect are open-sourced software licensed under the MIT license.