New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ahmedabdelaal/filament-json-preview

Preview Json In Formatted Way
27,478 7
Install
composer require ahmedabdelaal/filament-json-preview
Latest Version:v1.0.0
PHP:^8.1|^8.2
Laravel:10 · 11
License:MIT
Last Updated:Jun 3, 2024
Links: GitHub  ·  Packagist
Maintainer: ahmedabdelaal

ahmedabdelaal/filament-json-preview

This package seamlessly integrates the powerful JSONEditor library , enabling developers to easily incorporate a robust JSON editor into their Filament projects. https://github.com/josdejong/jsoneditor

Installation

img.png

You can install the package via composer:

composer require ahmedabdelaal/filament-json-preview

publish the svg icons

php artisan vendor:publish --tag=jsoneditor

Usage

public static function infolist(Infolist $infolist): Infolist
{
        return $infolist->schema([
            JsonPreview::make('logs'),
        ]);
}

enable search in json

JsonPreview::make('logs')->searchable()

show NavigationBar in json

JsonPreview::make('logs')->showNavigationBar()

Contributing

Your contributions are welcome and greatly valued! Please feel free to submit a pull request or create an issue.

Credits

License

The MIT License (MIT). Please see License File for more information.

default

Screenshot
Screenshot

navigation bar

Screenshot

Related Packages

novadaemon/filament-pretty-json

Read-only field to show pretty json in your filamentphp forms

624,862 47
itliusha/filament-pretty-json

Read-only field to show pretty json in your filamentphp forms

9 0
heloufir/filament-leaflet-geosearch

Implementation of LeafLet GeoSearch as a Filament Form Field

2,124 22
webplusm/gallery-json-media

a filament media storing in a Json field

12,218 19
novius/laravel-filament-slug

A Laravel Filament Forms slug field.

3,344 2

Version History

Version Released PHP Laravel License
v1.0.0 ^8.1|^8.2 ^10.0|^11.0 MIT