Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

tighten/laravelversions

98 stars
1 code files
View tighten/laravelversions on GitHub

app/Console/Commands/FetchLatestReleaseNumbers.php

Open in GitHub
use 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(', ');
//
}
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.