The generation and integration of photovoltaic power plants (PVPPs) into the utility grid have increased dramatically over the past two decades. In this sense, and to ensure a high quality of the PVPPs generated power as well as a contribution on the power system security and stability, some of the new power quality requirements imposed by different grid codes and standards in order to regulate the installation of PVPPs and ensure the grid stability. This study aims to investigate the recent integration requirements including voltage sag, voltage flicker, harmonics, voltage unbalance, and frequency variation. Additionally, compliance controls and methods to fulfill these requirements are developed. In line with this, a large-scale three-phase grid-connected PVPP is designed. A modified inverter controller without the use of any extra device is designed to mitigate the sage incidence and achieve the low-voltage ride-through requirement. It can efficiently operate at normal conditions and once sag or faults are detected, it can change the mode of operation and inject a reactive current based on the sag depth. A dynamic voltage regulator and its controller are also designed to control the voltage flicker, fluctuation, and unbalance at the point of common coupling between the PVPP and the grid. The voltage and current harmonics are reduced below the specified limits using proper design and a RLC filter. The obtained results show that the proposed controller fulfilled the recent standard requirements in mitigating power quality (PQ) events. Thus, this study can increase the effort towards the development of smooth PVPP integration by optimizing the design, operation and control strategies towards high PQ and green electricity.