Skip to content
No description or website provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
src
tests
.gitignore First working code. Feb 25, 2018
LICENSE Initial commit Feb 25, 2018
README.md Updated README. Oct 20, 2018
composer.json First working code. Feb 25, 2018
composer.lock First working code. Feb 25, 2018

README.md

rebasedata-php-client

Installation via Composer

The recommended method to install is through Composer.

  1. Add rebasedata/php-client as a dependency in your project's composer.json:

    {
        "require": {
            "rebasedata/php-client": "*"
        }
    }
  2. Download and install Composer:

    curl -s http://getcomposer.org/installer | php
  3. Install your dependencies:

    php composer.phar install
  4. Require Composer's autoloader

    Composer also prepares an autoloader file that helps to autoload the libraries it downloads. To use it, just add the following line to your application:

    <?php
    
    require 'vendor/autoload.php';
    
    use RebaseData\Client;
    
    $client = new Client('freemium');

You can find out more about Composer at getcomposer.org.

Example

The following code is an example on how to convert a Microsoft Access ACCDB file to a ZIP-archive of CSV files. You can replace 'freemium' with the Customer Key that you purchased.

use RebaseData\Client;

$client = new Client('freemium');

$inputFiles = ['/tmp/access.accdb'];

$outputFile = $client->convertAndReceiveZip($inputFiles);

echo "Conversion successful, check out $outputFile!\n";

License

This code is licensed under the MIT license.

You can’t perform that action at this time.