new chatgpt module for api intergration

This commit is contained in:
Mark Gregory
2026-06-24 09:27:27 +01:00
parent 42f1d10f45
commit c5335dc635
40 changed files with 505 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::middleware('auth:api')->get('/chatgpt', function (Request $request) {
return $request->user();
});