Any person or persons, who shall fail to comply with any of the provisions of this act, regarding the procuring of a license or certificate to engage in or work at the business of plumbing or house drainage, cesspools, water piping, and fixtures attached thereto, directly or indirectly connected to the city service water supply, additions, alterations, and repairs to plumbing, house drainage, water piping, cesspools, wastes, traps or vents, shall, upon summary conviction before a magistrate, or upon conviction in a court of record, for the first offense committed by such person or persons pay the cost of prosecution and enter a bond of two years' duration of an approved surety company, approved by the court of common pleas of the county, in the sum of five hundred dollars ($500), to the city in which said offense shall have been committed, conditioned that he will not violate any of the provisions of said acts of Assembly thereafter, if the violator shall fail to procure a bond, he shall be committed to the county jail for thirty days, and, upon any subsequent violation of any provision of this act, the magistrate must hold the person or persons for the next term of court, and, upon conviction, the said bond shall be forfeited to said city: Provided, That such person or persons shall be liable to a fine of fifty dollars for each and every day he or they shall engage in or work at said business, without having first obtained the certificate and license, as herein set forth, and at the discretion of the court shall be imprisoned for a period not exceeding twelve months.
53 P.S. § 14857