PHPackages                             blackcup/invites - 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. blackcup/invites

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

blackcup/invites
================

Package to create invites

0.1.0(6y ago)06[1 issues](https://github.com/blackcupnl/invites/issues)[3 PRs](https://github.com/blackcupnl/invites/pulls)MITPHP

Since Mar 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/blackcupnl/invites)[ Packagist](https://packagist.org/packages/blackcup/invites)[ Docs](https://github.com/blackcupnl/invites)[ RSS](/packages/blackcup-invites/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

Laravel Invites
===============

[](#laravel-invites)

[![Latest Version on Packagist](https://camo.githubusercontent.com/efcca970f9821fb30ff75bde6a1e3548525226dd2f2922f883f77b940e836c0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c61636b6375702f696e76697465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackcup/invites)[![Total Downloads](https://camo.githubusercontent.com/9ae9c069c5d0bcb9730418dcb4c416197a100de6a5aa082587a408f888e928c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c61636b6375702f696e76697465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackcup/invites)

This package allows you to send out custom invites. Once an invite has been sent, the recipient receives a Notification with the option to accept or reject the invite. The sender receives a notification when the recipient accepts or rejects the invite. Every invite has a dedicated class to customize the actions that should be performed once the intive is sent, accepted or rejected.

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

[](#installation)

Via Composer

```
composer require blackcup/invites
```

The package will automatically register itself. Run the provided migrations using

```
php artisan migrate
```

Example usage
-------------

[](#example-usage)

Create a new `MakeAdminInvite` by running

```
php artisan make:invite MakeAdminInvite
```

This will create a new class in `app\Invites`. Change the code as follows:

```
