Download the PHP
package gclinux/think-redshift without Composer
On this page you can find all versions of the php package
gclinux/think-redshift. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor gclinux Package think-redshift Short Description thinkphp5 aws redshift dirver License
MIT
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 think-redshift
介绍:
Redshift 是亚马逊AWS的一个高效的完全托管PB级别的数据仓库,能在数秒内在数TB数据中返回各种维度的group sum count等统计数据
这个是其驱动,原则上tp自带的PG驱动也可以,但使用过程报错,经简单修改发布这个版本的驱动.原则上也兼容postgre数据库.
安装方式:
复制代码
使用方式跟tp使用其他数据库一样,例如:
<?php
namespace app\common\model;
use think\Model;
class Redshift extends Model {
protected $connection = 'redshift';//这个跟config里面的配置项的key一致
}
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 gclinux/think-redshift contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.