Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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]
- Host: GitHub
- URL: https://github.com/laravel-moris/laradevs-api
- Owner: Laravel-Moris
- Created: 2024-09-01T08:12:48.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-01T08:13:40.000Z (4 months ago)
- Last Synced: 2024-11-16T05:27:20.944Z (about 1 month ago)
- Topics: africa, community, laravel, livestream, mauritius
- Language: PHP
- Homepage: https://youtu.be/EFtrbfub3wU?t=5390
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();
```