PHP code example of jameron / invitations

1. Go to this page and download the library: Download jameron/invitations 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/ */

    

jameron / invitations example snippets


        Jameron\Invitations\InvitationsServiceProvider::class,

        'Invitations' => Jameron\Invitations\Facades\InvitationsFacade::class,
 artisan vendor:publish

use Jameron/Invitations/Models/Traits/Invitable;

use Invitable;


    'related' => [
        'active' => false,
        'model' => \App\Page::class,
        'resource_route' => 'pages',
        'title' => 'Pages',
        'id_column' => 'id',
        'value_column' => 'title',
        'user_foreign_key' => 'user_id',
        'owner_foreign_key' => null
	],

        $this->call(\Jameron\Import\database\seeds\InvitationsSeeder::class);