You can easily build this circuit on a general purpose PCB and enclose in a protected box. The box needs to have sufficient area for installing transformer X1 and also two relays. It could be installed near 230V AC, 50Hz power supply or mounted on the PVC tube applied in assembly of the traffic light box.
In the electrical sector, a schematic diagram is usually used to describe the design or model of equipment. Schematic diagrams are usually utilized for the maintenance and repair of electronic and electromechanical devices / units. Original schematics were made by hand, using standardized templates or pre-printed adhesive symbols, but nowadays Electrical CAD computer software is often used.
In electronic design automation, until the 1980s schematics were virtually the only formal representation for circuits. More lately, using the progress of computer system technology, other representations were introduced and specialized computer languages were developed, because with the explosive development of the complexity of electronic circuits, classic schematics are getting less practical. As an example, hardware description languages are indispensable for contemporary digital circuit design.