platypustechnology / magratheaphp2
Magrathea PHP 2
Package info
github.com/PlatypusTechnology/MagratheaPHP2
pkg:composer/platypustechnology/magratheaphp2
Requires
- components/jquery: ^3.6
- firebase/php-jwt: ^6.10||^7.0
- phpmailer/phpmailer: ^6.9.1
- scssphp/scssphp: ^1.12.0
- tedivm/jshrink: ~1.0
- twbs/bootstrap: 5.2.3
This package is auto-updated.
Last update: 2026-08-21 09:17:55 UTC
README
Version 2 of the acclaimed Magrathea PHP Framework — a lightweight PHP MVC framework with a built-in ORM, database abstraction, REST API tooling, authentication, caching, mail, logging, and other utilities needed to build web applications without pulling in a large stack of dependencies.
Installation
composer require platypustechnology/magratheaphp2
Features
- MVC core (
MagratheaPHP,Bootstrap) — routing, controllers, and application bootstrap. - ORM & database layer (
DB,MagratheaModel,MagratheaModelControl) — models, query building, and database control without hand-written SQL for common cases. - REST API tooling (
MagratheaApi,MagratheaApiControl,MagratheaApiAuth) — build and authenticate JSON APIs. - Authentication (
Authentication.php) — session/user auth primitives. - Utilities — caching (
MagratheaCache), mail (MagratheaMail,MagratheaMailSMTP), logging (Logger), debugging (Debugger), compressors, pagination, and a config system (Config,ConfigApp,ConfigFile). - Admin scaffolding (
Admin/) — building blocks for admin panels.
Documentation
Full documentation — class references, method signatures (kept live via PHP Reflection), and narrative usage guides — is available online:
https://www.platypusweb.com.br/magratheaphp2/docs/
The documentation site's source also ships in this repository under docs/
(PHP-rendered; point a web server or php -S at that folder to browse it locally), with its
narrative source files in docs/mds/.
License
MIT