phpvms/app/Http/Controllers/Api/StatusController.php
2017-12-28 22:49:47 -06:00

19 lines
357 B
PHP

<?php
namespace App\Http\Controllers\Api;
use PragmaRX\Version\Package\Facade as Version;
use App\Http\Controllers\AppBaseController;
class StatusController extends AppBaseController
{
public function status()
{
return response()->json([
'version' => Version::compact(),
'php' => PHP_VERSION,
]);
}
}