PHPackages                             lukesnowden/relationship-macros - 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. lukesnowden/relationship-macros

ActiveProject[Utility &amp; Helpers](/categories/utility)

lukesnowden/relationship-macros
===============================

v0.0.7(7y ago)05691MITPHP

Since Oct 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lukesnowden/relationship-macro)[ Packagist](https://packagist.org/packages/lukesnowden/relationship-macros)[ RSS](/packages/lukesnowden-relationship-macros/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (1)

Relationship Macro
==================

[](#relationship-macro)

This trait allows you to easily create relationships for foreign models.

```
composer require lukesnowden/relationship-macros:^0.0.1

```

To allow use on the destination model use the trait `Lukesnowden\RelationshipMacros\Traits\Macro`.

```
