For the most current information on the Pennsylvania homeschool laws, see PA Homeschool Law information published on the Home School Legal Defense Association (HSLDA) website. In Pennsylvania, the homeschool law is written for those who are homeschooled.
You can also visit the Pennsylvania Homeschool Education Association's link for PA Home Education.
Children enrolled in a charter or cyber school fall under the public school jurisdiction, and do not fall under the law which is linked below. Children in a charter or cyber school are under the jurisdiction of that public school, and the schooling is set by that public school. It is the same with children receiving homebound public school instruction, or children enrolled in a public school. Children enrolled in a private school are under the private school law.
In contrast, homeschoolers have an educational program set by their parents and are obliged to follow the tenets of the homeschool law.
Check out the complete text of the law. Read and be familiar with the law itself. (It's not that long, after all...)
This link provides a lot of information to get you started with and to continue homeschooling. It provides sample affidavits, sample objectives, information on Pennsylvaniz law, and more. https://homeschoolpennsylvania.org