[Q] How to turn off completely (e.g. on local env)? #293
Unanswered
ievgen-klymenko-uvoteam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am searching for an in-built way to turn off completely all actions this library is making to the actual connected Google account.
For example, to turn off Mail service, we can specify in .env:
MAIL_MAILER=log
instead ofMAIL_MAILER=smtp
,then no communication will be done with actual smtp server.
To turn off Sentry reporting, we can specify in .env
SENTRY_LARAVEL_DSN=https://some_non_existing_url
,then no communication will be done with actual sentry service.
But if I try to change any config values for
spatie/laravel-google-calendar
- it starts throwing exceptions and warnings.For example if u set empty
GOOGLE_CALENDAR_ID=
:How can I turn it off (in-built way)?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions