Sitemap for custom based php website

Hey I have a custom based website and I want to have a sitemap which is auto generated. One of my developer created a sitemap but we have to link our pages than it starts working . I want sitemap which is auto generated for stand alone pages too. (edited by moderator)