PHPackages                             stephanus-tantiono/json-column-for-backpack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. stephanus-tantiono/json-column-for-backpack

ActiveLibrary[Admin Panels](/categories/admin)

stephanus-tantiono/json-column-for-backpack
===========================================

A Json Column column for Backpack

1.0.0(3y ago)0171[2 issues](https://github.com/stephanus-tantiono/json-column-for-backpack/issues)MITBlade

Since May 23Pushed 3y ago3 watchersCompare

[ Source](https://github.com/stephanus-tantiono/json-column-for-backpack)[ Packagist](https://packagist.org/packages/stephanus-tantiono/json-column-for-backpack)[ Docs](https://github.com/stephanus-tantiono/json-column-for-backpack)[ RSS](/packages/stephanus-tantiono-json-column-for-backpack/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

JSON Column for Backpack 5
==========================

[](#json-column-for-backpack-5)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c4493c7375757a8a76a1492b9dfce681279b231cf8cf0a9024cd51b6ffbcdd49/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374657068616e75732d74616e74696f6e6f2f6a736f6e2d636f6c756d6e2d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephanus-tantiono/json-column-for-backpack)[![Total Downloads](https://camo.githubusercontent.com/7ec09b4780a83fb7264a8616bf51d859abbd3b6d53be21d44e8f849f087725d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657068616e75732d74616e74696f6e6f2f6a736f6e2d636f6c756d6e2d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephanus-tantiono/json-column-for-backpack)

This package provides an advanced `json` column type for the [Backpack for Laravel](https://backpackforlaravel.com/) administration panel. The main features as opposed to Backpack's stock `json` column are that:

- you can expand and collapse values in the json keys;
- the keys and values are of a different colours;

If your JSON is small, [the `json` column in backpack core](https://github.com/Laravel-Backpack/CRUD/pull/1951) is likely sufficient for your needs. But if you have a large JSON, this column will really shine.

Screenshots
-----------

[](#screenshots)

[![https://user-images.githubusercontent.com/52034225/167371557-63eef12b-09c7-49c8-a41a-fc503d3b6908.gif](https://user-images.githubusercontent.com/52034225/167371557-63eef12b-09c7-49c8-a41a-fc503d3b6908.gif)](https://user-images.githubusercontent.com/52034225/167371557-63eef12b-09c7-49c8-a41a-fc503d3b6908.gif)

Installation
------------

[](#installation)

Via Composer

```
composer require stephanus-tantiono/json-column-for-backpack
```

Usage
-----

[](#usage)

Inside your custom CrudController:

```
$this->crud->addColumn([
    'name'  => 'column_name',
    'type'  => 'view',
    'view' => 'json-column-for-backpack::columns.json',
]);
```

Overwriting
-----------

[](#overwriting)

If you need to change the column in any way, you can easily publish the file to your app, and modify that file any way you want. But please keep in mind that you will not be getting any updates.

**Step 1.** Copy-paste the blade file to your directory:

```
# create the columns directory if it's not already there
mkdir -p resources/views/vendor/backpack/crud/columns

# copy the blade file inside the folder we created above
cp -i vendor/stephanus-tantiono/json-column-for-backpack/src/resources/views/columns/json.blade.php resources/views/vendor/backpack/crud/columns/json_viewer.blade.php
```

**Step 2.** Load the published file instead of the one in the vendor directory:

```
$this->crud->addColumn([
    'name'  => 'column_name',
    'type'  => 'json_viewer',
]);
```

**Step 3.** Uninstall this package. Since it only provides one file - `json.blade.php`, and you're no longer using that file, it makes no sense to have the package installed:

```
composer remove stephanus-tantiono/json-column-for-backpack
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email [the author](composer.json) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steve](https://github.com/stephanus-tantiono) for creating this column
- [ziming](https://github.com/ziming) for supervising
- [Cristian Tabacitu](https://github.com/tabacitu) for creating backpack and troubleshooting issues with the column not loading correctly in the package
- [Roman Makudera](https://github.com/LorDOniX) for creating [json-viewer](https://github.com/LorDOniX/json-viewer)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1450d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02e448b8b1fb6edd9df464308f67622250055ef41c38352f95601b0366ddac8f?d=identicon)[stephanus-tantiono](/maintainers/stephanus-tantiono)

---

Top Contributors

[![stephanus-tantiono](https://avatars.githubusercontent.com/u/52034225?v=4)](https://github.com/stephanus-tantiono "stephanus-tantiono (25 commits)")[![tabacitu](https://avatars.githubusercontent.com/u/1032474?v=4)](https://github.com/tabacitu "tabacitu (3 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (3 commits)")

---

Tags

jsonlaraveladdonadmin-panelcolumnbackpackBackpack for Laravel

### Embed Badge

![Health badge](/badges/stephanus-tantiono-json-column-for-backpack/health.svg)

```
[![Health](https://phpackages.com/badges/stephanus-tantiono-json-column-for-backpack/health.svg)](https://phpackages.com/packages/stephanus-tantiono-json-column-for-backpack)
```

###  Alternatives

[ziming/json-field-for-backpack

A Json Editor Field for Backpack

3597.3k](/packages/ziming-json-field-for-backpack)[izica/relations-widgets-for-backpack

Widgets for preview model relations in laravel backpack

2927.3k](/packages/izica-relations-widgets-for-backpack)[digitallyhappy/toggle-field-for-backpack

Easily toggle boolean attributes with a new field type.

2138.4k](/packages/digitallyhappy-toggle-field-for-backpack)[backpack/revise-operation

Backpack interface for venturecraft/revisionable

43279.9k1](/packages/backpack-revise-operation)[backpack/pagemanager

Create admin panels for presentation websites on Laravel, using page templates and Backpack\\CRUD.

371522.6k6](/packages/backpack-pagemanager)[backpack/backupmanager

Admin interface for managing backups in Backpack, on Laravel 5.2+

340375.9k2](/packages/backpack-backupmanager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
