PHPackages                             spontaneit/static-content-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. spontaneit/static-content-bundle

ActiveSymfony-bundle

spontaneit/static-content-bundle
================================

Generate static pages

v0.8(2y ago)056↓100%MITPHPPHP &gt;=8.0

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/xeryon456/static_content)[ Packagist](https://packagist.org/packages/spontaneit/static-content-bundle)[ RSS](/packages/spontaneit-static-content-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (9)Used By (0)

Static content
==============

[](#static-content)

Generate static pages from symfony routes

Configuration
-------------

[](#configuration)

Add static\_content.yaml file in your config/packages folder

```
static_content:
  target_folder: static
  included_routes: []
  excluded_routes: ['app_logout', 'app_login']
  excluded_prefix_routes: ['ajax', 'admin']

```

use included\_routes for only generate static content for theses routes or use excluded\_routes and/or excluded\_prefix\_routes for generate static content for all route but not in excluded

Edit htaccess
-------------

[](#edit-htaccess)

Add this to the /public/.htaccess file to serve static pages automatically:

```
    RewriteCond %{DOCUMENT_ROOT}/static/%{REQUEST_URI}.html -f [NC]
    RewriteRule ^ static/%{REQUEST_URI}.html [L]

```

where static is the default 'target\_folder' parameter in config file

Doctrine entities
-----------------

[](#doctrine-entities)

to generate static pages for doctrine entities with for example a slug attribute, you have to set parameter name like this: {myentity\_slug}

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~51 days

Total

8

Last Release

882d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/238618803d3a4d83ed9d493b5deb7f1f6302a462d1290cf7f4a52f9080d63359?d=identicon)[xeryon](/maintainers/xeryon)

---

Top Contributors

[![Xeryon](https://avatars.githubusercontent.com/u/69851851?v=4)](https://github.com/Xeryon "Xeryon (12 commits)")[![xeryon456](https://avatars.githubusercontent.com/u/92920145?v=4)](https://github.com/xeryon456 "xeryon456 (1 commits)")

### Embed Badge

![Health badge](/badges/spontaneit-static-content-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/spontaneit-static-content-bundle/health.svg)](https://phpackages.com/packages/spontaneit-static-content-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[acseo/typesense-bundle

This bundle provides integration with Typesense in Symfony

71112.0k1](/packages/acseo-typesense-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
