whatcms / whatcms-php
A simple PHP wrapper for WhatCMS API calls
v0.1
2017-12-13 04:30 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2026-03-29 12:46:48 UTC
README
A simple PHP wrapper for WhatCMS API calls
Installation
We recommended installing whatcms-php through Composer.
# Install Composer curl -sS https://getcomposer.org/installer | php
Next, run the Composer command to install the latest stable version of WhatCMS:
php composer.phar require whatcms/whatcms-php
Once installed, you can use the WhatCMS class to fetch results:
require 'vendor/autoload.php'; $key = 'Your API Key'; $detector = new \WhatCMS\WhatCMS($key); $check_url = 'en.wikipedia.org'; $result = $detector->CheckUrl($check_url); print_r($result)