PHPackages                             mmf/mmf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. mmf/mmf

ActiveProject[Framework](/categories/framework)

mmf/mmf
=======

The Mamasu Framework

0.0.13(10y ago)038ApacheConfPHP &gt;=5.4.0

Since Oct 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mamasu/mama-project)[ Packagist](https://packagist.org/packages/mmf/mmf)[ RSS](/packages/mmf-mmf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (13)Used By (0)

README
======

[](#readme)

What is Mamaframework?
----------------------

[](#what-is-mamaframework)

Mamaframework is a PHP 5.5 full-stack web framework. It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP.

Mamaframework can be used to develop all kind of websites, from your personal blog to high traffic ones.

Requirements
------------

[](#requirements)

Mamaframework is only supported on PHP 5.5 and up. Mamaframework needs a Database to manage Access Control List. This Database must be MySQL. Remmember to have the mod rewritte enable.

Installation
------------

[](#installation)

### 1. Install composer

[](#1-install-composer)

If you don't have composer installed in your system, install it by following this

```
php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php

php -r "if (hash_file('SHA384', 'composer-setup.php') === 'a52be7b8724e47499b039d53415953cc3d5b459b9d9c0308301f867921c19efc623b81dfef8fc2be194a5cf56945d223') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

php composer-setup.php

php -r "unlink('composer-setup.php');"

mv composer.phar /usr/local/bin/composer
```

### 2. Install project

[](#2-install-project)

#### Usage:

[](#usage)

```
composer create-project  mmf/mmf [Directory name]
```

#### Example:

[](#example)

```
composer create-project  mmf/mmf mmf

```

### 3. Install database

[](#3-install-database)

Use included database dump in project root DumpTestDB

### 4. Configure apache

[](#4-configure-apache)

The document root need to point to public folder

At this point the mamaframework may be installed

### Possible error messages

[](#possible-error-messages)

Error textPossible solution`{"success":false,"responseData":{"errorCode":1600,"errorMessage":"The URL not match with any of our defined routes"}}`Go to `config/routing.ini` to check the declared variable` {"success":false,"responseData":{"errorCode":0,"errorMessage":"Error trying to connect to db"}}`Go to `config/config.ini` to check if the group db\_default is correctly configure` {"success":false,"responseData":{"errorCode":1500,"errorMessage":"User not allow to access"}}`Check in the database `role` , `permission` and `role_permission` + `config/routing.ini` if the configuration is correctGetting Started
---------------

[](#getting-started)

- Representation of directory structre with short description of what includes:

`+-- _src  (bussines logic)|   +-- _app (App logic)|   +-- _mmf (Framework)|   +-- _translate (PHP translation files)|   +-- .htaccess|   +-- config.ini (configuration of each Mmf module.|   +-- error_page.html (Estandard error page, when framework is not available to load it's own error page)|   +-- index.php (File which instantiates autoloader, frontcontroller, comunicator and config)   |   +-- routing.ini (File, that conatins, controller, action and parser of response and request)+-- _tests|   +-- _src|   |   +--_endtoend (basic tests to check if all is well configured)|   |   +--_examples_config (examples of config and routing files that we could use in our projects)|   |   +--include.common.functions.php (functions to simulated the curl request)|   |   +--include.php (file with all the major classes instantiated)|   |   +--mamaframework.sql (initial script to instantiate the database)+-- _docu (documentation generated with APIGen)+-- README.md`Documentation
-------------

[](#documentation)

Please read the documentation file of core functionalities, present in (Google drive &gt; Mamasú Internal &gt; Mamaframework &gt; Documentation &gt; Core Functionalitites) and class diagram stored in (Google drive &gt; Mamasú Internal &gt; Mamaframework &gt; Documentation &gt; class diagram &gt; Mmframework).

Config file
-----------

[](#config-file)

Config file is written using the .ini syntaxis. Basically is grouped by modules

```
;Mamaframework Core and Application Libs
[app]

;Mamaframework application and plugin structure
[mmfStructure]

;Mamaframework plugin element with core classes
[plugin]

; Not working
[cache]

;Database directory
[db]

;Event directory and event main class
[event]

[healthChecker]

;Input/Ouput managed classes
[io]

;Log path
[log]

;Routing path with routing config path and main routing resoulver class
[routing]

;Session path and session manager
[session]

;ACL path and ACL manager
[acl]

;Authentication path and auth manager (MmfAuthAPI, MmfAuthBasic, MmfAuth, etc)
[auth]

;Language path and language manager classes
[language]

;MVC path, classes, script and css included by default.
[mvc]

;DB parameters all the database configurations
;Configuration of default database
[db_default]
```

### Controllers

[](#controllers)

the config file bla bla

### Models

[](#models)

the config file bla bla

### Views

[](#views)

the config file bla bla

Contributing
------------

[](#contributing)

Mamaframework is a private Mamasu project.

Running Mamaframework Tests
---------------------------

[](#running-mamaframework-tests)

- Install phpunit from  page.
- Open the terminal, go to project directory and execute: phpunit --color tests/src/endtoend/ , if all goes right, a green message containing 'OK' will apearing.
- If wrong message apears with the message 'db connection error', make sure that config.ini parameters of database are correct and server is working fine.

FAQ
---

[](#faq)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~16 days

Recently: every ~43 days

Total

12

Last Release

3662d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/075f6628cc92b1bbda3c44b761659172ade0fb757de32d5b5265c7de9f205e42?d=identicon)[casahuga](/maintainers/casahuga)

---

Top Contributors

[![xcasahuga](https://avatars.githubusercontent.com/u/8807849?v=4)](https://github.com/xcasahuga "xcasahuga (6 commits)")[![casahuga](https://avatars.githubusercontent.com/u/12170527?v=4)](https://github.com/casahuga "casahuga (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mmf-mmf/health.svg)

```
[![Health](https://phpackages.com/badges/mmf-mmf/health.svg)](https://phpackages.com/packages/mmf-mmf)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
