A powerful alternative to var_export(), which can export closures and objects without __set_state()
brick/varexporter has 196 GitHub stars.
It currently ranks #18497 daily, #19328 weekly, #22114 monthly by momentum on Trending Repos; its best-ever rank is #5387.