PHP code example of mateusjunges / laravel-invite-codes
1. Go to this page and download the library: Download mateusjunges/laravel-invite-codes 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/ */
mateusjunges / laravel-invite-codes example snippets
'custom_migrations' => true,
return [
/*
|--------------------------------------------------------------------------
| Models
|--------------------------------------------------------------------------
|
| When using this package, we need to know which Eloquent Model should be used
| to retrieve your invites. Of course, it is just the basics models
| needed, but you can use whatever you like.
|
*/
'models' => [
'invite_model' => \Junges\InviteCodes\Models\Invite::class,
],
/*
|--------------------------------------------------------------------------
| Tables
|--------------------------------------------------------------------------
| Specify the basics authentication tables that you are using.
| Once you |--------------------------------------------------------------------------
| Custom migrations
|--------------------------------------------------------------------------
| If you want to publish this package migrations and edit with new custom columns, change it to true.
*/
'custom_migrations' => false,
];