openui-forge-php

Integrate PHP and Laravel with OpenUI for generative UI development.

20|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/OthmanAdi/openui-forge --skill openui-forge-php
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openui-forge-php
Source: https://github.com/OthmanAdi/openui-forge/tree/main/.cursor/skills/openui-forge-php
Command: npx skills add https://github.com/OthmanAdi/openui-forge --skill openui-forge-php

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires laravel/framework, guzzlehttp/guzzle, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies integrating a PHP (Laravel 13.x) backend with OpenUI, streamlining the process of building generative UI apps.

Core Features & Use Cases

  • PHP Backend Integration: Facilitates the use of OpenUI with PHP and Laravel 13.x.
  • SSE Stream Forwarding: Directly forwards OpenAI's SSE stream for progressive rendering of UI components.
  • Multi-Provider Support: Supports various LLM providers, including OpenAI, Anthropic, and LangChain.
  • Cross-Platform Compatibility: Works with multiple agent platforms like Claude Code, Cursor, Gemini CLI, and more.

Quick Start

To get started, install the skill and set up the OpenUI backend with Laravel 13.x. Use the provided system prompt generation command and configure your environment variables.

Frequently Asked Questions about openui-forge-php

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a Laravel PHP backend with OpenUI for generative UI apps?

To integrate a Laravel PHP backend with OpenUI, you need PHP 8.3 and Laravel 13.x to handle OpenAI's SSE stream forwarding and support multiple LLM providers for generative UI development.

How does SSE stream forwarding work with OpenAI and Laravel?

SSE stream forwarding in Laravel directly forwards OpenAI's SSE stream to enable progressive rendering of UI components. This mechanism supports various LLM providers including OpenAI, Anthropic, and LangChain.

Do I need PHP 8.3 and Laravel 13.x to use OpenUI for generative UI development?

Yes, PHP 8.3 and Laravel 13.x are required to use this OpenUI integration. You must also configure environment variables for your OpenAI API key and base URL to establish the backend connection.

Can I use generative UI components with multiple LLM providers like Anthropic and LangChain?

Yes, generative UI components support multiple LLM providers including OpenAI, Anthropic, and LangChain. The integration handles SSE stream forwarding across various agent platforms like Claude Code, Cursor, and Gemini CLI.

What's the best way to set up environment variables for OpenAI SSE streaming in Laravel?

The best way to set up OpenAI SSE streaming in Laravel is configuring the OpenAI API key and base URL environment variables. Use the provided system prompt generation command after installing the skill to finalize the setup.