PHPackages                             eghojansu/nutrition - 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. eghojansu/nutrition

AbandonedLibrary[Framework](/categories/framework)

eghojansu/nutrition
===================

Nutrition for fatfree framework

v4.3.1(8y ago)2194MITPHP

Since Feb 8Pushed 8y ago2 watchersCompare

[ Source](https://github.com/eghojansu/nutrition)[ Packagist](https://packagist.org/packages/eghojansu/nutrition)[ Docs](https://github.com/eghojansu/nutrition)[ RSS](/packages/eghojansu-nutrition/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (35)Used By (0)

Nutrition
=========

[](#nutrition)

Add nutrition to [fatfree framework](https://github.com/bcosca/fatfree)

Instalation
-----------

[](#instalation)

```
composer require eghojansu/nutrition

```

Ingredients
-----------

[](#ingredients)

This plugin add some functionality to base framework.

- Security (Authentication and Authorization)
- SQL Connection and Mapper extension
- Template Setup to handle template variables
- Simple FileSystem utility
- Route extension (add missing functionality on fatfree routing)
- Abstract Command, make simple controller being like symfony/command component
- Session Flash
- HTML Utility (Breadcrumb, Pagination)
- Data Validator

Configuration
-------------

[](#configuration)

This plugin add some global configuration.

```
[globals]
; Log file
LOG_FILE = null
ERROR_TEMPLATE = null

[DATABASE]
; database configuration
name = db_fal
username = root
password = null
host = 127.0.0.1
port = null

; Security configuration
[SECURITY]
user_class = null
user_provider = null
password_encoder = null

; Firewalls
[SECURITY.firewals.xxxNamexxx]
path = ^/admin
roles = ROLE_ADMIN
login_route = login_admin

; Role hierarchy
[SECURITY.role_hierarchy]
ROLE_B = ROLE_A
ROLE_C = ROLE_B
```

Documentation
-------------

[](#documentation)

Please refer to source-code-documentation to see detail.

Database/Mapper Name Case Usage
-------------------------------

[](#databasemapper-name-case-usage)

This library developed with PascalCase concept for database and mapper, The mapper's table name will be pluralized. You can change this behaviour by override parent's method.

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~20 days

Recently: every ~1 days

Total

34

Last Release

3087d ago

Major Versions

v0.3.1 → v1.0.02016-02-29

v1.2.0 → v2.0.02016-05-08

v2.0.3 → v3.0.0-beta2016-10-07

v3.1.10 → v4.0.02017-11-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/089e73c4fcb8ed22d1569d8ff60be547ea413e0550266a637ae7ad54b3edfd76?d=identicon)[ekokurniawan](/maintainers/ekokurniawan)

---

Top Contributors

[![eghojansu](https://avatars.githubusercontent.com/u/10484419?v=4)](https://github.com/eghojansu "eghojansu (125 commits)")

---

Tags

phpframeworkvalidationuserformfatfreenutritioneghojansu

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[marwanalsoltany/mighty

The last validation library you will ever need!

591.3k](/packages/marwanalsoltany-mighty)

PHPackages © 2026

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