2017 © Pedro Peláez
 

library whatcms-php

A simple PHP wrapper for WhatCMS API calls

image

whatcms/whatcms-php

A simple PHP wrapper for WhatCMS API calls

  • Wednesday, December 13, 2017
  • by WhatCMSAdmin
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,613 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

WhatCMS PHP API

A simple PHP wrapper for WhatCMS API calls, (*1)

Installation

We recommended installing whatcms-php through Composer., (*2)

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of WhatCMS:, (*3)

php composer.phar require whatcms/whatcms-php

Once installed, you can use the WhatCMS class to fetch results:, (*4)

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)

The Versions

13/12 2017

dev-master

9999999-dev https://whatcms.org/

A simple PHP wrapper for WhatCMS API calls

  Sources   Download

MIT

The Requires

 

13/12 2017

v0.1

0.1.0.0 https://whatcms.org/

A simple PHP wrapper for WhatCMS API calls

  Sources   Download

MIT

The Requires