[2] Between 1884 and 1886, Mayorga Rivas published his first three-volume anthology, Guirnalda Salvadoreña, which collected biographical information and the works of Salvadoran poets.
In his journalism, Mayorga Rivas collaborated with many notable writers, including Francisco Gavidia, David J. Guzmán, Porfirio Barba Jacob (known as Ricardo Arenales), and José María Peralta Lagos.
[3] In the field of literature, Mayorga Rivas is considered a part of the second wave of romanticism in El Salvador, and also an important promoter of modernismo.
He became a member of the Academia Salvadoreña de la Lengua in 1915, and that year he also published his only book of poetry, Viejo y nuevo.
He also served as Secretary of the Nicaraguan Embassy in Washington D.C., Undersecretary of Foreign Affairs and Public Instruction in Nicaragua, and El Salvador's envoy to the Panamerican Conference in Rio de Janeiro, Brazil.