Skip to content

Commit a5c09c9

Browse files
committed
Update README for current situation
1 parent 5c289b8 commit a5c09c9

File tree

1 file changed

+4
-36
lines changed

1 file changed

+4
-36
lines changed

README.md

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ Development progress is being tracked in the
1010
[pecl-prototype](https://jira.mongodb.org/browse/PHP/component/13249) component
1111
of the MongoDB PHP driver's JIRA project.
1212

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-
1913
The purpose of this driver is to provide exceptionally thin glue between MongoDB
2014
and PHP, implementing only fundemental and performance-critical components
2115
necessary to build a fully-functional MongoDB driver.
@@ -38,26 +32,6 @@ fast and powerful.
3832
* [Inserting](docs/examples/insert.php)
3933
* Custom [BSON deserialization](docs/examples/changing-types.php)
4034

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-
6135
## Installation
6236

6337
Ultimately, this extension is not intended to be explicitly installed. Users
@@ -68,18 +42,12 @@ support installing extension dependencies.
6842
This project is currently not published as a PECL extension and must be built
6943
and installed manually.
7044

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:
8046

8147
```
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*||"`
8351
```
8452

8553
## Testing

0 commit comments

Comments
 (0)