Optofluidics is exploited in an all-fiber component to detect and identify through fluorescence particles flowing at high rate and inertially focused in a capillary. The system represents a first step towards an in-fiber flow cytometer.