Filesystem::allFiles()

array allFiles(string|null $directory = null) Get all of the files from the given directory (recursive). Parameters string|null $directory Return Value array

Filesystem::allDirectories()

array allDirectories(string|null $directory = null) Get all (recursive) of the directories within a given directory. Parameters string|null $directory Return Value array

Filesystem / Cloud Storage

Filesystem / Cloud Storage Introduction Configuration The Public Disk The Local Driver Driver Prerequisites Obtaining Disk Instances Retrieving Files File URLs File Metadata Storing Files File Uploads File Visibility Deleting Files Directories Custom Filesystems Introduction Laravel provides a powerful filesystem abstraction thanks to the wonderful Flysystem PHP package by Frank de Jonge. The Laravel Flysystem integration provides simple to use drivers for working with local filesystems

Filesystem

Filesystem class Filesystem (View source) Traits Macroable

Filesystem

Filesystem interface Filesystem (View source) Constants VISIBILITY_PUBLIC The public visibility setting. VISIBILITY_PRIVATE The private visibility setting.

Filesystem

Illuminate\Filesystem Classes Filesystem FilesystemServiceProvider

FileStore::__construct()

void __construct(Filesystem $files, string $directory) Create a new file cache store instance. Parameters Filesystem $files string $directory Return Value void

FileStore::putMany()

void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. Parameters array $values float|int $minutes Return Value void

FileStore::put()

void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void

FileStore::many()

array many(array $keys) Retrieve multiple items from the cache by key. Items not found in the cache will have a null value. Parameters array $keys Return Value array