Cmd/Ctrl + K

File storage

Annabel exposes filesystem disks through storage().

Usage

Resolve a configured disk and perform operations relative to its root.

Use the default disk by omitting the disk name:

Configuration

Configure disks in config/filesystem.php. The local filesystem protects its configured root and rejects paths that escape it.

The currently supported filesystem driver is local.

File operations

The filesystem API supports reading, writing, copying, moving, and deleting files.

Metadata

Inspect file metadata without exposing the disk's underlying storage path.

Directories

Create, inspect, and remove directories through the same disk abstraction.