Inpastyears,rare-earth-dopedfluoridefiberlasers(FFLs)havedevelopedrapidlyinthemid-infrared(mid-IR)region.However,duetothelackoffiberopticdevicesandchallengeoffluoridefibersplicing,mostmid-IRFFLshavebeendemonstratedwithfree-spaceopticelements,limitingtheadvantagesofall-fiberlasersforflexibledelivery,stability,andcompactness.Here,wereport,tothebestofourknowledge,thefirstpulsedall-fiberFFLinthemid-IRregion.Bytakingadvantageoftheintegrationofblackphosphorusflake,stableQ-switchedandmode-lockedpulseswereobtainedat2.8μmwavelength.Webelievethatthisall-fiberdesignwillpromotetheapplicationofpulsedFFLinthemid-IRregion.