@@ -10,12 +10,6 @@ Development progress is being tracked in the
10
10
[ pecl-prototype] ( https://jira.mongodb.org/browse/PHP/component/13249 ) component
11
11
of the MongoDB PHP driver's JIRA project.
12
12
13
- This repo contains design documentation, examples, and a proof-of-concept
14
- implementation of a new MongoDB driver for PHP, Phongo. Unlike the
15
- [ existing driver] ( https://github.com/mongodb/mongo-php-driver ) , this project
16
- utilizes [ libmongoc] ( https://github.com/mongodb/mongo-c-driver ) and
17
- [ libbson] ( https://github.com/mongodb/libbson ) .
18
-
19
13
The purpose of this driver is to provide exceptionally thin glue between MongoDB
20
14
and PHP, implementing only fundemental and performance-critical components
21
15
necessary to build a fully-functional MongoDB driver.
@@ -38,26 +32,6 @@ fast and powerful.
38
32
* [ Inserting] ( docs/examples/insert.php )
39
33
* Custom [ BSON deserialization] ( docs/examples/changing-types.php )
40
34
41
- ## Development
42
-
43
- The API is developed using normal PHP userland syntax:
44
-
45
- * [ Connection Manager] ( docs/api/MongoDB/Manager.php )
46
- * [ ReadPreference] ( docs/api/MongoDB/ReadPreference.php )
47
- * [ WriteBatch] ( docs/api/MongoDB/WriteBatch.php )
48
- * [ WriteResult] ( docs/api/MongoDB/WriteResult.php )
49
- * [ Query] ( docs/api/MongoDB/Query.php )
50
- * [ QueryResult] ( docs/api/MongoDB/QueryResult.php )
51
- * [ Command] ( docs/api/MongoDB/Command.php )
52
- * [ CommandResult] ( docs/api/MongoDB/CommandResult.php )
53
-
54
- The implementation of these objects use CIMPL (Simple) and CEF (Chef) inline
55
- code snippets which are then included in the generated C code.
56
-
57
- The goal is that this PHP implementation can serve as the canonical
58
- implementation of the driver and then used to generate extensions for other PHP
59
- implementations (e.g. HHVM).
60
-
61
35
## Installation
62
36
63
37
Ultimately, this extension is not intended to be explicitly installed. Users
@@ -68,18 +42,12 @@ support installing extension dependencies.
68
42
This project is currently not published as a PECL extension and must be built
69
43
and installed manually.
70
44
71
- To build the driver:
72
-
73
- ```
74
- $ phpize
75
- $ ./configure
76
- $ make
77
- ```
78
-
79
- To install the driver:
45
+ To build and install the driver:
80
46
81
47
```
82
- $ make install
48
+ $ wget https://github.com/bjori/phongo/releases/download/0.1.0/phongo-0.1.0.tgz
49
+ $ pecl install phongo-0.1.0.tgz
50
+ $ echo "extension=phongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
83
51
```
84
52
85
53
## Testing
0 commit comments