Skip to content

Commit 0e9fe78

Browse files
feat(api): api update
1 parent 8ea143a commit 0e9fe78

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Packagist
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
publish:
7+
name: publish
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Publish to Packagist
14+
run: |-
15+
curl --fail-with-body -X POST -H 'Content-Type: application/json' "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_SAFE_KEY}" -d '{"repository":"https://www.github.com/Increase/increase-php"}'
16+
env:
17+
PACKAGIST_USERNAME: ${{ secrets.INCREASE_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }}
18+
PACKAGIST_SAFE_KEY: ${{ secrets.INCREASE_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 232
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a559a6a1a1f3781fad8db5bcb96c40b69a78b952d659395840accce782098e0c.yml
33
openapi_spec_hash: 2ae62041468e5cf6fe653d65b1b7a58a
4-
config_hash: 3ccb2793be25ae0b15e05dc9ef5da09c
4+
config_hash: 27e44ed36b9c5617b580ead7231a594a

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,10 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
88

99
## Installation
1010

11-
To use this package, install via Composer by adding the following to your application's `composer.json`:
12-
1311
<!-- x-release-please-start-version -->
1412

15-
```json
16-
{
17-
"repositories": [
18-
{
19-
"type": "vcs",
20-
"url": "git@github.com:Increase/increase-php.git"
21-
}
22-
],
23-
"require": {
24-
"increase/increase": "dev-main"
25-
}
26-
}
13+
```
14+
composer require "increase/increase 0.0.1"
2715
```
2816

2917
<!-- x-release-please-end -->

0 commit comments

Comments
 (0)