PHP code example of husam-tariq / filament-database-schedule
1. Go to this page and download the library: Download husam-tariq/filament-database-schedule 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/ */
husam-tariq / filament-database-schedule example snippets
use HusamTariq\FilamentDatabaseSchedule\FilamentDatabaseSchedulePlugin;
public function panel(Panel $panel): Panel
{
return $panel
...
->plugins([
FilamentDatabaseSchedulePlugin::make()
])
...
}
bash
php artisan vendor:publish --tag="filament-database-schedule-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-database-schedule-config"
bash
php artisan vendor:publish --tag="filament-database-schedule-translations"
bash
php artisan schedule:run