PHP code example of jeroen-g / guestpass

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

    

jeroen-g / guestpass example snippets


JeroenG\GuestPass\GuestPassServiceProvider::class,
// ...
'GuestPass' => JeroenG\GuestPass\GuestPassFacade::class,

GuestPass::create($user, $photo);

GuestPass::getKeysOf($user);

GuestPass::findGuestPass($user, $photo);

GuestPass::getGuestPass($key);

GuestPass::isOwner($user, $guestpass);

GuestPass::create($user, $photo, 'album');