How to send push notifications with Laravel
Updated on March 29, 2026
Signalgrid makes it straightforward to send notifications from Laravel. The platform uses a simple model built around your client_key, a target channel, and a few core fields such as title, body, type, and optional critical.
Laravel is a natural fit for user events, queued jobs, deployment hooks, and admin workflows where a notification should be sent after something important happens.
The following example sends a simple notification with Laravel.
use Illuminate\Support\Facades\Http;
$response = Http::asForm()->post('https://api.signalgrid.co/v1/push', [
'client_key' => env('SIGNALGRID_CLIENT_KEY'),
'channel' => env('SIGNALGRID_CHANNEL'),
'title' => 'Deployment Finished',
'body' => 'The production deployment completed successfully',
'type' => 'SUCCESS',
]);
return $response->json();client_keychanneltitlebodytypeINFO, WARN, SUCCESS, or CRITcriticalKeeping credentials outside your code is usually the better move.
SIGNALGRID_CLIENT_KEY=your_client_key
SIGNALGRID_CHANNEL=your_channel_tokenLaravel is a natural fit for user events, queued jobs, deployment hooks, and admin workflows where a notification should be sent after something important happens.