PHPackages                             kgilden/static-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. [Templating &amp; Views](/categories/templating)
4. /
5. kgilden/static-bundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

kgilden/static-bundle
=====================

Render content from files in Twig templates

v1.1.0(10y ago)1511.2k4MITPHPPHP &gt;=5.4.0

Since Feb 15Pushed 10y ago3 watchersCompare

[ Source](https://github.com/kgilden/KGStaticBundle)[ Packagist](https://packagist.org/packages/kgilden/static-bundle)[ RSS](/packages/kgilden-static-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

KGStaticBundle
==============

[](#kgstaticbundle)

[![Build Status](https://camo.githubusercontent.com/6cdf47b4f9bb252ca7b4385357d64046148829d7548abe137b22a169fdf9888e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b67696c64656e2f4b4753746174696342756e646c652f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/kgilden/KGStaticBundle)

This bundle allows you to load static content from files using Symfony's shorthand "@" syntax.

Usage
-----

[](#usage)

```
{# in '/some/path/to/template.html.twig' #}

{{ file('@AcmeDemoBundle/Resources/files/hello.txt') }}
```

Installation
------------

[](#installation)

Add KGPagerBundle in your `composer.json`:

```
{
    "require": {
        "kgilden/static-bundle": "~1.0"
    }
}
```

Tests
-----

[](#tests)

Simply run `phpunit` in the root directory for the full test suite.

Licence
-------

[](#licence)

This bundle is under the MIT license. See the complete license in the bundle:

```
Resources/meta/LICENCE

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~390 days

Total

2

Last Release

3766d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/918599?v=4)[Kristen Gilden](/maintainers/kgilden)[@kgilden](https://github.com/kgilden)

---

Top Contributors

[![kgilden](https://avatars.githubusercontent.com/u/918599?v=4)](https://github.com/kgilden "kgilden (18 commits)")[![pierre-ck](https://avatars.githubusercontent.com/u/289672464?v=4)](https://github.com/pierre-ck "pierre-ck (1 commits)")[![pierres](https://avatars.githubusercontent.com/u/977535?v=4)](https://github.com/pierres "pierres (1 commits)")

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[shopware/storefront

Storefront for Shopware

684.6M235](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16126.1k1](/packages/symfony-ux-toolkit)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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