MMOframework
Why AI Playground Libraries Developers Agency
FR EN
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

Getting started · beginner

From nothing to a deployed application: install, create a project, its pages, an API, a database, an element, tests, deployment.

  1. What MMOFramework is Packages instead of composer, the hub, projects, libraries and modules, and the two modes. 10 min
  2. Install the hub PHP, Apache, the clone and its submodules, tools/mmo.php. 15 min
  3. Your first project Create a project with one command, understand every file it writes, run it, add a page and its test. 20 min
  4. Configuration config.json, dev.json, prod.json and local.json; keys named by class; path aliases. 15 min
  5. Pages Folders and index.json, the menu, one template for several pages, parts, and the request. 20 min
  6. Your first controller A JSON API: aController, #[APIRoute], the route, the answer, the order of routes. 25 min
  7. Entities and a database Entities, mmo.pdo on SQLite, the repository, queries, commits and patches. 30 min
  8. 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
  9. Tests and verify phpunit, requests answered in the test's process, and what verify runs before a change is done. 15 min
  10. Deploy mmo.admin: deploy.json, targets, a release, the health check and the rollback. 30 min
  11. 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.

  1. Routing in depth Parameters, formats, media types, the JSON API answer and OpenAPI. coming soon
  2. Forms and validation Schemas, converters and serialization. coming soon
  3. Events Listening rather than modifying: the document, page and entity events. coming soon
  4. Users and rights mmo.oauth: users, roles, tokens, protecting a route and a page. coming soon
  5. Data in depth Joins, handlers and statements in mmo.pdo; the same queries on MongoDB. coming soon
  6. Files Uploads, storage per client and the trash with mmo.edms. coming soon
  7. 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
  8. Long jobs and scripts Jobs, the command line and the shell. coming soon
  9. Translations I18n, the language files and mmo.php i18n. coming soon
  10. The client in depth Reactive views, the design system, guided tours and the editor. coming soon
  11. One project, several clients Modules, variants and a target per client. coming soon
  12. 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.

  1. How the framework is put together Shared(), the container and the order packages are loaded in. coming soon
  2. Extend or listen? Subclassing a framework class, listening to an event, or replacing a class by configuration. coming soon
  3. Write a module mmo.php module: a library of one project only. coming soon
  4. Write a library mmo.php new and make: the manifest, the bootstrap, the docs, the demo and the tests. coming soon
  5. Ship elements from a library A library's .jhs elements and styles, added to every theme. coming soon
  6. Document for people and agents Docblocks, @example, docs/mcp and llms.txt. coming soon
  7. Versions and releases Version ranges, a breaking change, the phars. coming soon
  8. 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.

  1. Connect an agent The framework's MCP server, a project's own, and its introspection commands. coming soon
  2. What a project tells an agent AGENTS.md, CLAUDE.md, .mcp.json and the skills. coming soon
  3. The working loop Ask, let the agent search the documentation, verify, review. coming soon

Reference and tools