{"id":20528241,"url":"https://github.com/manticoresoftware/buddy-plugin-replace","last_synced_at":"2025-09-25T13:31:06.842Z","repository":{"id":218537207,"uuid":"744091543","full_name":"manticoresoftware/buddy-plugin-replace","owner":"manticoresoftware","description":null,"archived":true,"fork":false,"pushed_at":"2024-01-22T13:44:33.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-15T23:27:05.511Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manticoresoftware.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-16T15:54:38.000Z","updated_at":"2024-01-23T09:48:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f743f594-c2a4-4be8-b4e7-e89da0f24aaf","html_url":"https://github.com/manticoresoftware/buddy-plugin-replace","commit_stats":null,"previous_names":["manticoresoftware/buddy-plugin-replace"],"tags_count":0,"template":false,"template_full_name":"manticoresoftware/buddy-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manticoresoftware","download_url":"https://codeload.github.com/manticoresoftware/buddy-plugin-replace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234193972,"owners_count":18794086,"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-11-15T23:24:09.400Z","updated_at":"2025-09-25T13:31:06.458Z","avatar_url":"https://github.com/manticoresoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buddy-plugin-template\n\nThis is an initial template of a plugin for [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) that you can use to develop.\n\n## How to start\n\n1. Create a repository from this template.\n2. Open `composer.json` and edit it with your plugin name, dependencies, and everything else you need.\n3. Run `composer install` to make it work.\n4. You need to use our official `manticore-executor`; we strictly recommend using the [Docker](#how-to-use-docker-of-manticore-executor-dev) flow.\n5. Edit `src/Payload.php`, add logic to parse the request, and prepare the payload structure for your command processing.\n6. Edit `src/Handler.php` and implement processing logic and response that will be proxied by Manticore to the client.\n\n## How to use Docker of manticore-executor-dev\n\n1. Clone [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) somewhere to your host machine and go into it.\n2. Run this command to create a Docker image named `manticore-buddy`:\n\n    ```bash\n    docker run --privileged --entrypoint bash -v $(pwd):/workdir -w /workdir --name manticore-buddy  --network host -it manticoresearch/manticore-executor-kit:latest\n    ```\n\n3. Now you can edit `/etc/manticore.conf` and configure the development version of Buddy:\n\n    ```text\n    buddy_path = manticore-executor-dev /workdir/src/main.php --debug\n    ```\n\n4. Run `searchd --nodetach` to keep the daemon in the foreground and enjoy the development of your new plugin.\n\n## Notes\n\nYou can use `pre-commit` to install code style and code analyze hooks by running `pre-commit install`. Check our PHP code style and guide [here](https://github.com/manticoresoftware/php-code-standard).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-replace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-replace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-replace/lists"}