Skip to main content

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

Read more here

filamentphp/filamentadmin.com

190 stars
1 code files
View filamentphp/filamentadmin.com on GitHub

app/Models/DocumentationVersion.php

Open in GitHub
class DocumentationVersion extends Model
{
//
public function getRows(): array
{
return collect(config('documentation'))
->map(function (array $version, int $versionNumber): array {
return [
'id' => $versionNumber,
'name' => "v{$versionNumber}.x",
'slug' => "{$versionNumber}.x",
];
})
->values()
->toArray();
}
//
}

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.