openui-forge-php - OpenUI Generative UI with Laravel PHP Backend
Build generative UI apps with a React frontend and Laravel backend that forwards OpenAI's SSE stream verbatim via response()->stream().
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create React frontend with OpenUI
- generate system prompt via CLI
- create Laravel chat controller
- stream OpenAI SSE responses
- configure CORS settings
- set up Laravel API routes
Inputs
- OpenAI API key
- React component library
- System prompt file
- Laravel application
Outputs
- Laravel backend with streaming endpoint
- React frontend with chat UI
- System prompt file
- SSE streaming response
Requirements
- Node.js >= 22 (24 LTS recommended)
- React >= 18.3.1
- PHP >= 8.3
- Laravel 13.x
- Composer
- OPENAI_API_KEY environment variable
