Download the PHP package zeichen32/website-info without Composer
On this page you can find all versions of the php package zeichen32/website-info. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zeichen32/website-info
More information about zeichen32/website-info
Files in zeichen32/website-info
Package website-info
Short Description PHP library to retrieve server info from any webpage like installed cms, webserver, etc
License MIT
Informations about the package website-info
Website Info
PHP library to retrieve server information like installed cms, webserver, dns lookup, etc... from any webpage
Requirements:
- PHP 5.4+
- Curl library installed
- allow_url_fopen: On
Install the library
The preferred way to install this library is to use Composer.
Usage
Available parser
Parser | Class | Description |
---|---|---|
Apache | WebsiteInfo\Parser\Webserver\Apache | Try to find information about apache webserver |
Nginx | WebsiteInfo\Parser\Webserver\Nginx | Try to find information about nginx webserver |
IIS | WebsiteInfo\Parser\Webserver\IIS | Try to find information about Microsoft IIS webserver |
Drupal | WebsiteInfo\Parser\CMS\Drupal | Try to find information about installed Drupal CMS |
Joomla | WebsiteInfo\Parser\CMS\Joomla | Try to find information about installed Joomla! CMS |
Magento | WebsiteInfo\Parser\CMS\Magento | Try to find information about installed Magento system |
phpBB | WebsiteInfo\Parser\CMS\PHPBB | Try to find information about installed phpBB system |
Shopware | WebsiteInfo\Parser\CMS\Shopware | Try to find information about installed Shopware system |
Typo3 | WebsiteInfo\Parser\CMS\Typo3 | Try to find information about installed Typo3 CMS |
vBulletin | WebsiteInfo\Parser\CMS\VBulletin | Try to find information about installed vBulletin system |
Wordpress | WebsiteInfo\Parser\CMS\Wordpress | Try to find information about installed Wordpress CMS |
WebsiteInfo\Parser\Analytics\Google | Try to find information about used google ads and analytics | |
Piwik | WebsiteInfo\Parser\Analytics\Piwik | Try to find information about used piwik analytics |
Embed | WebsiteInfo\Parser\Embed\Embed | Try to find embed information |
Lookup | WebsiteInfo\Parser\Lookup | Try to find lookup informations like dns, ip etc. |
Create your own parser
1) Create a new parser that do something with the response
2) Use your parser
Using the result container cache
1) Using the ArrayCache (Memory Cache)
2) If doctrine cache is installed, it can be used to cache the result container using the doctrine cache adapter.
3) If zend cache is installed, it can be used to cache the result container using the zend cache adapter.
How to use a different HttpClient
This library use the Saxulum HttpClientInterface which allows you to simple change the used HttpClient.
For example you want to use Buzz as HttpClient:
1) Add the Buzz adapter to your composer.json:
2) Create a new BuzzClient
All versions of website-info with dependencies
symfony/event-dispatcher Version 2.6.*
symfony/dom-crawler Version 2.6.*
embed/embed Version >=1.8.3 <1.9
webignition/url Version ~1.9
saxulum/saxulum-http-client-interface Version ~1.0
saxulum/saxulum-http-client-adapter-guzzle Version ~1.0
twodevs/cache-interface Version ~1.0