sigwin / yassg
Yet Another Static Site Generator
1.4.0
2026-01-27 15:53 UTC
Requires
- php: ^8.3
- ext-zlib: *
- bentools/cartesian-product: ^2.0
- embed/embed: ^4.0
- jsw/commonmark-figure-extension: ^1.1
- league/commonmark: ^2.3
- nyholm/psr7: ^1.0
- phpdocumentor/type-resolver: ^1.0
- phpstan/phpdoc-parser: ^1.0
- presta/sitemap-bundle: ^4.0
- spatie/commonmark-highlighter: ^3.0
- symfony/console: ^7.4 || ^8.0
- symfony/dependency-injection: ^7.4
- symfony/expression-language: ^7.4 || ^8.0
- symfony/filesystem: ^7.4 || ^8.0
- symfony/finder: ^7.4 || ^8.0
- symfony/form: ^7.4 || ^8.0
- symfony/framework-bundle: ^7.4 || ^8.0
- symfony/http-client: ^7.4 || ^8.0
- symfony/property-info: ^7.4 || ^8.0
- symfony/runtime: ^7.4 || ^8.0
- symfony/security-csrf: ^7.4 || ^8.0
- symfony/serializer: ^7.4 || ^8.0
- symfony/stopwatch: ^7.4 || ^8.0
- symfony/translation: ^7.4 || ^8.0
- symfony/twig-bundle: ^7.4 || ^8.0
- symfony/validator: ^7.4 || ^8.0
- symfony/web-profiler-bundle: ^7.4 || ^8.0
- symfony/webpack-encore-bundle: ^2.0
- symfony/yaml: ^7.4 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^11.4 || ^12.0
- sigwin/infra: ~1.24.0
This package is auto-updated.
Last update: 2026-05-27 16:33:49 UTC
README
Start building a static site powered by Twig and Encore.
Use a YAML database to organize routes and data.
Get started
-
create an empty folder
mkdir yassg-test && cd yassg-test
-
require the package
composer require sigwin/yassg
-
init the project
vendor/sigwin/yassg/bin/yassg yassg:init
-
run a dev server:
make start/dev
Build the site
Pass the base URL to build
BASE_URL=https://example.com/subdir make build/clean
The output will be in the public/ folder,
the contents of which needs to be deployed to the BASE_URL.
Pages CI setup
Includes Gitlab CI / Gitlab Pages setup.