Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-02-28 (7 months ago) | Not enough user ratings | Total: 35 | All time: 11,003 This week: 68 |
Version | License | PHP version | Categories | |||
elastic-nomad-php 1.0 | Custom (specified... | 8 | Databases, Files and Folders, Searching, W..., P... |
<?php |
PHP script to execute Elasticsearch backups and restorations using S3.
Requires PHP 8.1
it's a good idea to look in the sample folder to understand how it works.
First you need to building a correct environment to install dependences
docker build -t kiwfy/elastic-nomad-php -f contrib/Dockerfile .
Access the container
docker run -v ${PWD}/:/var/www/html -it kiwfy/elastic-nomad-php bash
Verify if all dependencies is installed (if need anyelse)
composer install --no-dev --prefer-dist
and run
php index.php
Want to contribute? Great!
The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all viladations.
To ensure that the entire project is fine:
First you need to building a correct environment to install/update all dependences
docker build -t kiwfy/elastic-nomad-php -f contrib/Dockerfile .
Access the container
docker run -v ${PWD}/:/var/www/html -it kiwfy/elastic-nomad-php bash
Install all dependences
composer install --dev --prefer-dist
Run all validations
composer check
Kiwfy - Open your code, open your mind!
Files (21) |
File | Role | Description | ||
---|---|---|---|---|
contrib (4 files) | ||||
src (3 files, 1 directory) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
index.php | Example | Example script | ||
LICENSE | Lic. | License text | ||
phpcs.xml | Data | Auxiliary data | ||
phpmd.xml | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
query.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (21) | / | contrib |
File | Role | Description |
---|---|---|
coverage-checker.php | Example | Example script |
Dockerfile | Data | Auxiliary data |
pre-commit | Data | Auxiliary data |
setup.sh | Data | Auxiliary data |
Files (21) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Helpers (3 files) | ||||
Backup.php | Class | Class source | ||
Nomad.php | Class | Class source | ||
Restore.php | Class | Class source |
Files (21) | / | src | / | Helpers |
File | Role | Description |
---|---|---|
Elasticsearch.php | Class | Class source |
Log.php | Class | Class source |
S3Helper.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.