# laravel-admin-extensions--json-editor **Repository Path**: uygurjan2008_admin/json-editor ## Basic Information - **Project Name**: laravel-admin-extensions--json-editor - **Description**: laravel-admin-extensions--json-editor JSON Editor for Laravel-admin - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JSON Editor extension for laravel-admin This is a `laravel-admin` extension that integrates [JSON Editor](https://github.com/josdejong/jsoneditor) into `laravel-admin`. [DEMO](http://demo.laravel-admin.org/editors/json) Login using `admin/admin` ## Screenshot ## Installation ```bash composer require jxlwqq/json-editor php artisan vendor:publish --tag=laravel-admin-json-editor ``` ## Update ```bash composer require jxlwqq/json-editor php artisan vendor:publish --tag=laravel-admin-json-editor --force ``` ## Configuration In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension. ```php 'extensions' => [     'json-editor' => [         // set to false if you want to disable this extension         'enable' => true,         'config' =>             [ 'mode' => 'tree',                 'modes' => ['code', 'form', 'text', 'tree', 'view'], // allowed modes             ],     ] ] ``` More configurations can be found at [JSON Editor](https://github.com/josdejong/jsoneditor). ## Usage Use it in the form form: ```php $form->json('content'); ``` ## More resources [Awesome Laravel-admin](https://github.com/jxlwqq/awesome-laravel-admin) ## License Licensed under [The MIT License](LICENSE).