mirror of https://github.com/hasinhayder/hydra
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
473 B
18 lines
473 B
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
class HydraController extends Controller {
|
|
public function hydra() {
|
|
return response([
|
|
'message' => 'Welcome to Hydra, the zero config API boilerplate with roles and abilities for Laravel Sanctum. Please visit https://hasinhayder.github.io/hydra to know more.',
|
|
]);
|
|
}
|
|
|
|
public function version() {
|
|
return response([
|
|
'version' => config('hydra.version'),
|
|
]);
|
|
}
|
|
}
|