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. kgilden/static-bundle

ActiveLibrary

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 1mo ago

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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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

3720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad098d69f3512850adfe19cd55e9f692ba228042ac0df5f9b54c6b9f538c82c7?d=identicon)[kgilden](/maintainers/kgilden)

---

Top Contributors

[![kgilden](https://avatars.githubusercontent.com/u/918599?v=4)](https://github.com/kgilden "kgilden (18 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[contao/core-bundle

Contao Open Source CMS

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

PHPackages © 2026

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