PHPackages                             textrazor/textrazor-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. textrazor/textrazor-php

ActiveLibrary[API Development](/categories/api)

textrazor/textrazor-php
=======================

PHP SDK for the TextRazor Text Analytics API

1.0.1(4y ago)2190.2k↓44.6%11[1 issues](https://github.com/TextRazor/textrazor-php/issues)MITPHPPHP &gt;=5.6.0

Since Sep 4Pushed 4y ago5 watchersCompare

[ Source](https://github.com/TextRazor/textrazor-php)[ Packagist](https://packagist.org/packages/textrazor/textrazor-php)[ Docs](https://github.com/TextRazor/textrazor-php)[ RSS](/packages/textrazor-textrazor-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

TextRazor/textrazor-php
=======================

[](#textrazortextrazor-php)

**PHP SDK for the TextRazor Text Analytics API.**

TextRazor offers state-of-the-art natural language processing tools through a simple API, allowing you to build semantic technology into your applications in minutes.

Hundreds of applications rely on TextRazor to understand unstructured text across a range of verticals, with use cases including social media monitoring, enterprise search, recommendation systems and ad targeting.

Read more about the TextRazor API at .

Getting Started
---------------

[](#getting-started)

- Get a free API key from [https://www.textrazor.com](https://www.textrazor.com/signup).

### The classic way

[](#the-classic-way)

- Copy the file `TextRazor.php` into your project and load the class via `require_once 'TextRazor.php';`.

### The Composer way

[](#the-composer-way)

```
composer require textrazor/textrazor-php

```

### Example

[](#example)

- Create an instance of the TextRazor object and start analyzing your text.

```
