PHPackages                             eicc/staticforge - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eicc/staticforge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eicc/staticforge
================

Static site generator built in PHP with extensible feature system

2.0.1(2mo ago)21119MITPHPPHP ^8.4

Since Oct 31Pushed 2mo agoCompare

[ Source](https://github.com/calevans/staticforge)[ Packagist](https://packagist.org/packages/eicc/staticforge)[ RSS](/packages/eicc-staticforge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (40)Versions (110)Used By (9)

[![Ask DeepWiki](https://camo.githubusercontent.com/0f5ae213ac378635adeb5d7f13cef055ad2f7d9a47b36de7b1c67dbe09f609ca/68747470733a2f2f6465657077696b692e636f6d2f62616467652e737667)](https://deepwiki.com/calevans/staticforge)

[StaticForge](https://calevans.com/staticforge)
===============================================

[](#staticforge)

A PHP-based static site generator that processes content files through an event-driven pipeline to produce deployment-ready static websites.

Copyright 2025, Cal Evans
License: MIT

Documentation
-------------

[](#documentation)

Full documentation is available at ****.

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

[](#installation)

Install StaticForge using Composer:

```
composer require eicc/staticforge
vendor/bin/staticforge-install-templates.php
```

The second command installs the default templates without overwriting any existing templates.

### Development Installation

[](#development-installation)

If you want to contribute to StaticForge development:

```
git clone https://github.com/calevans/staticforge.git my-site
cd my-site
composer install
cp .env.example .env
```

Quick Start
-----------

[](#quick-start)

Your StaticForge installation comes ready to use! Here's how to get started:

1. **Configure your environment:**Open `.env` to set infrastructure settings like `SITE_BASE_URL` (where your site lives) and `UPLOAD_URL`.
2. **Configure site identity:**Create `siteconfig.yaml` to define your site name, tagline, and menus.

    ```
    site:
      name: "My Awesome Site"
      tagline: "Built with StaticForge"
    ```
3. **Optional: Install additional templates:**

    ```
    composer require vendor/template-name
    ```
4. **Optional: Create `siteconfig.yaml`:**For static menus and site-wide settings.
5. **Generate your site:**

    ```
    php bin/staticforge.php site:render
    ```
6. **View your site:**Open `public/index.html` in your browser.
7. **Add more content:**Create `.md` or `.html` files in the `content/` directory and regenerate.

Development
-----------

[](#development)

### Development Commands

[](#development-commands)

```
# Run tests
phpunit

# Check code style
phpcs src/

# Fix code style
phpcbf

# Run CLI commands
php bin/staticforge.php list
```

### Requirements

[](#requirements)

- PHP 8.4+
- Twig templating engine
- Composer for dependency management

License
-------

[](#license)

See LICENSE file for details.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% 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

Every ~1 days

Recently: every ~8 days

Total

109

Last Release

62d ago

Major Versions

1.20.3 → 2.0.12026-03-17

PHP version history (2 changes)1.0.0PHP ^8.4

1.0.4PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/af70e3d71b3fb87f45c1025d3a21149958da1a416cabbebd4f450e18f920babc?d=identicon)[calevans](/maintainers/calevans)

---

Top Contributors

[![calevans](https://avatars.githubusercontent.com/u/426938?v=4)](https://github.com/calevans "calevans (313 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/eicc-staticforge/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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