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 today

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 22% 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

2754d 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.6M2.6k](/packages/craftcms-cms)[picocms/pico

Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .md files in the "content" folder and that becomes a page.

3.9k37.8k11](/packages/picocms-pico)[symfony/ux-twig-component

Twig components for Symfony

21814.8M161](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1635.6M71](/packages/symfony-ux-live-component)[twig/html-extra

A Twig extension for HTML

777.6M41](/packages/twig-html-extra)[symfony/ux-toolkit

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

1432.0k](/packages/symfony-ux-toolkit)

PHPackages © 2026

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