didbot / didbot-api by benbjurstrom

API for didbot.com
11
0
2
Package Data
Maintainer Username: benbjurstrom
Maintainer Contact: ben@jelled.com (Ben Bjurstrom)
Package Create Date: 2016-11-21
Package Last Update: 2017-04-15
Language: PHP
License: MIT
Last Refreshed: 2024-03-24 03:15:38
Package Statistics
Total Downloads: 11
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

didbot-api

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.