{"id":13770714,"url":"https://github.com/AlexSabur/orchid-editorjs-field","last_synced_at":"2025-05-11T03:32:52.297Z","repository":{"id":37001163,"uuid":"267535677","full_name":"AlexSabur/orchid-editorjs-field","owner":"AlexSabur","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-27T13:38:40.000Z","size":961,"stargazers_count":13,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T15:33:41.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexSabur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-05-28T08:30:41.000Z","updated_at":"2024-01-04T22:04:22.000Z","dependencies_parsed_at":"2024-01-06T20:55:17.256Z","dependency_job_id":null,"html_url":"https://github.com/AlexSabur/orchid-editorjs-field","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":0.125,"last_synced_commit":"822401822dbf8c7c9c4d5c02165637c20249f0cd"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexSabur%2Forchid-editorjs-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexSabur%2Forchid-editorjs-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexSabur%2Forchid-editorjs-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexSabur%2Forchid-editorjs-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexSabur","download_url":"https://codeload.github.com/AlexSabur/orchid-editorjs-field/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:00:40.922Z","updated_at":"2025-05-11T03:32:51.753Z","avatar_url":"https://github.com/AlexSabur.png","language":"PHP","funding_links":[],"categories":["Libraries"],"sub_categories":["PHP"],"readme":"# Orchid Editorjs Field\n\n[![GitHub Workflow Status](https://github.com/AlexSabur/orchid-editorjs-field/workflows/Run%20tests/badge.svg)](https://github.com/AlexSabur/orchid-editorjs-field/actions)\n[![styleci](https://styleci.io/repos/188413486/shield)](https://styleci.io/repos/188413486)\n\n[![Packagist](https://img.shields.io/packagist/v/AlexSabur/orchid-editorjs-field.svg)](https://packagist.org/packages/AlexSabur/orchid-editorjs-field)\n[![Packagist](https://poser.pugx.org/AlexSabur/orchid-editorjs-field/d/total.svg)](https://packagist.org/packages/AlexSabur/orchid-editorjs-field)\n[![Packagist](https://img.shields.io/packagist/l/AlexSabur/orchid-editorjs-field.svg)](https://packagist.org/packages/AlexSabur/orchid-editorjs-field)\n\nPackage description: Work in process\n\n## Installation\n\nInstall via composer\n```bash\ncomposer require alexsabur/orchid-editorjs-field\n```\n\n## Usage\n\n```php\n\n    /**\n     * Views.\n     *\n     * @return Layout[]\n     */\n    public function layout(): array\n    {\n        return [\n            Layout::rows([\n                EditorJS::make('mydata')-\u003etools([\n                    MarkerTool::make('marker'),\n                    ImageTool::make('picture')\n                    HeaderTool::make('header')\n                ])\n            ]),\n        ];\n    }\n\n```\n\n### Register new tool\n\n```bash\nphp artisan orchid:editorjs:tool MySuperTool\n```\n\nAnd in js\n```js\n\nclass MySuperTool {\n    //code\n}\n\nwindow.editorJSTools = window.editorJSTools || [];\nwindow.editorJSTools['MySuperTool'] = MySuperTool;\n\n```\n\n## Security\n\nIf you discover any security related issues, please email alexsabur@live.ru\ninstead of using the issue tracker.\n\n## Credits\n\n- [Alex](https://github.com/AlexSabur/orchid-editorjs-field)\n- [All contributors](https://github.com/AlexSabur/orchid-editorjs-field/graphs/contributors)\n\nThis package is bootstrapped with the help of\n[melihovv/laravel-package-generator](https://github.com/melihovv/laravel-package-generator).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexSabur%2Forchid-editorjs-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlexSabur%2Forchid-editorjs-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlexSabur%2Forchid-editorjs-field/lists"}