team-nifty-gmbh / flux-erp
Requires
- php: ^8.4
- ext-bcmath: *
- ext-intl: *
- ext-json: *
- ext-pdo: *
- ext-zip: *
- barryvdh/laravel-dompdf: ^3.0
- dompdf/dompdf: ^3.1.0
- kreait/firebase-php: ^8.0
- laragear/two-factor: ^4.0
- laravel-notification-channels/webpush: ^11.0
- laravel/framework: ^13.0
- laravel/reverb: ^1.0.0
- laravel/sanctum: ^4.0
- laravel/scout: ^11.1
- livewire/livewire: ^4.1.2
- meilisearch/meilisearch-php: ^1.9
- nesbot/carbon: ^3.8
- php-http/discovery: ^1.15
- spatie/laravel-activitylog: ^5.0
- spatie/laravel-medialibrary: ^11.18
- spatie/laravel-model-info: ^2.0
- spatie/laravel-model-states: ^2.4
- spatie/laravel-passkeys: ^1.6
- spatie/laravel-permission: ^8.0
- spatie/laravel-query-builder: ^7.0
- spatie/laravel-settings: ^3.4
- spatie/laravel-tags: ^4.12
- spatie/pdf-to-image: ^3.0
- tallstackui/tallstackui: ^3.5
- team-nifty-gmbh/tall-datatables: ^2.4.10
- webklex/laravel-imap: ^6.1
Requires (Dev)
- brianium/paratest: ^7.0
- friendsofphp/php-cs-fixer: ^v3.6
- laravel/pint: ^1.1
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.3
- pestphp/pest: ^4.0.4
- pestphp/pest-plugin-browser: ^4.0.3
- pestphp/pest-plugin-livewire: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0
- phpstan/phpstan: ^2.0
- squizlabs/php_codesniffer: ^4.0
- vlucas/phpdotenv: ^5.5
Suggests
This package is auto-updated.
Last update: 2026-07-15 13:21:04 UTC
README
Flux ERP
Flux ERP is a modern, open-source ERP built on Laravel and Livewire. It ships as a Composer package that you install into a Laravel application.
Important
Flux is a package, not a standalone app. That is why this repository has no
artisan file and no bootstrap/app.php — those belong to the Laravel host
application. You cannot run php artisan … inside this repository directly. Install
it into a fresh Laravel app as shown below.
Requirements
- PHP 8.4 (
bcmath,intl,json,pdo,zip) - MySQL 8 / MariaDB
- Meilisearch — search (Laravel Scout)
- Composer 2
No Node.js or frontend build is needed on the project side. Flux serves its compiled assets straight from the package at runtime.
Installation
# 1. Create a fresh Laravel app composer create-project laravel/laravel flux-app cd flux-app # 2. Require Flux (service provider, migrations, routes and assets auto-register) composer require team-nifty-gmbh/flux-erp # 3. Require the license package (provides the install wizard) composer require team-nifty-gmbh/flux-license # 4. Run the interactive install wizard php artisan flux:install # 5. Link storage for uploaded media php artisan storage:link
Configure your database, Meilisearch and mail credentials in .env before running the
wizard, and remove the default welcome route from routes/web.php (Flux registers its
own).
The php artisan flux:install wizard guides you through the remaining setup
(migrations, roles and permissions, base data, payment types, and so on). If you
prefer to run the steps manually instead, use php artisan migrate and
php artisan init:permissions.
Seeding base data
Add the seeder to database/seeders/DatabaseSeeder.php:
$this->call(\FluxErp\Database\Seeders\FluxSeeder::class);
then run php artisan db:seed.
Serve the app with php artisan serve (or Sail) and log in.
Frontend assets
Assets are compiled inside the package and served through its own /flux/… routes.
The @fluxStyles and @fluxScripts Blade directives inject them — add these to your
<head> and before </body> only if you use a custom layout instead of the shipped
one. Nothing to build or publish.
Realtime (Laravel Reverb)
Flux uses Laravel Reverb for realtime features.
Broadcasting credentials are read from .env at runtime, so no rebuild is required
when they change.
php artisan reverb:start
REVERB_APP_ID=local REVERB_APP_KEY=local REVERB_APP_SECRET=local REVERB_HOST=your.domain.com REVERB_SCHEME=https REVERB_PORT=443
In production run Reverb behind your web server as a reverse proxy so websocket traffic reaches it on port 443.
Publishing package resources (optional)
Only needed to override defaults:
| Tag | Publishes |
|---|---|
flux-config |
config/flux.php |
flux-views |
Blade views into resources/views/vendor/flux |
flux-translations |
Language files |
flux-migrations |
Migrations into database/migrations |
flux-seeders |
Seeders into database/seeders |
flux-docker |
Docker/Sail setup |
php artisan vendor:publish --tag=flux-config
Development
Flux publishes a Docker/Sail setup that runs nginx instead of artisan serve:
php artisan vendor:publish --tag=flux-docker
Run the package test suite (uses Testbench) from the package directory:
composer install
composer test
Documentation
Guides for extending Flux live in docs:
routes, views, widgets,
print views, monitorable jobs,
backend customization.
License
Flux ERP is open-sourced software licensed under the MIT license.