Biocompatible pH responsive sol-gel nanosensors can be incorporated into poly(lactic-co-glycolic acid) (PLGA) electrospun scaffolds. The produced self-reporting scaffolds can be used for in situ monitoring of microenvironmental conditions whilst culturing cells upon the scaffold. This is beneficial as the 3D cellular construct can be monitored in real-time without disturbing the experiment.