Gate-driven · Web · Mobile · Cloud

SartajPHP

The event-driven PHP framework that feels like a product studio

Design Front Files visually. Map URLs to Gates. Ship examples, docs, NativeGate, and mobile from one architecture.

Composer ready23+ tutorial chaptersRunnable Gates on this site

Install in one command path

Drop SartajPHP into Composer and open your first Gate.

{
  "require": {
    "sartajphp/sartajphp": "dev-master"
  }
}

Then composer install. SphpDesk · VS Code · GitHub

Architecture you can see

URL → Gate → Page Event → Front File + Master. Clean, SEO-friendly, and easy to teach.

Gates

One reserved word in the URL opens an application entry point with lifecycle events.

Front Files

Design pages in HTML with components and fusion attributes — visual and powerful.

jsServer / AJAX

Push HTML and JS blocks from the Gate without reinventing your transport.

NativeGate

WebSockets, child processes, and cloud-style long-lived apps under SphpServer.

Ecosystem at a glance

Deep where we have docs and demos — Vue and GameSDK coming next.

Front File Power

Masters, holders, components, code blocks.

Mobile + Onsen

MobileGate WebView UIs with Onsen kits.

AISDK

AiGate / AiInfo tooling for agent workflows.
Soon

Vue · GameSDK

Roadmap cards ready for when the kits ship.

Learn by running code

Docs are the book. Examples are the lab. API is the reference.