PHPackages                             tris/php-odbc-impala - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. tris/php-odbc-impala

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tris/php-odbc-impala
====================

PHP connection Impala by cloudera ODBC Driver

13.3k↑22.3%PHP

Since Apr 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/shironghui/php-impala)[ Packagist](https://packagist.org/packages/tris/php-odbc-impala)[ RSS](/packages/tris-php-odbc-impala/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Connection Impala
=====================

[](#php-connection-impala)

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

[](#installation)

Use \[Composer\] to install the package:

```
composer require tris/php-odbc-impala

```

环境依赖
----

[](#环境依赖)

##### unixODBC

[](#unixodbc)

##### php扩展pdo,pdo\_odbc

[](#php扩展pdopdo_odbc)

##### Cloudera ODBC Driver for Impala

[](#cloudera-odbc-driver-for-impala)

Example (For Laravel)
---------------------

[](#example-for-laravel)

#### Laravel根目录下，config/app.php文件中providers添加Odbc\\Impala\\ImpalaServiceProvider::class

[](#laravel根目录下configappphp文件中providers添加odbcimpalaimpalaserviceproviderclass)

#### 然后配置项aliases添加'Impala' =&gt; Odbc\\Impala\\Facades\\Impala::class,

[](#然后配置项aliases添加impala--odbcimpalafacadesimpalaclass)

#### 执行composer dump-autoload

[](#执行composer-dump-autoload)

#### 执行php artisan vendor:publish --provider="Odbc\\Impala\\ImpalaServiceProvider"

[](#执行php-artisan-vendorpublish---providerodbcimpalaimpalaserviceprovider)

#### 修改自己的配置文件config/impala.php中的DSN,USER等

[](#修改自己的配置文件configimpalaphp中的dsnuser等)

Demo
----

[](#demo)

```
use Odbc\Impala\Facades\Impala;

$sql = "show databases";
$res = Impala::execute($sql);
```

Please contact me if you have any questions
-------------------------------------------

[](#please-contact-me-if-you-have-any-questions)

Email: [tris\_10@sina.com](mailto:tris_10@sina.com)

License
-------

[](#license)

All contents of this package are licensed under the \[MIT license\].

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3852344?v=4)[Tris](/maintainers/shironghui)[@shironghui](https://github.com/shironghui)

---

Top Contributors

[![shironghui](https://avatars.githubusercontent.com/u/3852344?v=4)](https://github.com/shironghui "shironghui (4 commits)")

### Embed Badge

![Health badge](/badges/tris-php-odbc-impala/health.svg)

```
[![Health](https://phpackages.com/badges/tris-php-odbc-impala/health.svg)](https://phpackages.com/packages/tris-php-odbc-impala)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
