Skip to content
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

APIv4 Explorer - Optionally view results in PHP format #22010

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Nov 8, 2021

Overview

Improves the APIv4 Explorer DX by showing output in PHP format as well as JSON:

image

Comments

Sometimes you wanna copy & paste API output into PHP code, and manually converting it from JSON is annoying.

@civibot
Copy link

civibot bot commented Nov 8, 2021

(Standard links)

@civibot civibot bot added the master label Nov 8, 2021
@demeritcowboy
Copy link
Contributor

Good idea.
Runs ok for me.
I didn't do code review other than to see it only touches api4 explorer files.

@demeritcowboy demeritcowboy merged commit 2b05996 into civicrm:master Nov 9, 2021
@colemanw colemanw deleted the apiExplorerFormat branch November 8, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants