PHPackages                             cryodrift/fw - 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. cryodrift/fw

ActiveLibrary[Framework](/categories/framework)

cryodrift/fw
============

Small PHP framework for CLI, SSR, SQLite, and zero-logic templates

0.1.53(5mo ago)01613MITPHPPHP &gt;=8.4

Since Jan 15Pushed 5mo agoCompare

[ Source](https://github.com/cryodrift/fw)[ Packagist](https://packagist.org/packages/cryodrift/fw)[ RSS](/packages/cryodrift-fw/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (42)Used By (13)

cryodrift - framework
---------------------

[](#cryodrift---framework)

**Small PHP framework for CLI, SSR, SQLite, and zero-logic templates**

cryodrift/fw is a lean PHP framework designed for developers who want full control, minimal abstractions, and a command-line driven workflow. It combines server-side rendering, strict separation of concerns, and powerful SQLite tooling in a small, explicit codebase.

Philosophy
----------

[](#philosophy)

- Predictable, visible control flow
- Identical behavior in CLI and Web
- No logic in templates
- SQLite as a first-class database (with migrations)
- Clear boundaries between layers
- Small, readable codebases

Design Principles
-----------------

[](#design-principles)

- Dependency Injection for everything
- Server-Side Rendering by default
- Minimal JavaScript, no frontend lock-in
- Per-user filesystem and database isolation
- Predictable bootstrap and error handling
- No globals or magic state
- Predictable, visible control flow

CryoDrift is meant to be read, understood, and modified without surprises.

Mainclasses
-----------

[](#mainclasses)

- Config, Main, Core, Handler
- basically we run a Handlerchain that is defined in config

### common handlers

[](#common-handlers)

- Router, FileHandler (see base-config.php)

Quickstart - WARNING remember THIS!
-----------------------------------

[](#quickstart---warning-remember-this)

### first time setup (dir can be multiple)

[](#first-time-setup-dir-can-be-multiple)

- run this once (we dont need to migrate databases,download files everytime)

```
   php vendor/bin/cryodrift.php -echo -sessionuser="you@localhost.lan" /sys install
   php vendor/bin/cryodrift.php /user/cli keygen
```

#### ENV

[](#env)

- put keys in the .env file
- run this everytime you change a config.php (regenerates the cached config files for cli and web)

```
   php vendor/bin/cryodrift.php -echo -sessionuser="you@localhost.lan" /sys install -dir=src -dir=vendor/cryodrift
```

### Install packages (runs Cli::install in each App)

[](#install-packages-runs-cliinstall-in-each-app)

- run this everytime you change the schema ()

```
   php vendor/bin/cryodrift.php -echo -sessionuser="you@localhost.lan" /sys modules -dir=src/yourapp
```

### Commandline

[](#commandline)

- show routes and help

```
   php vendor/bin/cryodrift.php
```

Download
--------

[](#download)

### simple use where you are

[](#simple-use-where-you-are)

```
composer require cryodrift/fw

```

### create a empty project

[](#create-a-empty-project)

```
composer create-project cryodrift/projecttpl yourprojectname

```

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

[](#installation)

```
php vendor/bin/cryodrift.php /sys install

```

- edit `.env` and run command again

Info
----

[](#info)

```
php vendor/bin/cryodrift.php

```

```
php vendor/bin/cryodrift.php /sys vars
php vendor/bin/cryodrift.php /sys env
php vendor/bin/cryodrift.php /sys config

```

index.php (create your own, when not started as project)
--------------------------------------------------------

[](#indexphp-create-your-own-when-not-started-as-project)

```
copy vendor/cryodrift/fw/tool/cryodrift.php index.php

```

- replace autoloader parts with `require 'vendor/autoload.php'`
- change your `Main::$rootdir`
- change your `Config::$....` vars
- create `cfg/` folder for overrides get more information from package `cryodrift/projecttpl`
- run `php index.php /sys install`

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

41

Last Release

153d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/240886628?v=4)[cryodrift](/maintainers/cryodrift)[@cryodrift](https://github.com/cryodrift)

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

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

1.9k39.6M299](/packages/laravel-dusk)[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)
