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(3mo ago)01513MITPHPPHP &gt;=8.4

Since Jan 15Pushed 3mo agoCompare

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

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

40

—

FairBetter than 88% of packages

Maintenance80

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

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

107d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecdd6c6fb232df96deef400795e50ea4f5c57c18416031ff0b1b790673094945?d=identicon)[cryodrift](/maintainers/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/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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