The mining stage refers to the mining and processing activities of phosphate deposits. Phosphorites are found in four areas of Morocco, including Khouribga zone (Oulad Abdoun Plateau), Youssoufia zone (the Gantour Basin), Marrakesh zone (Maskala basin), and Layoune-BouCraa zone ( Boutaleb et al., 2020 ; Hakkou et al., 2016 ).