MMOframework
Build a project live ↗
FIG. 06 — developers
Learn to build with MMOFramework.
Guides in order, from a first project to a library of your own. Their code is the code that runs: every sample is tested against the framework.
Where to start
New to the frameworkbeginner
Install the hub, create a project, add pages, an API and a database, deploy it.
Building a real projectintermediate
Users and rights, data, files, events, translations, security: one guide per need.
Extending the frameworkadvanced
Extend its classes, listen to its events, write modules and libraries of your own.
Getting started · beginner
From nothing to a deployed application: install, create a project, its pages, an API, a database, an element, tests, deployment.
-
What MMOFramework is Packages instead of composer, the hub, projects, libraries and modules, and the two modes.
10 min
-
Install the hub PHP, Apache, the clone and its submodules, tools/mmo.php.
15 min
-
Your first project Create a project with one command, understand every file it writes, run it, add a page and its test.
20 min
-
Configuration config.json, dev.json, prod.json and local.json; keys named by class; path aliases.
15 min
-
Pages Folders and index.json, the menu, one template for several pages, parts, and the request.
20 min
-
Your first controller A JSON API: aController, #[APIRoute], the route, the answer, the order of routes.
25 min
-
Entities and a database Entities, mmo.pdo on SQLite, the repository, queries, commits and patches.
30 min
-
Your first .jhs element One file for the markup, the code and the style: an element that lists your API's data and adds to it.
30 min
-
Tests and verify phpunit, requests answered in the test's process, and what verify runs before a change is done.
15 min
-
Deploy mmo.admin: deploy.json, targets, a release, the health check and the rollback.
30 min
-
Capstone: a projects board The whole track again on one real feature: projects by status, with a CSV export.
coming soon
Building applications · intermediate
One guide per need a real project meets, in any order once the first track is done.
-
Routing in depth Parameters, formats, media types, the JSON API answer and OpenAPI.
coming soon
-
Forms and validation Schemas, converters and serialization.
coming soon
-
Events Listening rather than modifying: the document, page and entity events.
coming soon
-
Users and rights mmo.oauth: users, roles, tokens, protecting a route and a page.
coming soon
-
Data in depth Joins, handlers and statements in mmo.pdo; the same queries on MongoDB.
coming soon
-
Files Uploads, storage per client and the trash with mmo.edms.
coming soon
-
Documents in and out Write a PDF and a workbook; read a PDF, a Word document or a workbook as Markdown (md-convert).
20 min
-
Long jobs and scripts Jobs, the command line and the shell.
coming soon
-
Translations I18n, the language files and mmo.php i18n.
coming soon
-
The client in depth Reactive views, the design system, guided tours and the editor.
coming soon
-
One project, several clients Modules, variants and a target per client.
coming soon
-
Security CSP, field encryption, secrets, the audits and the ISO 27001 checks.
coming soon
Extending the framework · advanced
Changing the framework's behaviour without forking it: extending its classes, listening to it, writing modules and libraries.
-
How the framework is put together Shared(), the container and the order packages are loaded in.
coming soon
-
Extend or listen? Subclassing a framework class, listening to an event, or replacing a class by configuration.
coming soon
-
Write a module mmo.php module: a library of one project only.
coming soon
-
Write a library mmo.php new and make: the manifest, the bootstrap, the docs, the demo and the tests.
coming soon
-
Ship elements from a library A library's .jhs elements and styles, added to every theme.
coming soon
-
Document for people and agents Docblocks, @example, docs/mcp and llms.txt.
coming soon
-
Versions and releases Version ranges, a breaking change, the phars.
coming soon
-
Contributing Change tracking, the boards and the ticket flow.
coming soon
Working with AI agents · intermediate
The framework is built for agents: connect one, give it the project's rules, let it check its own work.
-
Connect an agent The framework's MCP server, a project's own, and its introspection commands.
coming soon
-
What a project tells an agent AGENTS.md, CLAUDE.md, .mcp.json and the skills.
coming soon
-
The working loop Ask, let the agent search the documentation, verify, review.
coming soon