A Pennsylvania college student allegedly ran a marijuana-dealing operation out of his dorm room — and promoted the illicit venture through homemade fliers posted in the hallways, according to a new report.

West Chester University student Zachary Given, 19, of Coatesville, posted fliers with the message, “Yerrrrr if you need edibles or carts hit up your neighbor Zac in 301…,” according to an affidavit of probable cause filed in his arrest Sunday, and obtained by the Philadelphia Inquirer.

He also kept a BB gun in his dorm room for protection, authorities said.

Campus cops discovered Given’s not-so-hidden operation when they responded to the Brandywine Hall dorm for reports of underage drinking, according to the report.

Given was sleeping inside the room where the drinking was taking place, authorities told the paper.

Police found vape cartridges labeled as containing THC, and a glass bong, next to his bed, officials said.

Then they also found the fliers — which encouraged students to contact Given through Snapchat.

They uncovered pot, THC-infused baked goods and the BB gun during a further search that Given had consented to, according to the report.

Given was charged with felony drug possession with intent to deliver and related offenses, according to the Inquirer.

He was released Wednesday morning after posting 10 percent of his $50,000 bail, the paper reported.

University spokeswoman Nancy Santos Gainer told the Inquirer she couldn’t comment on Given’s enrollment status or any potential discipline due to federal privacy rules.

But in a statement, she said Given’s alleged actions were “not in keeping with the culture at WCU and go against the inherent values of our community.”

“As a public safety practice, the university community is often reminded, ‘If you see something, say something,’” she added. “The university applauds the individual who called in the tip, and WCU police officers who took immediate action to cease the unacceptable activity.”