PHPackages                             twent/ssg - 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. [Templating &amp; Views](/categories/templating)
4. /
5. twent/ssg

ActiveProject[Templating &amp; Views](/categories/templating)

twent/ssg
=========

Simplest Static Site Generator (SSG)

0.0.1(2y ago)03GPL-3.0-onlyPHPPHP &gt;=7.4

Since Jul 29Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

SSG (Static Site Generator)
---------------------------

[](#ssg-static-site-generator)

Simplest SSG for your sites using **Blade** &amp; **Vite**.

### Features:

[](#features)

1. Generation from **JSON files**
2. **Blade** template engine from Laravel
3. **Vite** CSS &amp; JS compiler
4. **Sharing custom data** between pages

### Requirements

[](#requirements)

- PHP 7.4 or higher
- Recent versions of Node JS + yarn (or npm, pnpm etc.)

### Installation:

[](#installation)

1. Clone this repo or run `composer create-project twent/ssg YOUR_SITE_NAME`
2. Install deps `make install`
3. Make testing build `make`

### How to use:

[](#how-to-use)

1. Views in `resources/views`
2. Pages JSONs in `resources/pages` folder
3. CSS &amp; JS assets in `resources/assets`

> Inspired by [Cleaver](https://github.com/aschmelyun/cleaver)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c64e3745d820c3c36c1a7f76bdc59a50211790c81fc962219825349f315b3ec?d=identicon)[twent](/maintainers/twent)

---

Top Contributors

[![twent](https://avatars.githubusercontent.com/u/7511983?v=4)](https://github.com/twent "twent (1 commits)")

---

Tags

jsongeneratorbladestaticsitessg

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/twent-ssg/health.svg)

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

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[aschmelyun/cleaver

A blazing-fast static site generator using Laravel's Blade templating engine

2961.0k](/packages/aschmelyun-cleaver)[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k34.2M309](/packages/blade-ui-kit-blade-icons)[sculpin/sculpin

Static Site Generator

1.5k102.8k12](/packages/sculpin-sculpin)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)

PHPackages © 2026

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