Xuanwo commented on code in PR #2843:
URL: 
https://github.com/apache/incubator-opendal/pull/2843#discussion_r1290873301


##########
bindings/php/README.md:
##########
@@ -1,32 +1,82 @@
-# OpenDAL PHP Binding (WIP)
+# OpenDAL PHP Binding
+
+## Example
+
+```php
+use OpenDAL\Operator;
+
+$op = new Operator("fs", ["root" => "/tmp"]);
+$op->write("test.txt", "hello world");
+
+echo $op->read("test.txt"); // hello world
+```
 
 ## Requirements
 
 * PHP 8.1+
+* Composer
 
-## Development
+## Install Extension

Review Comment:
   Is there a way to distribute native exetension so that users only need to 
add fields in `composer` instead? I expect users don't need to know about rust 
core details and just use `opendal` as a native php package.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to