PHPackages                             globus-studio/fatfree-core - 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. globus-studio/fatfree-core

ActiveLibrary[Framework](/categories/framework)

globus-studio/fatfree-core
==========================

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!

3.9.2.3(1mo ago)3168↓50%11GPL-3.0PHPPHP &gt;=7.4

Since Apr 8Pushed 1mo ago15 watchersCompare

[ Source](https://github.com/MADEVAL/fat-free-framework)[ Packagist](https://packagist.org/packages/globus-studio/fatfree-core)[ Docs](https://fatfreeframework.com/)[ RSS](/packages/globus-studio-fatfree-core/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

fatfree-core (Modern)
=====================

[](#fatfree-core-modern)

Fork of [Fat-Free Framework](https://fatfreeframework.com/) core, kept compatible with PHP 8.x including 8.5.

For the upstream vanilla version use [bcosca/fatfree-core](https://github.com/bcosca/fatfree-core).

Differences from upstream
-------------------------

[](#differences-from-upstream)

### PHP 8.5 compatibility

[](#php-85-compatibility)

ChangeReason`Preview::c()`: dropped `setlocale(LC_NUMERIC, 0)`PHP 8 made `int` second arg a `TypeError`. PHP 8 path is locale-independent; PHP 7 fallback uses string `'0'`.`Web::_curl()`: version check for `CURLOPT_PROTOCOLS`libcurl 7.85+ deprecated `CURLPROTO_*` masks. Uses `CURLOPT_PROTOCOLS_STR` when available, falls back otherwise.Removed `web/pingback.php`Depended on `xmlrpc_*` functions removed in PHP 8.0+. The `xmlrpc` extension is no longer maintained.Removed cache backends `xcache`, `wincache`, `memcache`All dead on modern PHP. Remaining: `apc`/`apcu`, `memcached`, `redis`, `folder`.### Tests

[](#tests)

- [tests/](tests/) with PHPUnit 11, split into `unit` and `integration`.
- DSNs configured via `` in [phpunit.xml](phpunit.xml).
- MySQL, PostgreSQL, MongoDB, SQLite covered. Integration tests skip cleanly if a service is unreachable.
- Tests excluded from production autoload via `exclude-from-classmap`, loaded via PSR-4 `Tests\\`.

### Dependencies

[](#dependencies)

- Minimum PHP raised from 7.2 to 7.4.
- `mongodb/mongodb ^2.2` added to `require-dev` for `\DB\Mongo` (uses `MongoDB\Client`).

### Backward compatibility

[](#backward-compatibility)

Public API unchanged. Application code keeps working.

Install
-------

[](#install)

```
composer require globus-studio/fatfree-core
```

```
require 'vendor/autoload.php';
$f3 = \Base::instance();
```

Without Composer:

```
$f3 = require 'lib/base.php';
```

URL rewrite required, see [routing-engine](https://fatfreeframework.com/3.6/routing-engine#DynamicWebSites).

Run tests
---------

[](#run-tests)

```
composer install
vendor/bin/phpunit
vendor/bin/phpunit --testsuite unit
vendor/bin/phpunit --testsuite integration
```

DB connection vars: `DB_MYSQL_DSN`, `DB_MYSQL_USER`, `DB_MYSQL_PASS`, `DB_MYSQL_NAME`, same prefix for `DB_PGSQL_*`, plus `DB_MONGO_URI` and `DB_MONGO_NAME`.

Built on this core
------------------

[](#built-on-this-core)

**[Atomic Framework](https://github.com/MADEVAL/Atomic-Framework)** is a full-featured PHP framework built on top of this core. It adds a structured application layer with: authentication (bcrypt, OAuth 2.0, Telegram, rate limiting, impersonation), MySQL/Redis/Memcached via `ConnectionManager`, timestamp-based migrations, Redis/DB queue with retry and monitoring, POSIX cron scheduler, multi-driver cache with cascade fallback, parameterized middleware, hierarchical event dispatcher, WordPress-compatible hook/filter layer, SMTP mailer with DNS deliverability scoring, i18n with URL prefixing, 45+ CLI commands, NaCl/libsodium encryption, WebSocket server (Workerman + Redis pub/sub), and a plugin lifecycle system. Requires PHP &gt;= 8.1.

**[Atomic-Framework-Application](https://github.com/MADEVAL/Atomic-Framework-Application)** is the official application skeleton/template for Atomic Framework.

Links
-----

[](#links)

- Upstream demo:
- User Guide:
- API Reference:
- License: GPL-3.0, see [COPYING](COPYING)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance93

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 63.4% 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 ~45 days

Total

2

Last Release

34d ago

PHP version history (2 changes)3.9.2.1PHP &gt;=7.2

3.9.2.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/285d32ac89643c66426e75f97a13c5eee2d8e8b809efd2d6fdde4665837b7b63?d=identicon)[Yevhen Leonidov](/maintainers/Yevhen%20Leonidov)

---

Top Contributors

[![bcosca](https://avatars.githubusercontent.com/u/199570?v=4)](https://github.com/bcosca "bcosca (1150 commits)")[![ikkez](https://avatars.githubusercontent.com/u/1177647?v=4)](https://github.com/ikkez "ikkez (372 commits)")[![xfra35](https://avatars.githubusercontent.com/u/1838531?v=4)](https://github.com/xfra35 "xfra35 (169 commits)")[![Rayne](https://avatars.githubusercontent.com/u/1098733?v=4)](https://github.com/Rayne "Rayne (25 commits)")[![nanawel](https://avatars.githubusercontent.com/u/4866761?v=4)](https://github.com/nanawel "nanawel (12 commits)")[![MADEVAL](https://avatars.githubusercontent.com/u/10908537?v=4)](https://github.com/MADEVAL "MADEVAL (11 commits)")[![sgpinkus](https://avatars.githubusercontent.com/u/3386865?v=4)](https://github.com/sgpinkus "sgpinkus (8 commits)")[![emanwebdev](https://avatars.githubusercontent.com/u/1505372?v=4)](https://github.com/emanwebdev "emanwebdev (6 commits)")[![sorbits](https://avatars.githubusercontent.com/u/11901?v=4)](https://github.com/sorbits "sorbits (6 commits)")[![ptdev](https://avatars.githubusercontent.com/u/1280528?v=4)](https://github.com/ptdev "ptdev (6 commits)")[![YoeriNijs](https://avatars.githubusercontent.com/u/4572798?v=4)](https://github.com/YoeriNijs "YoeriNijs (5 commits)")[![sn0opy](https://avatars.githubusercontent.com/u/49074?v=4)](https://github.com/sn0opy "sn0opy (5 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (4 commits)")[![n0nag0n](https://avatars.githubusercontent.com/u/2322095?v=4)](https://github.com/n0nag0n "n0nag0n (4 commits)")[![Alanaktion](https://avatars.githubusercontent.com/u/236490?v=4)](https://github.com/Alanaktion "Alanaktion (3 commits)")[![MINORITYmaN](https://avatars.githubusercontent.com/u/2734697?v=4)](https://github.com/MINORITYmaN "MINORITYmaN (2 commits)")[![rippak](https://avatars.githubusercontent.com/u/2509491?v=4)](https://github.com/rippak "rippak (2 commits)")[![eschultz](https://avatars.githubusercontent.com/u/390064?v=4)](https://github.com/eschultz "eschultz (2 commits)")[![sgtlambda](https://avatars.githubusercontent.com/u/5894809?v=4)](https://github.com/sgtlambda "sgtlambda (2 commits)")[![Vladzimir](https://avatars.githubusercontent.com/u/5346225?v=4)](https://github.com/Vladzimir "Vladzimir (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/globus-studio-fatfree-core/health.svg)

```
[![Health](https://phpackages.com/badges/globus-studio-fatfree-core/health.svg)](https://phpackages.com/packages/globus-studio-fatfree-core)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M831](/packages/laravel-socialite)[laravel/dusk

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

1.9k38.6M289](/packages/laravel-dusk)[pinguo/php-msf

Pinguo Micro Service Framework For PHP

1.7k4.2k](/packages/pinguo-php-msf)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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