JX

JamilX

Framework Documentation

Next: CLI

Apps & Modules

Ship modular features with app packages and module scaffolding.

Apps live in Apps/ and load at runtime from the database. Modules scaffold a Service, Action, Container, and Prototype in a single command.

Apps

Each app has its own folder and conf.json definition. Installed apps are read from the apps table and loaded during boot.

Apps/MyApp/conf.json
  • Install the app so it appears in the apps table.
  • Bootstrapping includes Apps/<app>/<app>.php for each installed entry.
  • App scaffolding creates folders like classes/, services/, containers/, and assets/.

Modules

Generate a full feature stack with one CLI command.

php jamilx make:module Blog

The generator creates a Service, Action, Container, and Prototype under services/, actions/, containers/<name>/index.php, and prototypes/.

Create a new app

Use the built-in generator to scaffold a new app package.

php jamilx create:app MyApp

AppDev Code Editor (v1.1)

The appdev service now includes an integrated editor via ?serve=appdev&action=editor and an API route at ?serve=appdev&action=editor-api. It supports scoped browsing (global/app), CRUD file operations, CSRF validation, extension allowlists, and admin-only access controls.