didbot/didbot-api

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

API for didbot.com

0.2.1 2016-11-30 15:38 UTC

This package is not auto-updated.

Last update: 2021-11-22 01:00:17 UTC


README

Build Status API for didbot.com or a self hosted didbot application.

Installation

Install the package via composer:

composer require didbot/didbot-api

Add the service provider to the config/app.php providers array

// config/app.php
'providers' => [
    ...
    Didbot\DidbotApi\ApiServiceProvider::class
];

Finally add the Didbot\DidbotApi\Traits\HasDids trait to the User model.

use Didbot\DidbotApi\Traits\HasDids;

class User
{
    use HasDids;

    // ...
}

Database

To take advantage of full text search the recommended database is postgresql.