MagratheaPHP2
MagratheaPHP2

MagratheaPHP2 Documentation

A full PHP framework for building APIs, web applications, and admin panels — ORM, fluent query builder, JWT-secured REST framework, and a pluggable admin panel. This reference is generated live from the source via reflection, so method signatures never drift out of date.

Quick start

Drop this in your project's public entry point:

<?php

die; // remove this line once configuration below is correct for your environment

require "../vendor/autoload.php";

Magrathea2\MagratheaPHP::Instance()
    ->AppPath(realpath(dirname(__FILE__)))
    ->Dev()
    ->Load();
Magrathea2\Bootstrap\Start::Instance()->Load();

See the Getting Started guide for the full walkthrough, or grab skill.md to hand this framework's conventions to an AI assistant.