@php $dir = env('GALLERY_BASE_PATH'); $images = array_diff(scandir($dir), array('..', '.')); @endphp