eicc / staticforge
Static site generator built in PHP with extensible feature system
Installs: 91
Dependents: 8
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/eicc/staticforge
Requires
- php: ^8.4
- eicc/utils: ^1.0
- gajus/dindent: ^2.0
- league/commonmark: ^2.4
- phpseclib/phpseclib: ^3.0
- symfony/console: ^6.0
- symfony/css-selector: ^8.0
- symfony/dom-crawler: ^8.0
- symfony/http-client: ^8.0
- symfony/yaml: ^6.0
- twig/twig: ^3.0
- vlucas/phpdotenv: ^5.5
Requires (Dev)
- calevans/staticforge-chapternav: 1.1.2
- calevans/staticforge-google-analytics: ^1.1
- calevans/staticforge-social-metadata: ^1.0
- mikey179/vfsstream: ^1.6
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- shipmonk/dead-code-detector: ^0.13.5
- squizlabs/php_codesniffer: ^4.0
- dev-master
- 1.18.1
- 1.18.0
- 1.17.1
- 1.17.0
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.2
- 1.15.1
- 1.15.0
- 1.14.8
- 1.14.7
- 1.14.6
- 1.14.5
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.3
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2026-01-08 23:16:56 UTC
README
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
Full documentation is available at https://calevans.com/staticforge.
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
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
Your StaticForge installation comes ready to use! Here's how to get started:
-
Edit your site configuration: Open
.envand customize your site name, tagline, and other settings. -
Optional: Create
siteconfig.yaml: For static menus and site-wide settings. -
Generate your site:
php bin/staticforge.php site:render
-
View your site: Open
output/index.htmlin your browser. -
Add more content: Create
.mdor.htmlfiles in thecontent/directory and regenerate.
Development
Development Commands
# Run tests phpunit # Check code style phpcs src/ # Fix code style phpcbf # Run CLI commands php bin/staticforge.php list
Requirements
- PHP 8.4+
- Twig templating engine
- Composer for dependency management
License
See LICENSE file for details.