Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
The static website generator for Symfony developers
Stenope is a static site generator that runs inside a Symfony application, turning a standard Symfony app into a static HTML website by scanning routes and dumping every page to files.
Stenope is an open-source static website generation tool built specifically for the Symfony PHP framework. It takes an existing Symfony app and, via a console command, crawls it like a search engine and dumps every page into static HTML files. It provides tools for loading and parsing content from local Markdown files or headless CMS sources, applies processors for tasks like syntax highlighting and slug generation, and hydrates custom PHP objects with the enriched data for listing and retrieval. The project is maintained by Symfony developers and can be installed with Composer.
composer require stenope/stenope, and connects with standard Symfony components.bin/console -e prod stenope:build ./static after clearing the cache, placing all output in a specified directory../static.Stenope scans the Symfony app like a search engine crawler, dumping every page into a static HTML file. It then loads and parses data sources, applies processors, hydrates PHP objects, and provides interfaces for listing and retrieving content. The entire process is controllable via entrypoints and replaceable default implementations.
Run composer require stenope/stenope in an existing Symfony app. If you're starting from scratch, you can use the Stenope Skeleton.
No. The project explicitly states it is not a ready-to-use blogging system, but you can quickly write your own blog system with its content management tools.
After clearing the cache with bin/console -e prod cache:clear, run bin/console -e prod stenope:build ./static. Your Symfony app is then available as a static website in the ./static directory.
The documentation lists supported formats, including Markdown and HTML. Processing features like syntax highlighting are available for parsed content.
