IPhone – I want the ability to easily silence all text messages

iphonemessagesnotificationstext;

TL;DR: Is there a way to toggle all message notifications easily?

While at work, I want the ability to by notified by phone calls, and reminders and event notifications, but I don't want to be interrupted by text messages. As soon as I get off work, I want to be notified by incoming text messages.

Best Answer

Settings → Notifications → Messages and turn off Allow Notifications.

iOS 12 Shortcuts should let you create a shortcut for this so you don't have to navigate manually.