keboola / encryption-api-php-client
Keboola Encryption API Client
dev-main
2024-05-07 09:25 UTC
Requires
- php: ^7.4 || ^8.2
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^6.5|^7.8
Requires (Dev)
- keboola/coding-standard: ^15.0
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^9.5
- sempro/phpunit-pretty-print: ^1.4
This package is auto-updated.
Last update: 2024-12-07 10:37:08 UTC
README
Installation
composer require keboola/encryption-api-php-client
Development
Run the tests:
docker compose run dev composer install docker compose run dev
Usage
use Keboola\EncryptionApiClient\Migrations; $migrations = new Migrations(getenv('STORAGE_API_TOKEN')); $resultMessage = $migrations->migrateConfiguration( sourceStorageApiToken: '...', destinationStack: 'connection.europe-west3.gcp.keboola.com', destinationStorageApiToken: '...', componentId: 'keboola.data-apps', configId: '123456', branchId: '102', dryRun: true, );
License
MIT licensed, see LICENSE file.