It is actually fairly easy to find Legislative information for the federal and state governments online. The federal government had offered a number of resources available through the Library of Congress THOMAS database. THOMAS went live in 1995 and the platform needed to be replaced with some a little more current and user friendly, hence that is being replaced by the new Congress.gov. There are things that are not yet on Congress.gov that are still on THOMAS, so search both depending on what you are looking for. Congressional biographies, the Congressional Record, legislation, and information on how the legislative process works can all be found at these sites. Currently, Congress.gov only has legislative information going back to 2001.
Legislative information for the Commonwealth of Pennsylvania can be found at the General Assembly’s website. They have information on bills dating back to 1969-1970.