ahmedabdelaal/filament-json-preview 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ahmedabdelaal/filament-json-preview

最新稳定版本:v1.0.0

Composer 安装命令:

composer require ahmedabdelaal/filament-json-preview

包简介

Preview Json In Formatted Way

README 文档

README

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

search

Screenshot

navigation bar

Screenshot

统计信息

  • 总下载量: 18.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-30