Quantum gates designed with minimized resources overhead have a crucial role in quantum information processing. Here, based on the degrees of freedom (DoFs) of photons and 𝚲-type atom systems, two high-fidelity and low-cost protocols are presented for realizing polarization-spatial hyperparallel controlled-not (CNOT) and Toffoli gates on photon systems with only two and four two-qubit polarization-polarization swap (P-P-SWAP) gates in each DoF, respectively. Moreover, the quantum gates can be extended feasibly to construct 2m-target-qubit hyperparallel CNOT and 2n-control-qubit Toffoli gates required only 4m and 4n P-P-SWAP gates on (m + 1)-and (n + 1)-photon systems, respectively, which dramatically lower the costs and bridge the divide between the theoretical lower bounds and the current optimal syntheses for the photonic quantum computing. Further, the unique auxiliary atom of these quantum gates can be regarded as a temporary quantum memory that requires no initialization and measurement, and is reused within the coherence time, as the state of the atom remains unchanged after the hyperparallel quantum computing.