mirror of https://github.com/hasinhayder/hydra
parent
b8b145c96b
commit
711d2f7fa3
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
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([
|
||||
"message"=>"1.0.0"
|
||||
]);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue