{"id":16438779,"url":"https://github.com/technodelight/php-cli-editor-input","last_synced_at":"2026-05-17T19:35:57.346Z","repository":{"id":57066152,"uuid":"195042792","full_name":"technodelight/php-cli-editor-input","owner":"technodelight","description":"Small and simple intermediate layer between console editors (like vim) and your PHP console application","archived":false,"fork":false,"pushed_at":"2019-07-03T11:58:49.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T10:08:38.439Z","etag":null,"topics":["cli","php","vim"],"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/technodelight.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}},"created_at":"2019-07-03T11:45:34.000Z","updated_at":"2019-07-03T12:20:25.000Z","dependencies_parsed_at":"2022-08-24T10:10:34.863Z","dependency_job_id":null,"html_url":"https://github.com/technodelight/php-cli-editor-input","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fphp-cli-editor-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fphp-cli-editor-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fphp-cli-editor-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fphp-cli-editor-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technodelight","download_url":"https://codeload.github.com/technodelight/php-cli-editor-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746953,"owners_count":19850998,"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":["cli","php","vim"],"created_at":"2024-10-11T09:06:15.192Z","updated_at":"2025-10-24T13:52:43.242Z","avatar_url":"https://github.com/technodelight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-cli-editor-input\nSmall and simple intermediate layer between console editors (like vim) and your PHP console application\n\n## Usage\n\n```\nuse Technodelight\\CliEditorInput\\AdaptableFactoryWithPreference;\n\n$editor = AdaptableFactoryWithPreference::build('vim');\n$title = 'Title will be a commented out section as first line in the editor';\n$content = 'Initial content, which can be edited';\n$content = $editor-\u003eedit($title, $content, $stripComments = true);\n// $content will contain all lines read back from the editor, excluding commented out lines\n// each line starting with # is considered as comment (regex '/^#/')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fphp-cli-editor-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnodelight%2Fphp-cli-editor-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fphp-cli-editor-input/lists"}