The existing distribution networks were not originally designed to accommodate the extensive infrastructure of electric vehicle (EV) charging, potentially leading to power quality (PQ) issues at the point of common coupling (PCC). To address this, a two-mode, unit template-based synchronous reference frame hysteresis current-controlled (SRF-HCC) three-phase Level 2 EV charger is proposed. In the first mode (G2V), the focus is on charging the EV battery from the grid, utilizing current and voltage control techniques to enhance battery life and performance. The second mode (V2G) enables the discharge of the EV's stored energy to the grid, allowing the sale of power to support transient effects on the grid voltage and frequency, thereby enhancing the grid's PQ. The hysteresis current control (HCC) generates switching pulses for both the AC-DC and buck-boost converters. The SRF-based unit template-based control (SRF-UTC) method ensures system stability, voltage, and frequency regulation for power exchange with the grid. The proposed EV charger system consists of a 3-phase bidirectional AC-DC converter, a bidirectional buck-boost converter, and a filter circuit. The system's performance was evaluated through MATLAB/Simulink modeling in two case studies.