This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Providers\Filament; | |
| // Other imports | |
| use function Filament\Support\original_request; | |
| class AdminPanelProvider extends PanelProvider | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="fi-topbar-ctn"> | |
| @php | |
| use App\Filament\Resources\Catalogs\CatalogResource; | |
| use Filament\Facades\Filament; | |
| use Filament\Livewire\DatabaseNotifications; | |
| use Filament\Livewire\GlobalSearch; | |
| use Filament\Support\Facades\FilamentView; | |
| use Filament\Support\Icons\Heroicon; | |
| use Filament\View\PanelsIconAlias; | |
| use Filament\View\PanelsRenderHook; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Livewire; | |
| use Filament\Actions\Concerns\InteractsWithActions; | |
| use Filament\Actions\Contracts\HasActions; | |
| use Filament\Livewire\Concerns\HasTenantMenu; | |
| use Filament\Livewire\Concerns\HasUserMenu; | |
| use Filament\Schemas\Concerns\InteractsWithSchemas; | |
| use Filament\Schemas\Contracts\HasSchemas; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Providers\Filament; | |
| class AdminPanelProvider extends PanelProvider | |
| { | |
| public function panel(Panel $panel): Panel | |
| { | |
| return $panel | |
| // your other panel config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace OllieChild; | |
| function enqueue_custom_child_block_styles() { | |
| // Scan our styles folder to locate block styles. | |
| $files = glob( get_stylesheet_directory() . '/assets/blocks/*.css' ); | |
| foreach ( $files as $file ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Filament\Traits; | |
| use Filament\Facades\Filament; | |
| trait HasTenantAwareSessionKeys | |
| { | |
| public function getTableFiltersSessionKey(): string | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\Storage; | |
| class CopyToS3Command extends Command | |
| { | |
| protected $signature = 'storage:mirror |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Arr; | |
| use Illuminate\Support\Facades\DB; | |
| use Illuminate\Support\Str; | |
| use Symfony\Component\Console\Helper\ProgressBar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Console\Commands; | |
| use App\Actions\Media\UpdateMediaInfoAction; | |
| use Illuminate\Console\Command; | |
| use Spatie\MediaLibrary\MediaCollections\Models\Media; | |
| class UpdateMediaInfoCommand extends Command | |
| { |
NewerOlder