bakslash/static-site-bundle
A Symfony bundle for exporting your application as a static site. It crawls configured routes or uses a URL list, saves rendered HTML to disk, and helps automate static builds for fast, low-cost hosting.
clean_urls for zero-rewrite static hosting; decide whether to invest in custom ParamsProviderInterface services for large parameter matrices.clean_urls writes <path>/index.html).PageRenderedEvent, PageDumpedEvent, PageFailedEvent) for build observability or post-processing.#[Prerender], provide parameter sets via a service or inline list, and run static-site:generate to produce a static tree. Output goes local or to Flysystem (S3/FTP) with no extra code. clean_urls and base_uri handle hosting paths. Events let us hook logging, cache busting, or post-processing. Services are replaceable via service IDs for custom rendering/dumping. Constraints: PHP 8.3, Symfony 7.4/8.x. Recommend a proof-of-concept on a small route set, with tests for non-2xx failure behavior and redirect stubs, and a plan for incremental builds if needed.How can I help you explore Laravel packages today?