new companies Module

This commit is contained in:
Mark Gregory
2026-07-02 10:36:12 +01:00
parent b8a9ab2e24
commit b87036e1a2
40 changed files with 503 additions and 11 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('/company', function (Request $request) {
return $request->user();
});