Package Data | |
---|---|
Maintainer Username: | dweller |
Maintainer Contact: | devon@tokenly.com (Devon Weller) |
Package Create Date: | 2015-02-13 |
Package Last Update: | 2022-03-09 |
Language: | PHP |
License: | AGPL-3.0-only |
Last Refreshed: | 2024-11-22 03:06:24 |
Package Statistics | |
---|---|
Total Downloads: | 15,134 |
Monthly Downloads: | 7 |
Daily Downloads: | 2 |
Total Stars: | 6 |
Total Watchers: | 4 |
Total Forks: | 1 |
Total Open Issues: | 0 |
An API service provider for Laravel. Used by various Tokenly services.
composer require tokenly/laravel-api-provider
config/api.php
and add a file with settings like the ones below<?php
return [
'userRepositoryClass' => 'App\Repositories\UserRepository',
'userClass' => 'App\Models\User',
];
config/auth.php
and modify the user class // ...
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],
],
// ...