PHPackages                             natanaelsimoes/db2file - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. natanaelsimoes/db2file

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

natanaelsimoes/db2file
======================

Retrieve data from database and generate/print JSON or XML file.

1.0.0-beta(10y ago)242MITPHPPHP &gt;=5.4.0

Since Mar 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/natanaelsimoes/db2file)[ Packagist](https://packagist.org/packages/natanaelsimoes/db2file)[ Docs](https://github.com/natanaelsimoes/db2file)[ RSS](/packages/natanaelsimoes-db2file/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

DB2FILE
=======

[](#db2file)

Retrieve data from database and generate/print JSON or XML file.

Installation
------------

[](#installation)

This library can be found on [Packagist](https://packagist.org/packages/natanaelsimoes/db2file). We endorse that everything will work fine if you install this through [composer](http://getcomposer.org).

Add in your `composer.json`:

```
{
    "require": {
        "natanaelsimoes/db2file": "1.0.0-beta"
    }
}
```

or in your bash:

```
$ composer require natanaelsimoes/db2file
```

Features
--------

[](#features)

- PSR-4 compliant for easy interoperability
- Uses PDO to cover majority databases (Firebird, MySQL, Oracle, PostgreSQL, SQLite, Microsoft SQL Server)
- Easy to add support for others PDO database drivers as needed
- Gets and prints JSON/XML version of your tables and queries

See documentation `docs/` for futher details about this library.

Usage
-----

[](#usage)

```
