PHP code example of xypp / pay-to-read

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

    

xypp / pay-to-read example snippets

sh
composer update xypp/pay-to-read:"*"
php flarum migrate
php flarum cache:clear