Preheat the oven: Set the oven to 350°F. Line a baking sheet with parchment paper.
Prepare the spinach: Thaw the frozen chopped spinach completely. Place it in a thin kitchen towel or nut milk bag and squeeze thoroughly to remove excess water.
Sauté the aromatics: Melt 6 tablespoons of butter in a sauté pan. Add the chopped scallions or onion and fresh dill. Sauté until the onions are tender.
Mix the filling: Beat the three eggs in a large mixing bowl. Add the prepared spinach, sautéed scallions and dill, crumbled feta, cottage cheese, and grated Pecorino or Parmesan. Mix until evenly combined.
Melt the remaining butter: Melt the remaining butter in a separate container for brushing the phyllo pastry.
Prepare the phyllo: Unroll the thawed phyllo dough on a clean work surface. Place one sheet on a cutting board and brush generously with melted butter. Lay a second sheet on top and brush it with butter as well. Keep the remaining phyllo covered with a towel to prevent drying.
Cut the strips: Cut the two layered sheets into strips approximately 3 inches wide. You will generally get about six strips.
Add the filling: Place approximately one tablespoon of spinach mixture at the bottom of each strip, leaving a small border along the bottom edge.
Fold the triangles: Fold the bottom-right corner diagonally toward the left. Fold the bottom-left corner straight upward. Continue alternating the diagonal and straight folds, working upward until the filling is completely enclosed in a triangular shape.
Arrange the pastries: Place each completed triangle on the prepared parchment-lined baking sheet.
Brush the tops: Brush the surface of each triangle with melted butter.
Repeat: Continue layering, buttering, cutting, filling, and folding the remaining phyllo sheets until all the filling and pastry have been used.
Bake: Transfer the baking sheet to the preheated oven. Bake for approximately 20–25 minutes, until the pastries are puffed and golden.
Serve: Allow the mini spanakopita pies to cool slightly before serving.