-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable / Disable Switch #28
Comments
I've just needed a similar functionality, although it's a off for a specific response rather than specific parts of the profiling. I've PR'd it, feel free to use or not #30 |
+1 Im trying to change config via middleware, but it doesnt work((( |
@ErriourMe It won't work via a middleware before the package uses the ServiceProvider@boot to check if the package is enabled or not. I am trying too to switch on demand. Did you get any solution over there? @Rich2k How can I implement your PR locally? Thank you |
You can either fork my branch yourself or include my forked repo directly in your composer file (rather than packagist) https://stackoverflow.com/questions/12954051/use-php-composer-to-clone-git-repo |
Thanks @Rich2k! I am referencing your repo directly in my composer.json file. For the branch, what shall I use? The Thanks |
Yep any other branches are just from the upstream |
@Rich2k I don't think I am loading the repo correctly. Inside the composer.json file, I've added the following:
Still, I cannot find the I should be referencing the feature branch somewhere but not sure where. |
You don't want to use the version tag but the branch name Use this
|
Thanks @Rich2k works perfect! |
Is there any option to disable debugging dynamically, for example to enable for certain requests and disable for others? Something like:
Thank you
The text was updated successfully, but these errors were encountered: