-
app/Console/Commands/FetchLatestReleaseNumbers.php
Open in GitHubuse Illuminate\Console\Command; class FetchLatestReleaseNumbers extends Command { // private function fetchVersionsFromGitHub() { return cache()->remember('github::laravel-versions', 60 * 60, function () { $tags = collect(); do { // Format the filters at runtime to include pagination $filters = collect($this->defaultFilters) ->map(function ($value, $key) { return "{$key}: $value"; }) ->implode(', '); // } }