PHPackages                             asink/asink-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. [HTTP &amp; Networking](/categories/http)
4. /
5. asink/asink-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

asink/asink-php
===============

A PHP client for communicating with Asink

034PHP

Since Oct 28Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Asink PHP
=========

[](#asink-php)

A simple PHP client library for [Asink](https://github.com/GroundSix/asink).

### Usage

[](#usage)

#### Start Asink

[](#start-asink)

```
$ asink server
[asink] listening on :3000
```

Install package via composer

```
"require": {
    "asink/asink-php": "dev-master"
}
```

#### Using Laravel?

[](#using-laravel)

Add the service provider in `app/config/app.php`

```
'providers' => [
    'Asink\Component\AsinkServiceProvider'
];
```

And you can also add the Facade if you'd like

```
'aliases' => [
    'Asink' => 'Asink\Component\AsinkFacade'
];
```

With [Asink](https://github.com/groundsix/asink) installed and running, in Laravel you can run command like so:

```
