I can’t seem to find any usable documentation on using the Management API through the PHP SDK.
I found a single example here:
However, this is just for making an initial request. Isn’t there some sort of doc which shows all the available PHP methods and what they do? The various Auth0 tooling docs just seem extremely confusing and laughably complex.
Demonstrated in the README is an example of how you can get all users from the /users endpoint. Given the size of the Management API it isn’t feasible to document every endpoint in the README, but if you’re using an IDE that understands PHP such as VSCode or phpStorm it will hint all the classes, methods and parameters for you from our included docblocks.
You can also use our API reference linked on the GitHub repo: Auth0-PHP
Thanks, @evansims .
Yeah, I’m using the example for getting all users to prove my connection is working. I just need to do all sorts of other things, so that one example didn’t get me very far.
I’ll investigate further into getting type hinting to work. That’s my answer. Thank you for suggesting that.
I understand your point about manually documenting all methods and its impracticality. I think I was just expecting some sort of automated API reference for PHP. Maybe something like Swagger does.
I wanted to follow up again and say that your second link seems to have gotten me most of what I had been looking for in the first place! I had found that in my search, but didn’t quite understand the structure in order to find what I was looking for.