fixed package name

This commit is contained in:
viraladmin 2026-07-25 15:54:16 -06:00
parent 18986ad41f
commit 33718dcd81
1 changed files with 5 additions and 21 deletions

View File

@ -1,6 +1,6 @@
# PHP Contractless RPC # Contractless PHP RPC
`php-contractless-rpc` connects PHP applications directly to a Contractless `contractless-php-rpc` connects PHP applications directly to a Contractless
node. It implements the authenticated binary RPC protocol without invoking node. It implements the authenticated binary RPC protocol without invoking
Contractless CLI programs. Contractless CLI programs.
@ -36,29 +36,13 @@ native module build, installation, and compatibility-test instructions.
When this package is available through Packagist: When this package is available through Packagist:
```bash ```bash
composer require contractless/php-contractless-rpc composer require contractless/contractless-php-rpc
```
Until the package is published, add it as a Composer path repository:
```json
{
"repositories": [
{
"type": "path",
"url": "../php-contractless-rpc"
}
],
"require": {
"contractless/php-contractless-rpc": "@dev"
}
}
``` ```
Then install it: Then install it:
```bash ```bash
composer update contractless/php-contractless-rpc composer update contractless/contractless-php-rpc
``` ```
## Basic Use ## Basic Use
@ -165,6 +149,6 @@ composer test
``` ```
Commit `composer.json`, `README.md`, `src/`, and `tests/` to the Commit `composer.json`, `README.md`, `src/`, and `tests/` to the
`php-contractless-rpc` repository. Create a release tag such as `v0.1.0`, then `contractless-php-rpc` repository. Create a release tag such as `v0.1.0`, then
submit the repository URL to Packagist. Future version tags become installable submit the repository URL to Packagist. Future version tags become installable
Composer releases. Composer releases.