A crucial aspect of wormhole (WH) physics is the inclusion of exotic matter, which requires violating the null energy condition. Here, we explore the potential for WHs to be sustained by quark matter under conditions of extreme density along with the phantom-like generalized cosmic Chaplygin gas (GCCG) in symmetric teleparallel gravity. Theoretical and experimental studies on baryon structures indicate that strange quark matter, composed of u (up), d (down), and s (strange) quarks, represents the most energy-efficient form of baryonic matter. Drawing from these theoretical insights, we use the Massachusetts Institute of Technology (MIT) bag model equation of state to characterize ordinary quark matter. By formulating specific configurations for the bag parameter, we develop several WH models corresponding to different shape functions for the isotropic and anisotropic cases. Our analysis strongly suggests that an isotropic WH is not theoretically possible. Furthermore, we investigate traversable WH solutions utilizing a phantom-like GCCG, examining their feasibility. This equation of state, capable of violating the null energy condition, can elucidate late-time cosmic acceleration through various beneficial parameters. In this framework, we derive WH solutions for both constant and variable redshift functions. We have employed the volume integral quantifier (VIQ) method for both studies to assess the quantity of exotic matter. Furthermore, we have done the equilibrium analysis through the Tolman–Oppenheimer–Volkoff (TOV) equation, which supports the viability of our constructed WH model.