sigwin / yassg
Yet Another Static Site Generator
Installs: 1 665
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 43
Requires
- php: ^8.2
- ext-zlib: *
- bentools/cartesian-product: ^1.4
- jsw/commonmark-figure-extension: ^1.1
- league/commonmark: ^2.3
- phpdocumentor/type-resolver: ^1.0
- phpstan/phpdoc-parser: ^1.0
- presta/sitemap-bundle: ^4.0
- spatie/commonmark-highlighter: ^3.0
- symfony/console: ^6.4 || ^7.0
- symfony/expression-language: ^6.4 || ^7.0
- symfony/filesystem: ^6.4 || ^7.0
- symfony/finder: ^6.4 || ^7.0
- symfony/form: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/http-client: ^6.4 || ^7.0
- symfony/property-info: ^6.4 || ^7.0
- symfony/runtime: ^6.4 || ^7.0
- symfony/security-csrf: ^6.4 || ^7.0
- symfony/serializer: ^6.4 || ^7.0
- symfony/stopwatch: ^6.4 || ^7.0
- symfony/translation: ^6.4 || ^7.0
- symfony/twig-bundle: ^6.4 || ^7.0
- symfony/web-profiler-bundle: ^6.4 || ^7.0
- symfony/webpack-encore-bundle: ^2.0
- symfony/yaml: ^6.4 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^11.0
- sigwin/infra: ~1.9.0
- dev-main
- 1.0.0
- 0.14.1
- 0.14.0
- 0.13.5
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13.0
- 0.12.1
- 0.12.0
- 0.11.5
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.16
- 0.5.15
- 0.5.14
- 0.5.13
- 0.5.12
- 0.5.11
- 0.5.10
- 0.5.9
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
This package is auto-updated.
Last update: 2025-03-11 13:05:27 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.