didbot / didbot-api
API for didbot.com
0.2.1
2016-11-30 15:38 UTC
Requires
- php: >=5.6.4
- laravel/passport: ^1.0
- spatie/laravel-fractal: ^2.0
Requires (Dev)
- orchestra/testbench: ~3.3.0
- phpunit/phpunit: ^5.0
This package is not auto-updated.
Last update: 2024-11-18 16:26:05 UTC
README
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.