{"id":33966175,"url":"https://github.com/esign/inline-editing","last_synced_at":"2026-06-01T03:31:00.604Z","repository":{"id":62549648,"uuid":"486594453","full_name":"esign/inline-editing","owner":"esign","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-17T15:15:09.000Z","size":158,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-14T11:46:32.875Z","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/esign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-28T12:56:29.000Z","updated_at":"2023-03-16T12:43:38.000Z","dependencies_parsed_at":"2022-11-03T01:30:32.751Z","dependency_job_id":null,"html_url":"https://github.com/esign/inline-editing","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/esign/inline-editing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esign%2Finline-editing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esign%2Finline-editing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esign%2Finline-editing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esign%2Finline-editing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esign","download_url":"https://codeload.github.com/esign/inline-editing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esign%2Finline-editing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33759178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-12-12T23:03:48.758Z","updated_at":"2026-06-01T03:31:00.598Z","avatar_url":"https://github.com/esign.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edit website text/translations inline\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/:vendor/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor/:package_slug)\n[![Total Downloads](https://img.shields.io/packagist/dt/:vendor/:package_slug.svg?style=flat-square)](https://packagist.org/packages/:vendor/:package_slug)\n![GitHub Actions](https://github.com/:vendor/:package_slug/actions/workflows/main.yml/badge.svg)\n\n![img.png](img.png)\n\nThis package enables you to edit your websites text and translations inline.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require esign/inline-edit\n```\n\nThe package will automatically register a service provider.\n\nNext up, you can publish the configuration file:\n```bash\nphp artisan vendor:publish --provider=\"Esign\\InlineEdit\\InlineEditServiceProvider\" --tag=config --tag=public\n```\n\nPublish the InlineEdit file to use it in your frontend.\n\n```bash\nphp artisan inline-editing:install\n```\n\nThe file will be copied to ```resources/assets/js/utils/InlineEdit.js```\n\nAdd the following to your ``app.js``\n\n```javascript\nimport InlineEdit from './utils/inlineEdit';\n\nInlineEdit();\n```\n\nTo use the rich text editor, include de ckeditor cdn before including your ``app.js`` file by adding the following line to your  `app.blade.php` file:\n\n```php\n\u003cscript src=\"https://cdn.ckeditor.com/ckeditor5/34.0.0/balloon/ckeditor.js\"\u003e\u003c/script\u003e\n```\n\nMake the base url public by adding following line to your ``app.blade.php`` file. \n\n```php\n\u003cscript\u003evar base_url = '{{ config('app.url') }}';\u003c/script\u003e\n```\n\nMake sure you have an accessible csrf token by adding\n\n```php\n\u003cmeta name=\"csrf-token\" content=\"{{ csrf_token() }}\"\u003e\n```\n\nInclude the inline edit css by adding\n\n```php\n\u003clink rel=\"stylesheet\" href=\"{{ asset('assets/css/inline-edit.css') }}\"\u003e\n```\n\n\n## Usage\n\nThis package assumes you have a translations table in your database with these required columns ``term, type, value``.\nThe default table is ``dictionary`` but can be changed any other table by changing the specified table in the config file.\n\nYou can use the inline editor by calling following function in your blade files\n\n```php\n{!! esign_inline('term') !!}\n```\n\nDepending on the type of the term the richtext editor will be loaded.\nSupported types are `text, richtext`\n\n\u003e **!! IMPORTANT !!**  \n\u003e It is important to protect the inline edit routes so only admins can use the functionality.\n\u003e **This package does not handle authentication**\n\nYou can add a middleware to the config file that handles the authentication.\n\nThe available options are default limited to `'styles', 'bold', 'italic', 'link', 'blockQuote'` but can be expanded in the `inlineEdit.js` file.\n\nFor all available options check: https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html\n\n\n\n\n### Testing\n\n```bash\ncomposer test\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesign%2Finline-editing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesign%2Finline-editing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesign%2Finline-editing/lists"}