{"id":49251560,"url":"https://github.com/not-empty/elastic-nomad-php","last_synced_at":"2026-04-25T00:41:21.957Z","repository":{"id":129174370,"uuid":"393488268","full_name":"not-empty/elastic-nomad-php","owner":"not-empty","description":"PHP script to execute Elasticsearch backups and restorations using S3","archived":false,"fork":false,"pushed_at":"2024-04-11T22:06:35.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T05:36:54.892Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/not-empty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-08-06T19:57:25.000Z","updated_at":"2024-02-29T03:03:13.000Z","dependencies_parsed_at":"2024-04-01T15:58:49.091Z","dependency_job_id":"38677b0c-a9c7-4e86-a5a5-3683acd94f95","html_url":"https://github.com/not-empty/elastic-nomad-php","commit_stats":null,"previous_names":["not-empty/elastic-nomad-php"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/not-empty/elastic-nomad-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Felastic-nomad-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Felastic-nomad-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Felastic-nomad-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Felastic-nomad-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/not-empty","download_url":"https://codeload.github.com/not-empty/elastic-nomad-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-empty%2Felastic-nomad-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32246405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-25T00:41:21.341Z","updated_at":"2026-04-25T00:41:21.948Z","avatar_url":"https://github.com/not-empty.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Elastic Nomad\n\n[![Latest Version](https://img.shields.io/github/v/release/not-empty/elastic-nomad-php.svg?style=flat-square)](https://github.com/not-empty/elastic-nomad-php/releases)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\u0026label=PRs%20Welcome)](http://makeapullrequest.com)\n\nPHP script to execute Elasticsearch backups and restorations using S3.\n\n### Installation\n\n[Release 1.0.0](https://github.com/not-empty/elastic-nomad-php/releases/tag/1.0.0) Requires [PHP](https://php.net) 7.3\n\n[Release 2.0.0](https://github.com/not-empty/elastic-nomad-php/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.4\n\n### Sample\n\nit's a good idea to look in the sample folder to understand how it works.\n\nFirst you need to building a correct environment to install dependences\n\n```sh\ndocker build -t not-empty/elastic-nomad-php -f ops/docker/dev/Dockerfile .\n```\n\nAccess the container\n```sh\ndocker run -v ${PWD}/:/var/www/html -it not-empty/elastic-nomad-php bash\n```\n\nVerify if all dependencies is installed (if need anyelse)\n```sh\ncomposer install --no-dev --prefer-dist\n```\n\nand run\n```sh\nphp index.php {operation} {param}\n```\n\n### Development\n\nWant to contribute? Great!\n\nThe project using a simple code.\nMake a change in your file and be careful with your updates!\n**Any new code will only be accepted with all viladations.**\n\nTo ensure that the entire project is fine:\n\nFirst you need to building a correct environment to install/update all dependences\n```sh\ndocker build -t not-empty/elastic-nomad-php -f ops/docker/dev/Dockerfile .\n```\n\nAccess the container\n```sh\ndocker run -v ${PWD}/:/var/www/html -it not-empty/elastic-nomad-php bash\n```\n\nInstall all dependences\n```sh\ncomposer install --dev --prefer-dist\n```\n\nRun all validations\n```sh\ncomposer check\n```\n\n### Backup\nIf you want to run a backup you can run the command:\n\n```sh\nphp index.php backup {param}\n```\n\nIn the backup command the {param} is the name of the index.\n\n### Restore\nIf you want to restore your data in the elastic, you can run the command:\n\n```sh\nphp index.php restore {param}\n```\n\nIn the restore command the {param} is the name of the txt file located on storage/restore.\n\n\nIf you want to check if your data is on the elastic, you can use the collection available on /ops/collections.\n\n**Not-empty - Open your code, open your mind!**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-empty%2Felastic-nomad-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnot-empty%2Felastic-nomad-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-empty%2Felastic-nomad-php/lists"}