PHPackages                             koenigseggposche/odps - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. koenigseggposche/odps

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

koenigseggposche/odps
=====================

Php Aliyun Odps Sdk

112PHP

Since Mar 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/koenigseggposche/aliyun-odps-php-sdk)[ Packagist](https://packagist.org/packages/koenigseggposche/odps)[ RSS](/packages/koenigseggposche-odps/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

\#aliyun-odps-php-sdk [![PHP 64bit](https://camo.githubusercontent.com/6f2871550ca14d5617758eaf7e210c29b9ced5c884deeb45c912cbea3dafb7a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d36346269742d677265656e2e737667)](https://camo.githubusercontent.com/6f2871550ca14d5617758eaf7e210c29b9ced5c884deeb45c912cbea3dafb7a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d36346269742d677265656e2e737667)

\##CI [![Build Status](https://camo.githubusercontent.com/337d58a653246dbdd42eea5eed3ffd59c6590afe925534992a4270fc371a9413/68747470733a2f2f7472617669732d63692e6f72672f616c6979756e2d626574612f616c6979756e2d6f6470732d7068702d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aliyun-beta/aliyun-odps-php-sdk)

\##Preconditoins

1. Since some data types(such as Bigint, Datetime) in ODPS depends on 64bit integer (long in java), and php32 build doesn't include this type, so we have to use php 64bit version for running odps project.

    \----由于odps中的数据类型Bigint、Datetime的传输依赖于64位的长整型，而php默认只有64位版本才支持64位的整型，因此当前odps php sdk必须运行于64位的php版本。
2. You must use the ODPS php SDK upon any php 64bit versoin of Linux/mac-os or the php 7+ 64bit on windows since [a bug](https://bugs.php.net/bug.php?id=64863)

    \----由于[php的一个问题](https://bugs.php.net/bug.php?id=64863)，如果我们使用windows的情况下，请务必使用php7+ 64位版本, Linux/MacOs则直接使用64位版本即可。
3. To execute the unit test case, you need to install PHPunit in your enviroment. ----请在执行单元测试前确认您的环境安装有PHPunit

Features
--------

[](#features)

1. Provides full features support of aliyun ODPS api, more api detail in [official api document](http://repo.aliyun.com/api-doc/index.html)
2. Wide variety debuging supports.

Services
--------

[](#services)

Odps-php-sdk includes the following services to access RestFul api:

1. \\ODPS\\Services\\TableService
2. \\ODPS\\Services\\FunctionService
3. \\ODPS\\Services\\InstanceService
4. \\ODPS\\Services\\ProjectService
5. \\ODPS\\Services\\ResourceService
6. \\ODPS\\Services\\TunnelService

How to run unit test of this project
------------------------------------

[](#how-to-run-unit-test-of-this-project)

1. Install composer in your enviroment
2. Navigate into project folder and issue 'composer install' command
3. Issue 'phpunit' in command line or phpStorm.

Sample Usage
------------

[](#sample-usage)

```
