PHPackages                             creativeservices/fixtures - 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. creativeservices/fixtures

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

creativeservices/fixtures
=========================

Use fixture content in Twig templates

v1.0.0-beta1(7y ago)028NCSAPHPPHP &gt;=7.0

Since Oct 19Pushed 7y agoCompare

[ Source](https://github.com/mattsharkey/fixtures)[ Packagist](https://packagist.org/packages/creativeservices/fixtures)[ RSS](/packages/creativeservices-fixtures/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Fixtures are static pieces of content.
======================================

[](#fixtures-are-static-pieces-of-content)

They can be used to populate templates during development. They can also serve as content sources for static site generators and style guides.

Supported formats
-----------------

[](#supported-formats)

- JSON
- YAML
- Markdown

Usage
-----

[](#usage)

Create a fixture collection from a directory of fixture files:

```
$fixtures = FixtureCollection::fromDirectory('/path/to/fixture/files');

```

Get a piece of content from the collection:

```
$context = $fixtures['fixture-file.json'];

```

When the Twig extension is enabled, fixture content is available inside templates with the `_fixture` function:

```
{% set article = _fixture('article.json') %}

{{ article.title }}

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2850d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7462ede757a59fd8d5267e57d0e5b81f71e524366123eb24086ad2eeefcdde37?d=identicon)[il-marketing](/maintainers/il-marketing)

---

Top Contributors

[![mattsharkey](https://avatars.githubusercontent.com/u/5148918?v=4)](https://github.com/mattsharkey "mattsharkey (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/creativeservices-fixtures/health.svg)

```
[![Health](https://phpackages.com/badges/creativeservices-fixtures/health.svg)](https://phpackages.com/packages/creativeservices-fixtures)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k88.1k1](/packages/getgrav-grav)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)[october/rain

October Rain Library

1601.7M103](/packages/october-rain)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M668](/packages/shopware-core)

PHPackages © 2026

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