eicc / staticforge
Static site generator built in PHP with extensible feature system
Installs: 45
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/eicc/staticforge
Requires
- php: ^8.3
- eicc/utils: ^1.0
- gajus/dindent: ^2.0
- league/commonmark: ^2.4
- phpseclib/phpseclib: ^3.0
- symfony/console: ^6.0
- symfony/yaml: ^6.0
- twig/twig: ^3.0
- vlucas/phpdotenv: ^5.5
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- shipmonk/dead-code-detector: ^0.13.5
- squizlabs/php_codesniffer: *
- dev-master
- 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
- dev-copilot/break-up-feature-documentation
- dev-copilot/add-robots-txt-creator
- dev-copilot/add-rss-feed-creation
- dev-composer_project
This package is auto-updated.
Last update: 2025-11-28 21:08:26 UTC
README
A PHP-based static site generator that processes content files through an event-driven pipeline to produce deployment-ready static websites.
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/console.php render:site
-
View your site: Open
output/index.htmlin your browser. -
Add more content: Create
.mdor.htmlfiles in thecontent/directory and regenerate.
Development
Using Lando (Recommended)
# Start development environment lando start # Run tests lando phpunit # Check code style lando phpcs src/ # Fix code style lando phpcbf # Run CLI commands lando php bin/console.php list
Requirements
- PHP 8.4+
- Twig templating engine
- Composer for dependency management
License
See LICENSE file for details.