PHP code example of concept7 / filament-invite

1. Go to this page and download the library: Download concept7/filament-invite library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

concept7 / filament-invite example snippets


use Concept7\FilamentInvite\InvitePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
       ->plugin(new InvitePlugin());
}

use Concept7\FilamentInvite\Models\Traits\Invitable;

InviteProcessedEvent::class => [
    InviteProcessedListener::class,
]
bash
php artisan vendor:publish --tag="filament-invite-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-invite-views"