Skip to content

Instantly share code, notes, and snippets.

@inmanturbo
Created February 8, 2024 07:18
Show Gist options
  • Save inmanturbo/2f9d3adb29ae5091379f92caf350dd5d to your computer and use it in GitHub Desktop.
Save inmanturbo/2f9d3adb29ae5091379f92caf350dd5d to your computer and use it in GitHub Desktop.
foreach (File::glob(base_path('.www').'/[0-9]*', GLOB_ONLYDIR) as $version) {
// foreach (File::glob(base_path('.www').'/[0-9]*', GLOB_ONLYDIR) as $version) {
// $version = basename($version);
// Folio::path(base_path('.www/'.$version))
// ->uri('/v'.$version)
// ->middleware([
// 'web',
// 'auth:sanctum',
// config('jetstream.auth_session'),
// 'verified',
// ]);
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment