Since 2005 · Gate-driven · Web · Mobile · Cloud

SartajPHP

SartajPHP is the power of apps since 2005

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

Since 2005Composer ready28 tutorial chaptersRunnable Gates

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.

Ecosystem at a glance

Docs, demos, React/Vue clients, games, and mobile — built on the same Gate architecture since 2005.

React · Vue clients

Shared sphp-client.js calling the same Gates from Vite SPAs.

Game components

World / Actor / Player on Babylon.js with runnable demos.

Learn by running code

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