PHPackages                             nav33d/craft-relations - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nav33d/craft-relations

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

nav33d/craft-relations
======================

A field type to show reverse related elements

1.2.1(6y ago)97.2k4[5 issues](https://github.com/Nav33d/craft-relations/issues)[1 PRs](https://github.com/Nav33d/craft-relations/pulls)MITPHP

Since Dec 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Nav33d/craft-relations)[ Packagist](https://packagist.org/packages/nav33d/craft-relations)[ RSS](/packages/nav33d-craft-relations/feed)WikiDiscussions v1 Synced 1w ago

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

Relations plugin for Craft CMS 3
================================

[](#relations-plugin-for-craft-cms-3)

A field type to show reverse related elements.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

```
cd /path/to/project

```

2. Then tell Composer to load the plugin:

```
composer require nav33d/craft-relations

```

3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Relations.

Screenshots
-----------

[](#screenshots)

[![Screenshot](resources/screenshots/relations-assets-related-items.png)](resources/screenshots/relations-assets-related-items.png)
-----------------------------------------------------------------------------------------------------------------------------------

[](#)

[![Screenshot](resources/screenshots/relations-entry-related-items.png)](resources/screenshots/relations-entry-related-items.png)

Accessing relations in template
-------------------------------

[](#accessing-relations-in-template)

You can access relations in template using your field handle. Lets say your field is called `relations`, you can use the following code block to access relations:

```
{% if entry.relations %}
  {% for item in entry.relations %}
    {{ item.title }}
  {% endfor %}
{% endif %}

```

Credits
-------

[](#credits)

- Relations icon by [Noun Project](https://thenounproject.com/search/?q=relation&i=1320549)

Brought to you by [Naveed Ziarab](https://naveedziarab.co.uk)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 93.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

Total

9

Last Release

2450d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a96dd9008511dd1a112dc89c1177c9924d4393f22a9916f229785d60ced4d7f?d=identicon)[naveedziarab](/maintainers/naveedziarab)

---

Top Contributors

[![Nav33d](https://avatars.githubusercontent.com/u/4228466?v=4)](https://github.com/Nav33d "Nav33d (14 commits)")[![romainwurtz](https://avatars.githubusercontent.com/u/1520893?v=4)](https://github.com/romainwurtz "romainwurtz (1 commits)")

---

Tags

craft-plugincraftcmscmsCraftcraftcmscraft-pluginrelationscraftcms3

### Embed Badge

![Health badge](/badges/nav33d-craft-relations/health.svg)

```
[![Health](https://phpackages.com/badges/nav33d-craft-relations/health.svg)](https://phpackages.com/packages/nav33d-craft-relations)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[nystudio107/craft-similar

Similar for Craft lets you find elements, Entries, Categories, Commerce Products, etc, that are similar, based on... other related elements.

2675.4k1](/packages/nystudio107-craft-similar)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)

PHPackages © 2026

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