public static @Nullable String getDirPathRelativeToProjectBaseDir(@NotNull PsiDirectory directory) {
    VirtualFile dirVfile = directory.getVirtualFile();
    VirtualFile baseDir = directory.getProject().getBaseDir();
    return baseDir != null ? VfsUtilCore.getRelativePath(dirVfile, baseDir) : null;
  }
public static @Nullable String getDirPathRelativeToProjectBaseDir(@NotNull PsiDirectory directory)