Ex-NYPD Chief of Department Philip Banks is among a slew of current and former ex-cops named by the feds as “unindicted co-conspirators” in a pending police corruption case.

Prosecution court papers say Banks “influenced” the 2014 promotion of former Deputy Inspector James Grant — who faces trial next month — as well as that of ex-Det. Michael Milici, who’s also listed among the alleged co-conspirators.

The Friday filing says Banks also influenced the transfers of about six other cops and helped arrange a police escort for a pal of Jona Rechnitz, a former fund-raiser for Mayor de Blasio-turned-prosecution witness.

According to a previously filed FBI affidavit, Rechnitz was caught on a 2015 wiretap talking to fellow de Blasio donor and Grant co-defendant Jeremy Reichberg, who said that with Banks’ help “we got Jimmy promoted.”

The allegations against Banks all involve a former subordinate, ex-Deputy Chief Michael Harrington, who had been scheduled to stand trial with Grant until he scored a sweetheart plea bargain last month.

They also came days after The Post exclusively revealed that an FBI investigation found about $300,000 in “unexplained” cash deposits into Banks’ accounts between 2007 and 2013.

Banks, who retired rather than accept a promotion to first deputy commissioner amid the probe — was never charged in connection with the undeclared mystery transactions or another $245,000 in rental income he didn’t report to the IRS.

The designation “unindicted co-conspirator” refers to someone that prosecutors believe was involved in an illegal scheme, but opted not to charge with a crime.

Grant is charged with providing official favors in exchange for gifts and other payoffs from Rechnitz and Reichberg, including a 2013 group trip to Las Vegas with a hooker dressed up like a flight attendant. Sources have told The Post that Milici was among those aboard the private plane.

The filing does not mention the mile-high sexcapade, but alleges Milici and another unindicted co-conspirator, Lt. Michael Andreano once went to Reichberg’s home “in order to reprimand a neighbor’s contractor.”

In addition to Andreano, two others on the list — Deputy Chief James McCarthy and Inspector Brian McGinn — are still active-duty cops, according to the NYPD.

The list also includes three former high-ranking cops — ex-deputy chiefs Andrew Capul, David Colon and Eric Rodriguez — who retired rather than face disciplinary charges.

Also named is Floral Park (LI) Police Commissioner Stephen McAllister, a retired NYPD cop, who’s accused of “interference” in three arrests of an unidentified Reichberg associate in 2014 and 2015.

McAllister’s name first surfaced in connection with alleged corruption during last year’s trial of former correction union president Norman Seabrook, when Rechnitz said McAllister was among several cops he flew to Miami for a 2013 college football championship game — and “entertainment” by prostitutes.

Banks’ lawyer, Benjamin Brafman, said that Banks “has never been charged with any criminal offense, nor has he ever even been interviewed by either the government or the defense.”