update php readme

This commit is contained in:
wing328
2016-02-19 23:37:35 +08:00
parent bb59ad95cf
commit f27d2534a6
2 changed files with 33 additions and 38 deletions

View File

@@ -14,11 +14,11 @@ You can install the bindings via [Composer](http://getcomposer.org/). Add this t
"repositories": [
{
"type": "git",
"url": "https://github.com/YOUR_GITHUB_ID/{{packagePath}}.git"
"url": "https://github.com/{{composerVendorName}}/{{composerProjectName}}.git"
}
],
"require": {
"{{composerVendorName}}/{{composerPackageName}}": "*@dev"
"{{composerVendorName}}/{{composerProjectName}}": "*@dev"
}
}
```
@@ -27,7 +27,7 @@ Then install via `composer install`
### Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the `{{packagePath}}.php` file.
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the `autoload.php` file.
```php
require_once('/path/to/{{packagePath}}/autoload.php');
```