承接 emiliosh/mdb-tools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

emiliosh/mdb-tools

Composer 安装命令:

composer require emiliosh/mdb-tools

包简介

Parser for MS Access Database files. This package is build and tested on .mdb files but can be tested with other formats

README 文档

README

Description

If you challenged the problem with integrating you app with MS Access database, then you in correct place! This package can parse MS Access backup files ".mdb" files.

Of course there is not magic behind of this, and to make it work you need to install special utility, which is able to read .mdb files. That utility called "mdb-tools".

How it works?

There is simple idea! The package is transferring your .mdb file to mdb-tools CLI. So, when you query tables list, this package just run in CLI:

mdb-tables backup.mdb

Installation

  1. Install mdb-tools globally on your machine:
apt-get update -y
apt-get install -y mdbtools
  1. Install Composer PHP package:
composer require mdb-tools/mdb-parser

Usage

Main logic is put into class "Parser", which has corresponded Facade class. You may include the parser into your code like this:

use MDBTools\Facades\Parsers\MDBParser;

After you may do things like this:

//load you file
$parser = MDBParser::loadFile('/path/to/file');

//see table names...
$tables = $parser->tables();

//parse data from one chosen table...
print_r($parser->selectTable('some_table')->toArray());

Links

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-01