use Illuminate\Filesystem\Filesystem; $filesystem = new Filesystem(); $contents = $filesystem->get('path/to/file.txt'); echo $contents;
use Illuminate\Filesystem\Filesystem; $filesystem = new Filesystem(); $filesystem->put('path/to/file.txt', 'New contents');
use Illuminate\Filesystem\Filesystem; $filesystem = new Filesystem(); $filesystem->delete('path/to/file.txt');This package library is part of Laravel, a popular PHP web application framework.