PHP code example of zeeshantariq / filament-sqlgen

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

    

zeeshantariq / filament-sqlgen example snippets


use ZeeshanTariq\FilamentSqlGen\Filament\Widgets\SqlGenWidget;

public static function getWidgets(): array
{
    return [
        SqlGenWidget::class,
    ];
}
bash
php artisan vendor:publish --tag="filament-sqlgen-config"
bash
php artisan vendor:publish --tag="filament-sqlgen-views"
bash
php artisan vendor:publish --tag="filament-sqlgen-migrations"
bash
php artisan vendor:publish --tag="filament-sqlgen-schema"