<option value="{{ $category->id }}">{{ str_repeat('ㄴ ', $depth) }}{{ $category->name }}</option>
@if($category->childrenRecursive->count() > 0)
    @foreach($category->childrenRecursive as $child)
        @include('categories.partials.option', ['category' => $child, 'depth' => $depth + 1])
    @endforeach
@endif