Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
kinetix-reports
happones/kinetix
claude-code
scheduled-reports
exporters
mail
queues
scheduler
kinetix
attachments

Email an Exporter's output on a schedule. Register reports with KinetixReports::register(ScheduledReport::make(...)); run kinetix:reports:send from the scheduler. Activates when building scheduled/recurring/emailed reports or exports.

Install
php artisan boost:add-skill happones/kinetix

Save this content to: .claude/skills/kinetix-reports/SKILL.md

# Kinetix Scheduled Reports

## When to Apply

Activate this skill when:
- Emailing a recurring report / export (daily/weekly/monthly).
- Sending an Exporter's output to recipients on a schedule.

## Documentation

For full details, reference `docs/reports.md` (published at https://happones.github.io/kinetix/reports).

## Define reports

In a service provider `boot()`:

```php
use Happones\Kinetix\Reports\KinetixReports;
use Happones\Kinetix\Reports\ScheduledReport;

KinetixReports::register(
    ScheduledReport::make('daily-orders')
        ->exporter(OrdersExporter::class)   // an existing Kinetix Exporter
        ->frequency('daily')                // daily | weekly | monthly | any label
        ->to(['[email protected]'])
        ->subject('Daily orders')
        ->parameters(['status' => 'paid']),
);
```

## Schedule the command

```php
Schedule::command('kinetix:reports:send --frequency=daily')->dailyAt('06:00');
```

Run one on demand: `php artisan kinetix:reports:send daily-orders`.

## How it works

`ReportRunner` builds the Exporter's file (CSV/XLSX/PDF, via the shared
`FileWriter`) and mails it as an attachment (`ScheduledReportMail`, queueable) to
the recipients. Reports without recipients are skipped. Config:
`'reports' => ['enabled' => true]`. i18n `report_mail_intro`/`report_mail_outro`.

Kinetix Scheduled Reports

When to Apply

Activate this skill when:

  • Emailing a recurring report / export (daily/weekly/monthly).
  • Sending an Exporter's output to recipients on a schedule.

Documentation

For full details, reference docs/reports.md (published at https://happones.github.io/kinetix/reports).

Define reports

In a service provider boot():

use Happones\Kinetix\Reports\KinetixReports;
use Happones\Kinetix\Reports\ScheduledReport;

KinetixReports::register(
    ScheduledReport::make('daily-orders')
        ->exporter(OrdersExporter::class)   // an existing Kinetix Exporter
        ->frequency('daily')                // daily | weekly | monthly | any label
        ->to(['[email protected]'])
        ->subject('Daily orders')
        ->parameters(['status' => 'paid']),
);

Schedule the command

Schedule::command('kinetix:reports:send --frequency=daily')->dailyAt('06:00');

Run one on demand: php artisan kinetix:reports:send daily-orders.

How it works

ReportRunner builds the Exporter's file (CSV/XLSX/PDF, via the shared FileWriter) and mails it as an attachment (ScheduledReportMail, queueable) to the recipients. Reports without recipients are skipped. Config: 'reports' => ['enabled' => true]. i18n report_mail_intro/report_mail_outro.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mydnic/volet-feature-board-filament-plugin
wmde/email-address
refinery29/test-util
dees040/laravel-api-responses
teamzac/geocoder
ideatica/config-writer
keaton-php/pipe-dream
jacksonwebservices/laravel-user-suite
maksimru/conditional-laravel-debugbar
gismatul/nova-support-chat
gismatul/laravel-support-chat
networkrailbusinesssystems/oracle-api
alphabalex/messaging-made-easy
rawphp/warp
shootkiran/merobug
narakode/fineauth
numencode/wn-syncops-plugin
ibnnajjaar/mib-global-pay
refinery29/php-cs-fixer-config
parsnick/steak