sakanjo / filament-layout-inspector
Visually examine the layout of your Filament app.
Fund package maintenance!
sakanjo
Requires
- php: ^8.2
- filament/filament: ^3.2
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.1
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.3
- pestphp/pest-plugin-livewire: ^2.1
- phpstan/phpstan: ^1.1
This package is auto-updated.
Last update: 2024-10-20 19:48:47 UTC
README
Visually examine the layout of your Filament app.
⨠Help support the maintenance of this package by sponsoring me.
Table of Contents
đĻ Install
- Install the package via composer:
composer require --dev sakanjo/filament-layout-inspector
- Add the plugin's views to your tailwind.config.js file.
content: [ './vendor/sakanjo/filament-layout-inspector/resources/**/*.blade.php', ]
đĻ Usage
<?php // ... use SaKanjo\FilamentLayoutInspector\LayoutInspectorPlugin; public function panel(Panel $panel): Panel { return $panel ->plugin( LayoutInspectorPlugin::make() ->visible(fn () => app()->isLocal()) ->screens([ '4xl' // max-4xl:hidden '5xl' // max-5xl:hidden ]) ); }
đ Support the development
Do you like this project? Support it by donating
Click the "đ Sponsor" at the top of this repo.
Šī¸ Credits
đ License
MIT License Š 2023-PRESENT Salah Kanjo