Every city of the second class shall have power, for general revenue purposes, to levy and collect a license tax, to be fixed by ordinance, upon street railways, hack drivers, auctioneers, and all and every corporation, company or individual doing business in said city, payable annually, and to regulate the collection of the same.
53 P.S. § 23107