Get package name without namespace and Base class in plugins without phpDoc