PHPackages                             muarachmann/laravel-invitations - 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. muarachmann/laravel-invitations

ActiveLibrary

muarachmann/laravel-invitations
===============================

Laravel invitations - simplifying sending invitations

429PHP

Since Jul 28Pushed 3y ago5 watchersCompare

[ Source](https://github.com/muarachmann/laravel-invitations)[ Packagist](https://packagist.org/packages/muarachmann/laravel-invitations)[ RSS](/packages/muarachmann-laravel-invitations/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Invitations
===================

[](#laravel-invitations)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b9c60b5d79843495415d8daeb33770b19deec3b702f13ce6b986db236697f97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7561726163686d616e6e2f6c61726176656c2d696e7669746174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/muarachmann/laravel-invitations)[![Total Downloads](https://camo.githubusercontent.com/4aad9d229956b7618760716756c5b14a896a2ea961210256aaba21e03e292e24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d7561726163686d616e6e2f6c61726176656c2d696e7669746174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/muarachmann/laravel-invitations)[![Build Status](https://camo.githubusercontent.com/13a20b352794181f70c22b4f36809b0fe66cd5c16318827f507dc9f1f9c56d3e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d7561726163686d616e6e2f6c61726176656c2d696e7669746174696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/muarachmann/laravel-invitations)[![CI](https://github.com/muarachmann/laravel-invitations/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/muarachmann/laravel-invitations/actions/workflows/run-tests.yml)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require muarachmann/laravel-invitations
```

Usage
-----

[](#usage)

After installing the laravel Invite Codes package, register the service provider in your `config/app.php` file:

> Optional in Laravel 5.5 or above

```
'providers' => [
    MuaRachmann\Invitations\InvitationServiceProvider::class,
    MuaRachmann\Invitations\InvitationEventServiceProvider::class,
];
```

### Configuring the package

[](#configuring-the-package)

You can publish the config file with: This is the contents of the file that will be published at config/laravel-invitations.php:

```
php artisan vendor:publish --provider="MuaRachmann\Invitations\InvitationServiceProvider" --tag="laravel-invitations-config"
```

Run migrations required for this package. If you need to customize the tables, you can [configure them](#configuring-the-package) with:

```
php artisan vendor:publish --provider="MuaRachmann\Invitations\InvitationServiceProvider" --tag="laravel-invitations-migrations"
```

### Events

[](#events)

***Laravel Invitations*** comes with several events [events](https://laravel.com/docs/master/events) by default

- MuaRachmann\\Invitations\\Events\\InvitationAccepted
- MuaRachmann\\Invitations\\Events\\InvitationDeclined
- MuaRachmann\\Invitations\\Events\\InvitationExpired
- MuaRachmann\\Invitations\\Events\\InvitationSent

These events have the `invitation` model so you can listen to these events and take approriate actions e.g send welcome email.

include listener in `EventServiceProvider.php`

```
use MuaRachmann\Invitations\Events\InvitationAccepted;
use App\Listeners\SendWelcomeEmail;

protected $listen = [
    InvitationAccepted::class => [
        SendWelcomeEmail::class,
    ],
];
```

`SendWelcomeEmail.php`

```
public function handle($invitation)
{
    // send welcome email to user
}
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mua Rachmann](https://github.com/muarachmann)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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/4131e9058748a815342f3b56c49707600301335e2302481552f4ff161174eb72?d=identicon)[muarachmann](/maintainers/muarachmann)

---

Top Contributors

[![muarachmann](https://avatars.githubusercontent.com/u/16350814?v=4)](https://github.com/muarachmann "muarachmann (17 commits)")

### Embed Badge

![Health badge](/badges/muarachmann-laravel-invitations/health.svg)

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

PHPackages © 2026

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