Files
rkm-conectasus-ci-sandbox/api/app/Utils/ComposerJson.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

17 lines
270 B
PHP

<?php
namespace App\Utils;
class ComposerJson
{
public static function getVersion()
{
return self::getJson()->version;
}
public static function getJson()
{
return json_decode(file_get_contents(base_path('composer.json')));
}
}