This is a simple class for web fetching from your application. This class fetch a web page by opening socket connection to the remote host and make HTTP request. The main advantage is it doesn't have any dependencies so you can easily use it with your code. It's an alternative if your server doesn't have PHP with Curl enabled, or your PHP configuration doesn't allow opening URLs with fopen(). Visit to see the demo.