KOA West Chester is the campground most use for Philly. Check out the public transportation before you decide. There are campgrounds in PA north of Philly - one in Quakertown, but no public transportation.
The West Chester KOA has a guided tour shuttle from the campground to Philadelphia that includes Valley Forge.
http://koa.com/campgrounds/philadelphia/