tangervu / phpaccess
Read Microsoft Access databases on Linux using mdbtools command line tools
Installs: 3 021
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 4
Open Issues: 0
Requires
- league/csv: 5.*
This package is not auto-updated.
Last update: 2020-03-02 04:46:49 UTC
README
Read Microsoft Access databases on Linux using mdbtools command line tools.
Installation
The recommended way to install Connection.php is through Composer.
{ "require": { "tangervu/phpaccess": "dev-master" } }
Example
<?php require('vendor/autoload.php'); //Use composer autoload $access = new PHPAccess\PHPAccess('file.mdb'); //Get tables in access database $tables = $access->getTables(); //Display contents of the tables foreach($tables as $table) { print_r($access->getData($table)); } //Export table structures as SQL queries echo $access->getDatabaseSql('mysql'); //etc...