Download the PHP package devlion/converter-php-client without Composer
On this page you can find all versions of the php package devlion/converter-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devlion/converter-php-client
More information about devlion/converter-php-client
Files in devlion/converter-php-client
Package converter-php-client
Short Description Devlion Converter API client for PHP
License MIT
Informations about the package converter-php-client
devlion-converter-php-client
Installation via Composer
The recommended method to install is through Composer.
-
Add
devlion/converter-php-client
as a dependency in your project'scomposer.json
: -
Download and install Composer:
-
Install your dependencies:
-
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:
You can find out more about Composer at getcomposer.org.
Methods:
Convert:
Put a database file and convert to specified database & save as zip file.
Extract:
Unzip converted file.
getZipFilePath:
Get converted zip file path.
getExtractedDirectory:
Get extracted directory path.
Methods below work only for csv outputType
getDatabases:
Get converted databases array.
getTables:
Get list of tables for selected database.
getTableRows:
Get data of selected table.
getDatabasesTables:
Get all converted databases and all tables for each database.
getDatabasesTableRows:
Get rows of selected table for each database where table exists.
Example
The following code is an example on how to convert a Microsoft Sql Server file (.MDF) to a ZIP-archive of CSV files. You should replace 'token' with the Customer Token that you purchased.
License
This code is licensed under the MIT license.