원클릭으로
notify-alert
Use Laragear Alerts as a channel for Laravel Notifications.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use Laragear Alerts as a channel for Laravel Notifications.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | notify-alert |
| description | Use Laragear Alerts as a channel for Laravel Notifications. |
Use this skill when you want Laravel Notifications to be delivered as alerts in your application's frontend.
Add Laragear\Alerts\AlertChannel::class to the via() method of your notification.
use Laragear\Alerts\AlertChannel;
public function via(object $notifiable): array
{
return [AlertChannel::class, 'mail'];
}
Implement the toAlert() method to return an Alert instance. It's recommended to use make() instead of push() here.
use App\Alerts\MyAlert;
use Laragear\Alerts\Alert;
public function toAlert(object $notifiable): Alert
{
return MyAlert::make()
->set('type', 'success')
->set('body', 'Your report is ready!');
}
The AlertChannel only works during a web request. If the notification is sent via a background queue that doesn't share the same session/request context, the alert will not be visible to the user unless they are using a persistent storage or broadcasting.