PHP code example of thiritin / meteric

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

    

thiritin / meteric example snippets


use Meteric\Facades\Meteric;

$sub = Meteric::subscribe()
    ->account($account)
    ->add($vpsPrice)
    ->create();

// Collect pending charges and issue an invoice through the bound driver.
$invoice = Meteric::invoicePending($account);
bash
composer vendor:publish --tag=meteric-config
php artisan migrate