BrowserController
class BrowserController extends Controller
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
from
Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from
Controller
array
indexDirectories(Request $request, string $disk)
List directories in a storage disk.
array
indexImages(Request $request, string $disk)
List images in a storage disk.
array
indexVideos(Request $request, string $disk)
List videos in a storage disk.
array
indexFiles(Request $request, string $disk, string $regex)
List files filtered by a regex in a storage disk.
array
removePrefix(string $prefix, array $list)
Removes a prefix from all strings in an array.
Details
in
Controller at line 21
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
in
Controller at line 15
protected RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line 38
array
indexDirectories(Request $request, string $disk)
List directories in a storage disk.
at line 87
array
indexImages(Request $request, string $disk)
List images in a storage disk.
at line 119
array
indexVideos(Request $request, string $disk)
List videos in a storage disk.
at line 137
protected array
indexFiles(Request $request, string $disk, string $regex)
List files filtered by a regex in a storage disk.
at line 162
protected array
removePrefix(string $prefix, array $list)
Removes a prefix from all strings in an array.