Download the PHP package cryodrift/fw without Composer
On this page you can find all versions of the php package cryodrift/fw. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor cryodrift
Package fw
Short Description Small PHP framework for CLI, SSR, SQLite, and zero-logic templates
License MIT
Package fw
Short Description Small PHP framework for CLI, SSR, SQLite, and zero-logic templates
License MIT
Please rate this library. Is it a good library?
Informations about the package fw
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
- 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
- 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
- Config, Main, Core, Handler
-
basically we run a Handlerchain that is defined in config
common handlers
- Router, FileHandler (see base-config.php)
Quickstart - WARNING remember THIS!
first time setup (dir can be multiple)
- run this once (we dont need to migrate databases,download files everytime)
ENV
-
put keys in the .env file
- run this everytime you change a config.php (regenerates the cached config files for cli and web)
Install packages (runs Cli::install in each App)
- run this everytime you change the schema ()
Commandline
- show routes and help
Download
simple use where you are
create a empty project
Installation
- edit
.envand run command again
Info
index.php (create your own, when not started as project)
- 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 packagecryodrift/projecttpl - run
php index.php /sys install
All versions of fw with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
ext-pdo Version *
ext-fileinfo Version *
ext-intl Version *
ext-mbstring Version *
ext-zlib Version *
ext-dom Version *
ext-libxml Version *
ext-openssl Version *
ext-exif Version *
ext-zip Version *
ext-bcmath Version *
ext-gd Version *
ext-gmp Version *
ext-pdo Version *
ext-fileinfo Version *
ext-intl Version *
ext-mbstring Version *
ext-zlib Version *
ext-dom Version *
ext-libxml Version *
ext-openssl Version *
ext-exif Version *
ext-zip Version *
ext-bcmath Version *
ext-gd Version *
ext-gmp Version *
The package cryodrift/fw contains the following files
Loading the files please wait ...