PHPackages                             fastbolt/fabric-importer - 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. fastbolt/fabric-importer

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

fastbolt/fabric-importer
========================

A library for the import of database-data from Microsoft Fabric.

v0.3.0(2mo ago)0106MITPHPPHP &gt;=8.2CI passing

Since Nov 17Pushed 2mo agoCompare

[ Source](https://github.com/fastbolt/fabric-importer)[ Packagist](https://packagist.org/packages/fastbolt/fabric-importer)[ Docs](https://github.com/fastbolt/fabric-importer)[ RSS](/packages/fastbolt-fabric-importer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (34)Versions (19)Used By (0)

fabric-importer
===============

[](#fabric-importer)

A package to import data from Microsoft Fabric.

Prerequisites
-------------

[](#prerequisites)

The library is tested with PHP 8.2 and 8.3 and relies on doctrine.

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

[](#installation)

The library can be installed via composer:

```
composer require fastbolt/fabric-importer
```

Ubuntu SQL / ODBC driver installation (Ubuntu 22.04 LTS, currently only available for PHP up to 8.3)
----------------------------------------------------------------------------------------------------

[](#ubuntu-sql--odbc-driver-installation-ubuntu-2204-lts-currently-only-available-for-php-up-to-83)

```
curl -sSL -O https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
apt-get update
apt-get install -y msodbcsql18

apt-get install unixodbc-dev -y
pecl install sqlsrv
pecl install pdo_sqlsrv
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/8.2/mods-available/sqlsrv.ini
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/8.2/mods-available/pdo_sqlsrv.ini
phpenmod -v 8.2 sqlsrv pdo_sqlsrv
```

Configuration
-------------

[](#configuration)

If not configured automatically, the bundle needs to be enabled in your project's `bundles.php` file:

```
