PHP code example of limedeck / nova-cashier-overview

1. Go to this page and download the library: Download limedeck/nova-cashier-overview 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/ */

    

limedeck / nova-cashier-overview example snippets


use LimeDeck\NovaCashierOverview\Subscription;

// ...

public function fields(Request $request)
{
    return [
        ID::make()->sortable(),

        ...

        Subscription::make(),

        // if you want to display a specific subscription or multiple
        Subscription::make('a-fancy-subscription-name'), 

        ...
    ];
}