Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/publish-packagist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Packagist
on:
workflow_dispatch:

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Publish to Packagist
run: |-
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://github.com/context-dot-dev/context-php-sdk"}'
env:
PACKAGIST_USERNAME: ${{ secrets.CONTEXT_DEV_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }}
PACKAGIST_SAFE_KEY: ${{ secrets.CONTEXT_DEV_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'stainless-sdks/context.dev-php' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
if: github.repository == 'context-dot-dev/context-php-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.1"
".": "1.0.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e10718ebeb5bc263af75fe2341f7d1e91442f3e64b703bf7d416f8e7f328d2f9.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e.yml
openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7
config_hash: 48c9231dff85f546e8210338751ccb41
config_hash: b0f343b2ab3baebad7b0d6d51f0f16fc
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

## 1.0.0 (2026-06-21)

Full Changelog: [v0.0.1...v1.0.0](https://github.com/context-dot-dev/context-php-sdk/compare/v0.0.1...v1.0.0)

### Features

* **api:** manual updates ([ccdd487](https://github.com/context-dot-dev/context-php-sdk/commit/ccdd487df0a216fc3a1aa25d636e14883c9b3331))


### Chores

* configure new SDK language ([99718fc](https://github.com/context-dot-dev/context-php-sdk/commit/99718fc516e6729428e569fa4bcfa8383ab1e298))
* update SDK settings ([f2a0d39](https://github.com/context-dot-dev/context-php-sdk/commit/f2a0d3925603e5877bf5e628b5e9a6228abb25fe))
22 changes: 7 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,13 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte

## Installation

To use this package, install via Composer by adding the following to your application's `composer.json`:

```json
{
"repositories": [
{
"type": "vcs",
"url": "git@github.com:stainless-sdks/context.dev-php.git"
}
],
"require": {
"org-placeholder/context-dev": "dev-main"
}
}
<!-- x-release-please-start-version -->

```
composer require "org-placeholder/context-dev 1.0.0"
```

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

## Usage

Expand Down Expand Up @@ -167,4 +159,4 @@ PHP 8.1.0 or higher.

## Contributing

See [the contributing documentation](https://github.com/stainless-sdks/context.dev-php/tree/main/CONTRIBUTING.md).
See [the contributing documentation](https://github.com/context-dot-dev/context-php-sdk/tree/main/CONTRIBUTING.md).
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace ContextDev;

// x-release-please-start-version
const VERSION = '0.0.1';
const VERSION = '1.0.0';
// x-release-please-end