# Real Management API docs for PHP SDK?

**URL:** <https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261>\
**Category:** Get Help\
**Tags:** auth0-php, laravel, php\
**Created:** [September 25, 2022, 4:56pm UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261 "2022-09-25T16:56:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david29](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david29/32/33194_2.png) [@david29](https://community.auth0.com/u/david29)\
**Post date:** [September 25, 2022, 4:56pm UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/1 "2022-09-25T16:56:37Z")

</div>

I can’t seem to find any usable documentation on using the Management API through the PHP SDK.  
I found a single example here:

> <https://github.com/auth0/auth0-PHP/blob/main/README.md#documentation>

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.

What am I missing here?

(I’m using Laravel 9 and the Auth0-PHP package)

---

<div class="post-metadata">

**Author:** ![evansims](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evansims/32/27011_2.png) [@evansims](https://community.auth0.com/u/evansims)\
**Post date:** [September 25, 2022, 6:57pm UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/2 "2022-09-25T18:57:46Z")

</div>

Hi @david29 👋

An example of initializing the Management API class is available in the README: [auth0-PHP/README.md at main · auth0/auth0-PHP · GitHub](https://github.com/auth0/auth0-PHP/blob/main/README.md#using-the-management-api)

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](https://auth0.github.io/auth0-PHP/namespaces/auth0-sdk-api-management.html)

Finally, you can reference the QuickStart for an example usage of the Management API: [auth0-php-web-app/Management.php at 8331f9357da702adff0286772d3c2505a2156064 · auth0-samples/auth0-php-web-app · GitHub](https://github.com/auth0-samples/auth0-php-web-app/blob/8331f9357da702adff0286772d3c2505a2156064/app/src/Example/Management.php#L37)

---

<div class="post-metadata">

**Author:** ![david29](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david29/32/33194_2.png) [@david29](https://community.auth0.com/u/david29)\
**Post date:** [September 25, 2022, 11:06pm UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/3 "2022-09-25T23:06:34Z")

</div>

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.

Anyway, thank you again.

---

<div class="post-metadata">

**Author:** ![david29](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david29/32/33194_2.png) [@david29](https://community.auth0.com/u/david29)\
**Post date:** [September 26, 2022, 1:47am UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/4 "2022-09-26T01:47:22Z")

</div>

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.

Anyway, between code completion and the API reference, I’m off to the races!  
[https://auth0.github.io/auth0-PHP/namespaces/auth0-sdk-api-management.html](https://auth0.github.io/auth0-PHP/namespaces/auth0-sdk-api-management.html)

Apologies for my rather frustrated initial query. The fact that someone at Auth0 replied on a Sunday is not lost on me.

Thank you again.

---

<div class="post-metadata">

**Author:** ![evansims](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evansims/32/27011_2.png) [@evansims](https://community.auth0.com/u/evansims)\
**Post date:** [September 26, 2022, 8:56am UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/5 "2022-09-26T08:56:34Z")

</div>

No worries at all @david29, I’m glad I could help! Don’t be afraid to reach out if you have further questions

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 26, 2024, 11:54pm UTC](https://community.auth0.com/t/real-management-api-docs-for-php-sdk/91261/6 "2024-11-26T23:54:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
