PHP code example of stechstudio / laravel-vfs-adapter
1. Go to this page and download the library: Download stechstudio/laravel-vfs-adapter library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stechstudio / laravel-vfs-adapter example snippets
public function register()
{
if ($this->app->environment() === 'testing') {
if (class_exists(VfsFilesystemServiceProvider::class)) {
$this->app->register(VfsFilesystemServiceProvider::class);
}
}
}