PHPackages                             sasin91/laravel-interaction - 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. sasin91/laravel-interaction

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

sasin91/laravel-interaction
===========================

Laravel 5 - Interactions, inspired by Laravel/Spark.

2171PHP

Since Jan 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sasin91/laravel-interactions)[ Packagist](https://packagist.org/packages/sasin91/laravel-interaction)[ RSS](/packages/sasin91-laravel-interaction/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 Interactions
======================

[](#laravel-5-interactions)

Laravel 5 Interactions, make it a breeze to write interactions, for instance subscribing a newly registered User.

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

[](#installation)

### Composer

[](#composer)

Execute the following command to get the latest version of the package:

```
composer require sasin91/laravel-interaction

```

Note, to pull this in you might need to set your minimum stability in composer.json

```
"minimum-stability":"dev",
```

### Laravel

[](#laravel)

In your `config/app.php` add `Sasin91\LaravelInteractions\RepositoryServiceProvider::class` to the end of the `Package Service Providers` array:

```
'providers' => [
    ...
    Sasin91\LaravelInteractions\RepositoryServiceProvider::class,
],
```

#### Commands

[](#commands)

To generate a interaction, run this command:

```
php artisan make:interaction CreateUser {--contract}

```

generates a contract for the Interaction if the contract option is specified.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/25c4acb09666a19ad6cebce4bc539b940a53876769f89c384fd720921c6c1bf7?d=identicon)[Sasin91](/maintainers/Sasin91)

---

Top Contributors

[![sasin91](https://avatars.githubusercontent.com/u/808722?v=4)](https://github.com/sasin91 "sasin91 (2 commits)")

### Embed Badge

![Health badge](/badges/sasin91-laravel-interaction/health.svg)

```
[![Health](https://phpackages.com/badges/sasin91-laravel-interaction/health.svg)](https://phpackages.com/packages/sasin91-laravel-interaction)
```

PHPackages © 2026

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