PHPackages                             thowsenmedia/flattery - 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. thowsenmedia/flattery

ActiveProject[Framework](/categories/framework)

thowsenmedia/flattery
=====================

Simple, extendable Flat File CMS

0.3.0(3y ago)112proprietaryPHP

Since Sep 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/petterthowsen/flattery)[ Packagist](https://packagist.org/packages/thowsenmedia/flattery)[ RSS](/packages/thowsenmedia-flattery/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (4)Versions (6)Used By (0)

Yet another flat file CMS in PHP.

[Flattery Website](https://flattery.thowsenmedia.com)

Beware that Flattery is NOT ready for production. It is not feature-complete and may change drastically at any moment.

At a glance
===========

[](#at-a-glance)

Flattery supports the following features:

- Themes
- Plugins
- Blocks (widgets)
- In-place editing of blocks via included liveeditor plugin
- Pages, as:
    - .txt files
    - .html files
    - or even .php files

Flattery stores all data in YAML.

Architecture
============

[](#architecture)

Flattery creates a singleton of the "CMS" class. It acts as a container for the following subsystems/classes:

- Kernel
- Data
- Request
- Event
- Theme
- PluginManager
- PageManager

calling the flattery() function returns the CMS instance. You can get the data, or request object by doing flattery()-&gt;data or flattery('data'), similarly flattery()-&gt;request or flattery('request').

In addition to the flattery() function, there are helper functions for each of the major singleton classes, such as the data(), event() etc.

File Structure
==============

[](#file-structure)

The file structure is fairly simple:

- /app/data contains the "database", each folder is a category, each file a "table" although these terms are loosely defined. Currently subfolders are not possible.
- /app/pages contains the pages
- /plugins contain plugins
- /themes contain themes
- /vendor is the composer dependencies (see getcomposer.org)
- /public is the default web root for your web server, for security reasons.

The folder structure can be changed to your liking, but must be updated in the bootstrap.php.

There's also a flattery.php file which is the console. To use it, run `php flattery.php`, there will be commands to manage plugins, themes etc.

License
=======

[](#license)

see LICENSE.md

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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 ~0 days

Total

5

Last Release

1343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bfb5286f32cd58890dfeeb52acfbd209f5ea9cd16ab32d27d01e9859d36c9cf?d=identicon)[pelatho](/maintainers/pelatho)

---

Top Contributors

[![petterthowsen](https://avatars.githubusercontent.com/u/60369949?v=4)](https://github.com/petterthowsen "petterthowsen (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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