定制 neuedaten/freezed 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

neuedaten/freezed

最新稳定版本:v0.1.0-beta

Composer 安装命令:

composer require neuedaten/freezed

包简介

Freezed is a static site generator powered by the TYPO3 Fluid template engine.

README 文档

README

❄️ Freezed

A static site generator powered by the TYPO3 Fluid template engine.

Templates in, static files out. No database, no runtime, no surprises.

Beta License: GPL-2.0-or-later PHP ≥ 8.1

What is Freezed?

Freezed renders a folder of content and one or more themes into a plain static website using Fluid — the same templating engine that powers TYPO3 CMS. You write layouts, partials, sections and (optionally) custom ViewHelpers, and Freezed compiles everything to static HTML and assets in a public/ directory you can host anywhere.

content/ + themes/   ──►   freezed build   ──►   public/  (static HTML + assets)

Features

  • Fluid templating — layouts, partials, sections and ViewHelpers.
  • Stackable themes — drop themes into themes/; they layer and override cleanly.
  • Content as folders — every page is a folder with a template and a variables.php.
  • Asset pipeline — reference CSS/JS/images via the resource ViewHelper.
  • Static files — anything in static/ is copied verbatim into the build.
  • Build hooks — run shell commands before and after a build.
  • Zero runtime — the output is just files; host it on any static host or CDN.

Quick start

Start a new site (recommended)

Use the starter skeleton, which scaffolds a working site for you:

composer create-project neuedaten/freezed-skeleton my-site
cd my-site
./vendor/bin/freezed build
# open public/index.html

The skeleton also ships a Docker dev environment (docker compose up --build). See neuedaten/freezed-skeleton.

Add Freezed to an existing project

composer require neuedaten/freezed
./vendor/bin/freezed install   # scaffold content/, themes/, config
./vendor/bin/freezed build     # render into public/

Project structure

A Freezed site is just a handful of folders:

my-site/
├─ content/              # your pages, grouped by content type
│  └─ pages/
│     └─ home/
│        ├─ index.html   # a Fluid template
│        └─ variables.php # variables for this page
├─ themes/               # one or more stackable themes
│  └─ 00_default/
│     ├─ templates/{layouts,partials,templates}/
│     ├─ assets/{css,js,images}/
│     └─ static/
├─ static/               # files copied verbatim into the build
├─ public/               # generated output (git-ignored)
└─ freezed.config.php    # content types, default variables, build hooks

Documentation

Guide What it covers
Getting started Install, first build, the dev loop
Installation Skeleton, library, requirements
Concepts The build pipeline and core ideas
Content & pages Writing pages, variables, content types
Themes Layouts, partials, assets, the resource ViewHelper
Configuration freezed.config.php reference
CLI The freezed command
Docker The containerised dev environment (ships with the skeleton)
Deployment Hosting the static output

Requirements

  • PHP 8.1 or newer
  • Composer
  • PHP extensions: mbstring, dom (both ship with most PHP builds)

This repository

This is the engine — the freezed CLI and rendering pipeline, published as the Composer package neuedaten/freezed.

.
├─ bin/freezed            # CLI entry point
├─ Classes/               # PSR-4: Neuedaten\Freezed\
│  ├─ Commands/           # install / compile commands
│  ├─ Domain/             # models + repositories (content, themes, resources)
│  ├─ Services/           # config, compile, render, file, static, scripts, log
│  └─ ViewHelpers/        # ResourceViewHelper
├─ assets/                # default theme + example content + default config
├─ includes/config.php    # built-in path defaults
└─ docs/                  # documentation

A ready-to-build starter project lives in the companion repo neuedaten/freezed-skeleton.

Status

Freezed is in beta. The build pipeline is stable; the API may still change before 1.0. Issues and feedback are very welcome.

License

GPL-2.0-or-later © Bastian Schwabe / neuedaten

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固