PHP code example of eightynine / filament-subscription

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

    

eightynine / filament-subscription example snippets


'feature_registrars' => [
  App\Billing\BillingFeatureRegistrar::class,
],

use Eightynine\FilamentSubscription\FilamentSubscriptionPlugin;

$panel
    ->plugins([
        FilamentSubscriptionPlugin::make(),
    ]);
bash
composer dump-autoload
bash
php artisan vendor:publish --tag=filament-subscription-config
bash
php artisan migrate
bash
php artisan filament-subscription:sync-features
bash
php artisan db:seed --class=Database\\Seeders\\BillingFeatureSeeder
php artisan db:seed --class=Database\\Seeders\\BillingPlanSeeder
bash
php artisan list