PHPackages                             dbatten5/textline-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. dbatten5/textline-php

ActiveLibrary[API Development](/categories/api)

dbatten5/textline-php
=====================

PHP client for the Textline API

1.0(7y ago)031↓100%2PHP

Since Mar 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dbatten5/textline-php)[ Packagist](https://packagist.org/packages/dbatten5/textline-php)[ RSS](/packages/dbatten5-textline-php/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Textline PHP
============

[](#textline-php)

Setup
-----

[](#setup)

Using composer:

```
composer require dbatten5/textline-php
```

Usage
-----

[](#usage)

### Authentication

[](#authentication)

When initializing the client you must provide your api key (obtained [here](https://application.textline.com/organization/api_settings)) and email and password of the agent you want represented by your API requests. This will make a request to the Textline API to retrieve an authentication token which will then automatically be attached to all subsequent requests to the api. If you already know your token you may pass it in as the fourth argument.

```
