Canadian Citizenship is a privilege and as such it requires a formal filing including evidence and testing.
Permanent Resident
Resided in Canada for 1095 days during the last 5 years (*in certain cases time spent before becoming a Permanent Resident can be included)
Filed Canadian Income Taxes
Prove your language ability in English and/or French
Canadian test (values, history, symbols, institutions, etc.) https://www.canada.ca/en/immigration-refugees-citizenship/corporate/publications-manuals/discover-canada.html
Criminality can prevent you from filing (case by case basis)
The filing process for citizenship can be completed and mailed in Canada. It is important to consult an experienced immigration professional in order to evaluate your unique situation and provide you with all your options.