Preheat the oven to 400°F. Grease a 9x13-inch baking dish.
Sprinkle a small amount of salt lightly over the zucchini and let sit for 10 minutes to draw out moisture. Pat dry with paper towels.
In a skillet over medium heat, sauté onion and garlic in olive oil until softened.
In a large mixing bowl, combine the sautéed onion and garlic, sliced zucchini, beaten eggs, heavy cream, salt, and pepper. Mix well to ensure even distribution of the ingredients.
Pour the zucchini mixture into the prepared baking dish. Sprinkle evenly with shredded cheddar cheese.
Mix panko breadcrumbs with melted butter and sprinkle over the top of the casserole.
Cover with foil and bake in the preheated oven for 20 minutes. Remove the foil and bake for an additional 10 minutes, or until the top is golden brown and the casserole is set. If needed, broil at the end of cooking to give it a deeper golden color.