@salim01 There's actually a term for this called "feature flagging". It's a very common approach when you want to enable/disable features in the application.
Here are a couple articles/approaches to doing this:
https://laravel-news.com/feature-flags-laravel-package
https://dev.to/mcfdn/how-to-use-feature-flags-in-your-laravel-applications-9ko