A laundry basket can help cure onions and garlic, and it can work surprisingly well. The trick has nothing to do with laundry and everything to do with airflow, because freshly harvested bulbs need a dry, airy place where moisture can escape instead of getting trapped around the skins and necks.
That makes a laundry basket an oddly useful garden tool. Its holes allow air to move around the harvest, while the basket keeps bulbs from sitting directly on a damp surface. But tossing a pile of freshly dug onions into a basket and forgetting about them will not magically turn the basket into a curing station. Location, preparation, spacing, and timing still matter, and getting those details right can make the difference between a beautiful storage crop and a basket full of soft, moldy disappointment.