Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 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
e7ccced
release: 0.0.2
stainless-app[bot] Sep 5, 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-bc7c0d27962b30c19c778656988e154b54696819389289f34420a5e5fdfbd3b8.yml
openapi_spec_hash: 1bfde02a63416c036e9545927f727459
config_hash: b415c06a3b29485af4601beb94ae1aeb
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Changelog

## 0.0.2 (2025-09-05)

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

### 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 ([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))


### Bug Fixes

* decorate with enum label for all enum classes ([c3ea060](https://github.com/imagekit-developer/imagekit-php/commit/c3ea060ee47054167b8db064d3b423065fb106c1))
* filter logic for setting data in GuzzleHttpWrapper ([4f510b9](https://github.com/imagekit-developer/imagekit-php/commit/4f510b938073ea4bf0f6d867a3cf9170be6cc246))
* remove uniqueFileName & isPrivate hardcoding from GuzzleHttpWrapper getMultipartData fn ([11aff51](https://github.com/imagekit-developer/imagekit-php/commit/11aff51f80a751c8393d3b0983d91ff3b816dc84))
* update sdk-version url generation param to ik-sdk-version ([9e2eae6](https://github.com/imagekit-developer/imagekit-php/commit/9e2eae65570d569aa8776cc46aec1588beeee596))
* url tests & signature tests ([ca6cd93](https://github.com/imagekit-developer/imagekit-php/commit/ca6cd931774af3269380ef46f09429a52dbfdc1a))


### Chores

* document parameter object usage ([c959bcf](https://github.com/imagekit-developer/imagekit-php/commit/c959bcf6d18e0f078fbed9d50c05d6feb1d81a42))
* **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 dependencies to replace guzzlehttp/streams with guzzle/Psr7 ([ddc07e9](https://github.com/imagekit-developer/imagekit-php/commit/ddc07e9ee94541a7c0c28ac1cfe7980ec5045784))
* update documentation ([523ee0d](https://github.com/imagekit-developer/imagekit-php/commit/523ee0d463756aa534a6fa0daa315f9fab297800))
* update documentation for running test cases ([6f7810e](https://github.com/imagekit-developer/imagekit-php/commit/6f7810eb81ba91679ff8aa62ab41395a50793f4d))
* 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