2017 © Pedro Peláez
 

library intellexer-php

Intellexer PHP SDK

image

effective-soft/intellexer-php

Intellexer PHP SDK

  • Monday, January 8, 2018
  • by inri13666
  • Repository
  • 0 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

Intellexer PHP SDK

Provides easy-to-use wrappers for main Intellexer API semantics products., (*1)

Installing via composer:, (*2)

composer require effective-soft/intellexer-php

Example usage:, (*3)

<?php
require_once 'vendor/autoload.php';

$intellexerClient = new \EffectiveSoft\Intellexer\IntellexerClient('YOUR_API_KEY');

$linguisticProcessor = new \EffectiveSoft\Intellexer\LinguisticProcessor($intellexerClient);
$url = 'https://www.intellexer.com/';
var_dump($linguisticProcessor->analyzeText(file_get_contents($url)));

Example usage with logger:, (*4)

<?php
require_once 'vendor/autoload.php';

$logFile = sprintf('%s/%s.log', sys_get_temp_dir() . DIRECTORY_SEPARATOR, 'intellexer_api');
$logger = new \Monolog\Logger('intellexerApi');
$logger->pushHandler(
    new \Monolog\Handler\StreamHandler(
        $logFile,
        \Monolog\Logger::DEBUG,
        null,
        0777
    )
);
$intellexerClient = new \EffectiveSoft\Intellexer\IntellexerClient('YOUR_API_KEY');
$intellexerClient->setLogger($logger);
$linguisticProcessor = new \EffectiveSoft\Intellexer\LinguisticProcessor($intellexerClient);
$url = 'https://www.intellexer.com/';
var_dump($linguisticProcessor->analyzeText(file_get_contents($url)));
var_dump(file_get_contents($logFile));

The Versions

08/01 2018

dev-master

9999999-dev https://www.intellexer.com/

Intellexer PHP SDK

  Sources   Download

WTFPL

The Requires

 

The Development Requires

08/01 2018

v0.1

0.1.0.0 https://www.intellexer.com/

Intellexer PHP SDK

  Sources   Download

WTFPL

The Requires

 

The Development Requires