Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

csongor's avatar

Customise Slack notification sent by Laravel Forge at deploy

I am trying to customize how we send notifications to our slack channel when we deploy on Laravel Forge. However, there is only one option at the notification submenu, which is to select which channel we want to send the notification to. What is really annoying that it works perfectly for one our site (send all the deploy information, like branch owner, commit, message etc.), but not on the other site. So instead of sending who deployed, it just says: N/A deployed some fresh code!

Anyone else has this issue? Is there a way to customize it?

For now we have a work around, and use a custom shell script which runs at the end of the deployment script. Only down side is that if the deployment fails (i.e. can't complete a migration), we don't get any notification as the deployment script does not reach our custom script.

0 likes
3 replies
bobbybouwmann's avatar

At this point, I would probably just reach out to the support of Forge and see if they can help you.

csongor's avatar

@bobbybouwmann thanks, already did. Just wanted to see if someone else had similar issues in the community!

west1's avatar

I had the very same problem.

SOLUTION: You have to activate QuickDeploy. The git commit information is not available while the deployment is running, and therefore Slack notifications cannot add this information. Activating Quick Deployments will do the trick.

Please or to participate in this conversation.