Download the PHP package semir/laravel2impala without Composer

On this page you can find all versions of the php package semir/laravel2impala. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel2impala

laravel2impala

A PHP extension library that can directly connect to Impala.

一、环境安装

1、官网下载.tar.gz安装包,地址:https://mirrors.tuna.tsinghua.edu.cn/apache/thrift/0.13.0/thrift-0.13.0.tar.gz

2、解压、编译、安装:

./configure ./configure --without-java (不需要支持的语言使用参数--without-xxx)

make && make install

3、进入加压后的目录,创建结构和接口定义文件server.thrift:

struct message { 
  i32 seqId, 
  string content 
} 
service serDemo { 
  void put(message msg) 
}

执行命令:thrift -gen php server.thrift 生成gen-php说明安装成功。

二、安装laravel依赖包

1、非常简单,项目根目录执行命令:

composer require semir/laravel2impala:1.1

参考地址:https://packagist.org/packages/semir/laravel2impala

提示success后,查看vender/目录下是否有semir/laravel2impala/src目录且不为空;

2、修改config/app.php

providers添加Odbc\Impala\ImpalaServiceProvider::class

3、.env文件添加配置项:

IMPALA_HOST=x.x.x.x

IMPALA_PORT=21000

至此,恭喜你!安装完毕。

三、Demo


All versions of laravel2impala with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package semir/laravel2impala contains the following files

Loading the files please wait ....