PHP code example of chapdel / referral

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

    

chapdel / referral example snippets


return [
];

$referral = new Chapdel\Referral();
echo $referral->echoPhrase('Hello, Chapdel!');
bash
php artisan vendor:publish --tag="referral-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="referral-config"
bash
php artisan vendor:publish --tag="referral-views"