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
Response
indexDirectories(Request $request, string $disk)
List directories in a storage disk.
Response
indexImages(Request $request, string $disk)
List images in a storage disk.
Response
indexVideos(Request $request, string $disk)
List videos in a storage disk.
Response
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
Response
indexDirectories(Request $request, string $disk)
List directories in a storage disk.
at line 87
Response
indexImages(Request $request, string $disk)
List images in a storage disk.
at line 119
Response
indexVideos(Request $request, string $disk)
List videos in a storage disk.
at line 137
protected Response
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.