Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bb14ef3
chore: sync repo
stainless-app[bot] Sep 1, 2025
6913a6d
chore: update SDK settings
stainless-app[bot] Sep 1, 2025
84f5b7c
feat(api): add BaseWebhookEvent
stainless-app[bot] Sep 2, 2025
864a1aa
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
d47d531
codegen metadata
stainless-app[bot] Sep 2, 2025
3ac5bb6
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
8aecc6e
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
2ebe4bf
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
5bce0a4
codegen metadata
stainless-app[bot] Sep 2, 2025
6ec4a94
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
0daa175
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
aba7242
chore(internal): refactor base client internals
stainless-app[bot] Sep 3, 2025
79f9906
feat(api): manual updates
stainless-app[bot] Sep 3, 2025
e5c5084
codegen metadata
stainless-app[bot] Sep 3, 2025
c959bcf
chore: document parameter object usage
stainless-app[bot] Sep 4, 2025
de13f68
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
2361086
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
e5c1428
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
46dbc22
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
4008775
codegen metadata
stainless-app[bot] Sep 4, 2025
a635441
codegen metadata
stainless-app[bot] Sep 4, 2025
c3ea060
fix: decorate with enum label for all enum classes
stainless-app[bot] Sep 5, 2025
76b7d1a
chore(internal): codegen related update
stainless-app[bot] Sep 5, 2025
8628e12
feat(api): extract UpdateFileDetailsRequest to model
stainless-app[bot] Sep 5, 2025
1329184
feat!: expose services and service contracts
stainless-app[bot] Sep 6, 2025
0b65863
feat(client): use real enums
stainless-app[bot] Sep 9, 2025
a57c7cc
chore: fix lints in UnionOf
stainless-app[bot] Sep 11, 2025
cc5397d
feat(client): support raw responses
stainless-app[bot] Sep 13, 2025
049e837
feat(client): add raw methods
stainless-app[bot] Sep 13, 2025
d3e94af
fix(client): elide client methods in docs
stainless-app[bot] Sep 14, 2025
bfc46ad
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
2d65a57
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
333c06b
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
279ba5f
codegen metadata
stainless-app[bot] Sep 19, 2025
3042a50
codegen metadata
stainless-app[bot] Sep 19, 2025
a3edfdd
feat(api): Update env var name
stainless-app[bot] Sep 20, 2025
aff2c75
feat(api): update api docs link
stainless-app[bot] Sep 20, 2025
a6f01f0
feat(api): remove Stainless attribution from readme
stainless-app[bot] Sep 20, 2025
250d015
codegen metadata
stainless-app[bot] Sep 21, 2025
72a4668
release: 0.0.2
stainless-app[bot] Sep 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 0 additions & 15 deletions .editorconfig

This file was deleted.

10 changes: 0 additions & 10 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html

# Ignore all test and documentation with "export-ignore".
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/scrutinizer.yml export-ignore
/tests export-ignore
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-php' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4

- name: Set up PHP
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.3'

- name: Run Bootstrap
run: ./scripts/bootstrap

- name: Run lints
run: ./scripts/lint
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-php' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4

- name: Set up PHP
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.3'

- name: Run bootstrap
run: ./scripts/bootstrap

- name: Run tests
run: ./scripts/test
29 changes: 0 additions & 29 deletions .github/workflows/coverage.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Doctor
on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'imagekit-developer/imagekit-php' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
31 changes: 0 additions & 31 deletions .github/workflows/test.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/wiki.yml

This file was deleted.

51 changes: 10 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,11 @@
# IntelliJ - PhpStorm and PyCharm
.idea
*.iml
*.ipr
*.iws

# Netbeans
nbproject
.nbproject
.nbproject/*
nbproject/*
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml

# Mac OSX
.DS_Store
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes

# SublimeText project files
/*.sublime-project
*.sublime-workspace

build
docs
vendor
composer.phar
composer.lock
docs/
.idea/
.php-cs-fixer.cache
.php-cs-fixer.php
.phpunit.cache
phpunit.xml
.vscode
.phpunit*
sample/vendor
sample/composer.lock

*.phar
playground/
*.swo
*.swp
vendor/
17 changes: 17 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

use PhpCsFixer\Config;
use PhpCsFixer\Finder;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;

return (new Config())
->setParallelConfig(ParallelConfigFactory::detect())
->setFinder(Finder::create()->in([__DIR__.'/src', __DIR__.'/tests']))
->setRules([
'@PhpCsFixer' => true,
'phpdoc_align' => false,
'new_with_parentheses' => ['named_class' => false],
'ordered_types' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
])
;
6 changes: 6 additions & 0 deletions .phpactor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"indexer.exclude_patterns": ["vendor"],
"language_server_completion.trim_leading_dollar": true,
"language_server_php_cs_fixer.enabled": false,
"language_server_phpstan.enabled": true
}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.2"
}
4 changes: 4 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configured_endpoints: 42
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-d1a3e6dfc45ae832b6b14a0aef25878985c679fa9f48c1470df188b1578ba648.yml
openapi_spec_hash: 1d382866fce3284f26d341f112988d9d
config_hash: d57f3c7c581048428b41398f30da8b9b
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Changelog

## 0.0.2 (2025-09-21)

Full Changelog: [v0.0.1...v0.0.2](https://github.com/imagekit-developer/imagekit-php/compare/v0.0.1...v0.0.2)

### ⚠ BREAKING CHANGES

* expose services and service contracts

### Features

* **api:** add BaseWebhookEvent ([84f5b7c](https://github.com/imagekit-developer/imagekit-php/commit/84f5b7c65eb1b7b23fdda823aca71c51b73023e3))
* **api:** extract UpdateFileDetailsRequest to model ([8628e12](https://github.com/imagekit-developer/imagekit-php/commit/8628e12e2bdb99f3755bb1ea960547876fcccf00))
* **api:** manual updates ([333c06b](https://github.com/imagekit-developer/imagekit-php/commit/333c06bedfbe8d5a91d1549ad5d67f05e794d159))
* **api:** manual updates ([2d65a57](https://github.com/imagekit-developer/imagekit-php/commit/2d65a573684fed507cfb7397f73ef22b9d9e8f94))
* **api:** manual updates ([bfc46ad](https://github.com/imagekit-developer/imagekit-php/commit/bfc46add70562512b60928554638368443b6e38c))
* **api:** manual updates ([46dbc22](https://github.com/imagekit-developer/imagekit-php/commit/46dbc22461339a6be4f275f57b4f74a6fc2e4625))
* **api:** manual updates ([e5c1428](https://github.com/imagekit-developer/imagekit-php/commit/e5c142868fae36f9f88f4142b98b47a1abbbaa1c))
* **api:** manual updates ([2361086](https://github.com/imagekit-developer/imagekit-php/commit/2361086b4a3578fc04ac20da138d1ebcf3f92852))
* **api:** manual updates ([de13f68](https://github.com/imagekit-developer/imagekit-php/commit/de13f687044f442b41ec1de7a72c2fd3ad27f1e1))
* **api:** manual updates ([79f9906](https://github.com/imagekit-developer/imagekit-php/commit/79f9906770fee9602f9b1ed6397b5b00f015bcd2))
* **api:** manual updates ([0daa175](https://github.com/imagekit-developer/imagekit-php/commit/0daa17580a73ebd447e344f01fa36f1fb593dd4d))
* **api:** manual updates ([6ec4a94](https://github.com/imagekit-developer/imagekit-php/commit/6ec4a94508922f91f34d9b58226e047de6c40399))
* **api:** manual updates ([2ebe4bf](https://github.com/imagekit-developer/imagekit-php/commit/2ebe4bffb958f8cd8c923b285bdb79b4d93ea755))
* **api:** manual updates ([8aecc6e](https://github.com/imagekit-developer/imagekit-php/commit/8aecc6ee1d42589a554687c3a8138ff764ba223f))
* **api:** manual updates ([3ac5bb6](https://github.com/imagekit-developer/imagekit-php/commit/3ac5bb60ab1b828c27a17e8d499309c1ac077dd9))
* **api:** manual updates ([864a1aa](https://github.com/imagekit-developer/imagekit-php/commit/864a1aa121d394cbc89a9b305d03177777fe173e))
* **api:** remove Stainless attribution from readme ([a6f01f0](https://github.com/imagekit-developer/imagekit-php/commit/a6f01f0756a28bb4deafc5f65480aad544c12947))
* **api:** update api docs link ([aff2c75](https://github.com/imagekit-developer/imagekit-php/commit/aff2c753975007fed90c0400fef40c50a42d5587))
* **api:** Update env var name ([a3edfdd](https://github.com/imagekit-developer/imagekit-php/commit/a3edfdd78c4a8aa37d18c74d0adade953a63d834))
* **client:** add raw methods ([049e837](https://github.com/imagekit-developer/imagekit-php/commit/049e837e2827e68c6cada81e7e35e3ddef23beb9))
* **client:** support raw responses ([cc5397d](https://github.com/imagekit-developer/imagekit-php/commit/cc5397ddbb7a5a58b22f25037a76cc502a972692))
* **client:** use real enums ([0b65863](https://github.com/imagekit-developer/imagekit-php/commit/0b65863c45d58bf52bca76cfa8f7560e381d7dc9))
* expose services and service contracts ([1329184](https://github.com/imagekit-developer/imagekit-php/commit/13291847d68a49a7468bf64dac797124ad8b2178))


### Bug Fixes

* **client:** elide client methods in docs ([d3e94af](https://github.com/imagekit-developer/imagekit-php/commit/d3e94af126fa9bf00a0a704aa9fbc8e37125447a))
* decorate with enum label for all enum classes ([c3ea060](https://github.com/imagekit-developer/imagekit-php/commit/c3ea060ee47054167b8db064d3b423065fb106c1))


### Chores

* document parameter object usage ([c959bcf](https://github.com/imagekit-developer/imagekit-php/commit/c959bcf6d18e0f078fbed9d50c05d6feb1d81a42))
* fix lints in UnionOf ([a57c7cc](https://github.com/imagekit-developer/imagekit-php/commit/a57c7cc9f5131daea2a45d261b414a3deed3adba))
* **internal:** codegen related update ([76b7d1a](https://github.com/imagekit-developer/imagekit-php/commit/76b7d1a3bec0ff36b996eceb7af07a54f4a8439a))
* **internal:** refactor base client internals ([aba7242](https://github.com/imagekit-developer/imagekit-php/commit/aba7242684bdef5c8926ef4f1e7b0909650cbf17))
* sync repo ([bb14ef3](https://github.com/imagekit-developer/imagekit-php/commit/bb14ef396deb2b1bccc1e8d80da4bd47e3a04427))
* update SDK settings ([6913a6d](https://github.com/imagekit-developer/imagekit-php/commit/6913a6de33f625b50dc0aa5881e1208e136c8b2a))
25 changes: 0 additions & 25 deletions DEVELOPMENT.md

This file was deleted.

Loading
Loading