Fluxon PHP Form Engine. Limitless Possibilities.
A modern, extensible, and production-ready PHP form engine for building forms, APIs, and distributed systems.
Fluxon is a next-generation PHP Form Engine designed for modern architectures:
- Headless applications
- API-first systems
- Microservices & distributed environments
- Frontend-driven UIs (React, Vue, etc.)
It allows you to define forms once and use them everywhere.
- Define forms using PHP arrays, DTOs, or objects
- Automatic schema generation
- Built-in validation support
- Unified schema output
- UI component abstraction
- Multi-channel rendering
- Synchronous execution
- Context-aware processing
- Fully decoupled architecture
- Job dispatching
- Serializable execution context
- Queue transport abstraction (Redis/SQS-ready)
- Official plugins (CSRF, Captcha, Upload, etc.)
- Custom plugin support
- Stable plugin contracts
- Pure validation engine
- API-ready responses
- No UI dependency
- Runtime profiling
- Production diagnostics
- Debug CLI tools
composer require iriven/fluxonuse Iriven\Fluxon\Domain\Form\Form;
$form = new Form('contact', [
'email' => ['type' => 'email'],
'message' => ['type' => 'textarea'],
]);use Iriven\Fluxon\Application\Frontend\FrontendSdk;
$sdk = new FrontendSdk();
$schema = $sdk->build($form);use Iriven\Fluxon\Application\Headless\HeadlessFormProcessor;
$processor = new HeadlessFormProcessor();
$result = $processor->submit($form, [
'email' => 'john@example.com',
'message' => 'Hello'
]);use Iriven\Fluxon\Application\Runtime\AsyncRuntimeDispatcher;
$dispatcher = new AsyncRuntimeDispatcher();
$result = $dispatcher->dispatch(
'submit',
'contact',
['email' => 'john@example.com']
);{
"transport": "queue",
"status": "queued",
"queue_size": 1
}interface OfficialPluginInterface
{
public function name(): string;
public function version(): string;
public function register(PluginContext $context): void;
}- CSRF Protection
- Captcha Integration
- Media Upload
- Audit Trail
- Async Dispatch Enhancements
src/
├── Application/
│ ├── Runtime/
│ ├── Headless/
│ ├── Frontend/
│ ├── Profiling/
│ ├── Diagnostics/
│ ├── Ecosystem/
│ └── Sdk/
├── Domain/
├── Infrastructure/
└── Integration/
php bin/console debug:schema
php bin/console debug:profile
php bin/console debug:diagnostics
php bin/console plugin:list
php bin/console ecosystem:reportvendor/bin/phpunitvendor/bin/phpstan analyse src tests- Async Runtime
- Queue Transport
- Distributed Execution
- Plugin Development
- Advanced SDKs
Fluxon follows Semantic Versioning:
- Major → architecture changes
- Minor → new features
- Patch → fixes and stability
- Fork the repository
- Create a feature branch
- Add tests
- Submit a Pull Request
MIT
Fluxon is a schema-driven platform for building:
- dynamic UIs
- API-driven applications
- distributed systems
- JavaScript SDK (React/Vue)
- Plugin marketplace
- Redis / SQS transport
- Visual form builder
- Distributed runtime engine
- Clean architecture
- Headless-first design
- Async-ready
- Plugin ecosystem
- Production-grade tooling
Fluxon — PHP Form Engine. Limitless Possibilities.



