How to get methods from vendor classes
That's off-topic. But try this:

$ composer require ramsey/uuid


And then put the whole use statement without use into get_class_methods():

ksm(get_class_methods('Ramsey\Uuid\Uuid'));




Putting that into a new ReflectionClass() would actually give you much more useful output:

$class = new ReflectionClass('Ramsey\Uuid\Uuid');
$methods = $class-&gt;getMethods(ReflectionMethod::IS_PUBLIC);
ksm($methods);