Legal requirements are just a medical and an instructor endorsement.
Note that typically schools have additional requirements, such as Air Low done & dusted. Also, an instructor endorsement is typically only valid for a specific flight, on a specific aircraft, on a specific date, and with a specific target in mind. Next flight, new endorsement.