🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:Files.php
<?php namespace Laravel\Pail; use Illuminate\Support\Collection; class Files { /** * Creates a new instance of the files. */ public function __construct( protected string $path, ) { // } /** * Returns the list of files. * * @return Collection<int, File> */ public function all(): Collection { $files = glob($this->path.'/*.pail') ?: []; return collect($files) ->map(fn (string $file) => new File($file)); } }
Save Changes
Cancel
Create New File
Create New Folder