Skip to content

Commit b9a2aa7

Browse files
committed
Thrift packaged
1 parent 4140a9e commit b9a2aa7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+5982
-3
lines changed

README.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
1-
thrift
2-
======
3-
41
Apache Thrift
2+
=====
3+
4+
The code provided by this library is from:
5+
https://github.com/apache/thrift/tree/master/lib/php/lib
6+
7+
This repo has been created to provide the thrift protocol via composer
8+
9+
10+
Thrift PHP Software Library
11+
12+
License
13+
=======
14+
15+
Licensed to the Apache Software Foundation (ASF) under one
16+
or more contributor license agreements. See the NOTICE file
17+
distributed with this work for additional information
18+
regarding copyright ownership. The ASF licenses this file
19+
to you under the Apache License, Version 2.0 (the
20+
"License"); you may not use this file except in compliance
21+
with the License. You may obtain a copy of the License at
22+
23+
http://www.apache.org/licenses/LICENSE-2.0
24+
25+
Unless required by applicable law or agreed to in writing,
26+
software distributed under the License is distributed on an
27+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
28+
KIND, either express or implied. See the License for the
29+
specific language governing permissions and limitations
30+
under the License.
31+
32+
Dependencies
33+
============
34+
35+
PHP_INT_SIZE
36+
37+
This built-in signals whether your architecture is 32 or 64 bit and is
38+
used by the TBinaryProtocol to properly use pack() and unpack() to
39+
serialize data.
40+
41+
apc_fetch(), apc_store()
42+
43+
APC cache is used by the TSocketPool class. If you do not have APC installed,
44+
Thrift will fill in null stub function definitions.

composer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "packaged/thrift",
3+
"description": "Apache Thrift",
4+
"version": "0.9.0",
5+
"keywords": ["thrift", "apache"],
6+
"homepage": "http://thrift.apache.org/",
7+
"minimum-stability": "stable",
8+
"license": "Apache-2.0",
9+
"require": {
10+
"php": ">=5.0.0"
11+
},
12+
"autoload": {
13+
"psr-0": {
14+
"Thrift\\": "src/"
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)