Here’s a Singleton Pattern implementation in PHP tha will surely come handy in your projects.