PHPackages                             alxgarshin/fraym - 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. alxgarshin/fraym

ActiveLibrary[Framework](/categories/framework)

alxgarshin/fraym
================

The Fraym PHP framework

v0.10.2(2w ago)0142↓95.2%MITPHPPHP &gt;=8.4.0CI passing

Since Jan 21Pushed 2w agoCompare

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

READMEChangelogDependencies (24)Versions (78)Used By (0)

Fraym
=====

[](#fraym)

Fraym is a boxed PHP framework for building ERP-style web applications with a minimum of boilerplate. It ships both a PHP backend (the `fraym/fraym` package) and a self-contained JS/CSS frontend runtime — no build step, no Node, no SPA framework required.

Philosophy
----------

[](#philosophy)

Fraym deliberately avoids heavy abstractions. There is **no ORM**, **no template engine**, **no DI container framework**, and **no JS bundler**. Instead it gives you a small, explicit core you can read end to end:

- Data access is a thin, fully parameterized query layer over PDO.
- HTML is produced by plain PHP string building plus an output-escaping helper.
- The frontend is a ~5k-line vanilla-JS runtime (`_()` wrapper, SPA navigation, lazy module loading) served as static assets.
- A 40-line service locator (`Container`) plus proxy constants (`DB`, `CACHE`, `CURRENT_USER`) make the core testable and worker-friendly without a framework.

If you want convention-driven CRUD modules, first-class MySQL/PostgreSQL support, and a frontend that works without a toolchain, Fraym fits. If you want a Symfony/Laravel-style ecosystem with an ORM and Twig, it does not.

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

[](#requirements)

- **PHP 8.4**
- **PostgreSQL 13+** or **MySQL 5.7+**

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

[](#installation)

```
composer require alxgarshin/fraym
./vendor/bin/console install
```

Configure the database connection in `.env.dev`, then run the initial migration:

```
./vendor/bin/console database:migrate --env=dev
```

Your project is ready to go.

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

[](#documentation)

- [Getting started](docs/getting-started.md) — a CRUD module in five minutes.
- [Architecture](docs/architecture.md) — CMSVC, bootstrap, container, entities, elements.
- [Security](docs/security.md) — auth model, CSRF, SQL safety, output escaping.
- [Frontend contract](docs/frontend-contract.md) — the PHP ↔ JS runtime boundary.
- [Changelog](CHANGELOG.md)

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance97

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Recently: every ~25 days

Total

77

Last Release

16d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c3d8605e838bebdad3a1f8050506d9fff4aa11f54c2d932c1040af3cf8d70212?d=identicon)[alxgarshin](/maintainers/alxgarshin)

---

Top Contributors

[![alxgarshin](https://avatars.githubusercontent.com/u/16211242?v=4)](https://github.com/alxgarshin "alxgarshin (138 commits)")

---

Tags

frameworkdev

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[getkirby/cms

The Kirby core

1.5k606.6k541](/packages/getkirby-cms)[jelix/jelix

Jelix PHP framework

84118.0k6](/packages/jelix-jelix)[doppar/framework

The Doppar Framework

4112.6k14](/packages/doppar-framework)[sproutcms/cms

Enterprise content management and framework

243.0k4](/packages/sproutcms-cms)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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