Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
husam-tariq committed Aug 28, 2023
1 parent f95a691 commit 67a0374
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,25 @@ Run the artisan command to run scheduled tasks
php artisan schedule:run
```

### Plugin Usage
Using the plugin is easy all you need to do is instanciate it to the Panels you want the plugin to be available in.

```php
use HusamTariq\FilamentDatabaseSchedule\FilamentDatabaseSchedulePlugin;



public function panel(Panel $panel): Panel
{
return $panel
...
->plugins([
FilamentDatabaseSchedulePlugin::make()
])
...
}
```

### Environment variables

You can set the following environment variables to configure schedules:
Expand Down

0 comments on commit 67a0374

Please sign in to comment.