Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laravel-moris/laradevs-api

API backend for Laradevs - [Livestream August 31 2024]
https://github.com/laravel-moris/laradevs-api

africa community laravel livestream mauritius

Last synced: 28 days ago
JSON representation

API backend for Laradevs - [Livestream August 31 2024]

Awesome Lists containing this project

README

        

### Create User token

```php
use App\Models\User;

$user = User::find(1);

$token = $user->createToken('my-token', [
'create-developer',
'read-developer',
'update-developer',
'delete-developer',
]);

$token->plainTextToken;
```

### GET Developers
`GET https://laradevs.test/api/v1/developers`

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken('')->get('https://laradevs.test/api/v1/developers');

$response->json();
```