PHP code example of fr-mccarty / nova-cashier-overview-remote-db

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

    

fr-mccarty / nova-cashier-overview-remote-db 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'), 

        ...
    ];
}