← Back to list

scaffold-listener
by iurygdeoliveira
Repositorio destinado a fornecer um kit inicial para desenvolvimento de SaaS usando laravel e filament
⭐ 29🍴 12📅 Jan 20, 2026
SKILL.md
name: scaffold-listener description: Standardizes Events and Listeners for decoupled architecture.
Laravel Listener Pattern Skill
Use this skill when implementing Event-Driven Architecture.
Workflow
- Create Event:
php artisan make:event [EventName] - Create Listener:
php artisan make:listener [ListenerName] --event=[EventName]
Rules
1. Queued Listeners
- If the listener performs IO (Email, API, Notification), it MUST implement
ShouldQueue.
class SendWelcomeEmail implements ShouldQueue
{
// ...
}
2. Dependency Injection
- Inject dependencies in
__construct. - Access event data in
handle(EventName $event).
3. Verification
- Ensure the mapping exists. Laravel 11/12 detects it automatically if the listener type-hints the event.
Score
Total Score
80/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

