From bb14ef396deb2b1bccc1e8d80da4bd47e3a04427 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Mon, 1 Sep 2025 13:50:19 +0000
Subject: [PATCH 01/40] chore: sync repo
---
.editorconfig | 15 -
.gitattributes | 10 -
.github/workflows/ci.yml | 52 +
.github/workflows/coverage.yml | 29 -
.github/workflows/create-releases.yml | 30 +
.github/workflows/release-doctor.yml | 21 +
.github/workflows/test.yml | 31 -
.github/workflows/wiki.yml | 24 -
.gitignore | 51 +-
.php-cs-fixer.dist.php | 17 +
.phpactor.json | 6 +
.release-please-manifest.json | 3 +
.stats.yml | 4 +
DEVELOPMENT.md | 25 -
LICENSE | 221 +-
README.md | 1277 +--------
SECURITY.md | 27 +
bin/check-release-environment | 29 +
composer.json | 89 +-
composer.lock | 2395 -----------------
phpstan.dist.neon | 14 +
phpunit.xml.dist | 31 +-
release-please-config.json | 66 +
sample/README.md | 15 -
sample/file_management/index.php | 319 ---
sample/metadata/index.php | 62 -
sample/sample.php | 31 -
sample/sample_image.jpeg | Bin 62767 -> 0 bytes
sample/upload_api/index.php | 87 -
sample/upload_api/sample_image.jpeg | Bin 62767 -> 0 bytes
.../chained_transformations.php | 54 -
...age_enhancement_and_color_manipulation.php | 105 -
sample/url_generation/index.php | 11 -
...size_crop_other_common_transformations.php | 521 ----
sample/url_generation/signed_url.php | 27 -
sample/utility/index.php | 26 -
scripts/bootstrap | 8 +
scripts/clean | 8 +
scripts/format | 8 +
scripts/lint | 8 +
scripts/mock | 41 +
scripts/test | 55 +
src/Accounts/Origins/OriginCreateParams.php | 87 +
src/Accounts/Origins/OriginRequest.php | 48 +
.../Origins/OriginRequest/AkeneoPim.php | 231 ++
.../Origins/OriginRequest/AzureBlob.php | 178 ++
.../OriginRequest/CloudinaryBackup.php | 202 ++
src/Accounts/Origins/OriginRequest/Gcs.php | 178 ++
src/Accounts/Origins/OriginRequest/S3.php | 198 ++
.../Origins/OriginRequest/S3Compatible.php | 245 ++
.../Origins/OriginRequest/WebFolder.php | 159 ++
.../Origins/OriginRequest/WebProxy.php | 118 +
src/Accounts/Origins/OriginResponse.php | 48 +
.../Origins/OriginResponse/AkeneoPim.php | 162 ++
.../Origins/OriginResponse/AzureBlob.php | 193 ++
.../OriginResponse/CloudinaryBackup.php | 185 ++
src/Accounts/Origins/OriginResponse/Gcs.php | 193 ++
src/Accounts/Origins/OriginResponse/S3.php | 185 ++
.../Origins/OriginResponse/S3Compatible.php | 233 ++
.../Origins/OriginResponse/WebFolder.php | 190 ++
.../Origins/OriginResponse/WebProxy.php | 138 +
src/Accounts/Origins/OriginUpdateParams.php | 87 +
.../URLEndpoints/URLEndpointCreateParams.php | 149 +
.../URLEndpointCreateParams/URLRewriter.php | 38 +
.../URLRewriter/Akamai.php | 36 +
.../URLRewriter/Cloudinary.php | 60 +
.../URLRewriter/Imgix.php | 36 +
.../URLEndpoints/URLEndpointRequest.php | 144 +
.../URLEndpointRequest/URLRewriter.php | 38 +
.../URLEndpointRequest/URLRewriter/Akamai.php | 36 +
.../URLRewriter/Cloudinary.php | 60 +
.../URLEndpointRequest/URLRewriter/Imgix.php | 36 +
.../URLEndpoints/URLEndpointResponse.php | 170 ++
.../URLEndpointResponse/URLRewriter.php | 38 +
.../URLRewriter/Akamai.php | 36 +
.../URLRewriter/Cloudinary.php | 74 +
.../URLEndpointResponse/URLRewriter/Imgix.php | 36 +
.../URLEndpoints/URLEndpointUpdateParams.php | 149 +
.../URLEndpointUpdateParams/URLRewriter.php | 38 +
.../URLRewriter/Akamai.php | 36 +
.../URLRewriter/Cloudinary.php | 60 +
.../URLRewriter/Imgix.php | 36 +
src/Accounts/Usage/UsageGetParams.php | 96 +
src/Accounts/Usage/UsageGetResponse.php | 140 +
src/Assets/AssetListParams.php | 242 ++
src/Assets/AssetListParams/FileType.php | 26 +
src/Assets/AssetListParams/Sort.php | 44 +
src/Assets/AssetListParams/Type.php | 29 +
src/Assets/AssetListResponseItem.php | 33 +
src/BaseOverlay.php | 64 +
src/Beta/V2/Files/FileUploadParams.php | 571 ++++
.../V2/Files/FileUploadParams/Extension.php | 35 +
.../Extension/AIAutoDescription.php | 39 +
.../Extension/AutoTaggingExtension.php | 119 +
.../Extension/AutoTaggingExtension/Name.php | 20 +
.../FileUploadParams/Extension/RemoveBg.php | 55 +
.../Extension/RemoveBg/Options.php | 117 +
.../Files/FileUploadParams/ResponseField.php | 27 +
.../Files/FileUploadParams/Transformation.php | 99 +
.../FileUploadParams/Transformation/Post.php | 37 +
.../Transformation/Post/Abs.php | 101 +
.../Transformation/Post/Abs/Protocol.php | 20 +
.../Transformation/Post/GifToVideo.php | 62 +
.../Transformation/Post/Thumbnail.php | 62 +
.../Transformation/Post/Transformation.php | 76 +
src/Beta/V2/Files/FileUploadResponse.php | 556 ++++
.../V2/Files/FileUploadResponse/AITag.php | 95 +
.../FileUploadResponse/ExtensionStatus.php | 126 +
.../ExtensionStatus/AIAutoDescription.php | 19 +
.../ExtensionStatus/AwsAutoTagging.php | 19 +
.../ExtensionStatus/GoogleAutoTagging.php | 19 +
.../ExtensionStatus/RemoveBg.php | 19 +
.../Files/FileUploadResponse/VersionInfo.php | 74 +
.../Invalidation/InvalidationCreateParams.php | 74 +
.../Invalidation/InvalidationGetResponse.php | 61 +
.../InvalidationGetResponse/Status.php | 20 +
.../Invalidation/InvalidationNewResponse.php | 54 +
src/Client.php | 123 +
src/Core.php | 9 +
src/Core/Attributes/Api.php | 42 +
src/Core/BaseClient.php | 222 ++
src/Core/Concerns/SdkEnum.php | 33 +
src/Core/Concerns/SdkModel.php | 269 ++
src/Core/Concerns/SdkPage.php | 118 +
src/Core/Concerns/SdkParams.php | 37 +
src/Core/Concerns/SdkUnion.php | 40 +
src/Core/Contracts/BaseModel.php | 18 +
src/Core/Contracts/BasePage.php | 52 +
src/Core/Contracts/BaseStream.php | 36 +
src/Core/Conversion.php | 165 ++
src/Core/Conversion/CoerceState.php | 19 +
src/Core/Conversion/Concerns/ArrayOf.php | 66 +
src/Core/Conversion/Contracts/Converter.php | 24 +
.../Conversion/Contracts/ConverterSource.php | 13 +
src/Core/Conversion/DumpState.php | 15 +
src/Core/Conversion/EnumOf.php | 46 +
src/Core/Conversion/ListOf.php | 21 +
src/Core/Conversion/MapOf.php | 16 +
src/Core/Conversion/ModelOf.php | 128 +
src/Core/Conversion/PropertyInfo.php | 76 +
src/Core/Conversion/UnionOf.php | 96 +
.../Exceptions/APIConnectionException.php | 9 +
src/Core/Exceptions/APIException.php | 23 +
src/Core/Exceptions/APIStatusException.php | 55 +
src/Core/Exceptions/APITimeoutException.php | 19 +
.../Exceptions/AuthenticationException.php | 9 +
src/Core/Exceptions/BadRequestException.php | 9 +
src/Core/Exceptions/ConflictException.php | 9 +
src/Core/Exceptions/ImageKitException.php | 14 +
.../Exceptions/InternalServerException.php | 9 +
src/Core/Exceptions/NotFoundException.php | 9 +
.../Exceptions/PermissionDeniedException.php | 9 +
src/Core/Exceptions/RateLimitException.php | 9 +
.../UnprocessableEntityException.php | 9 +
src/Core/Implementation/Omit.php | 13 +
.../Accounts/OriginsContract.php | 72 +
.../Accounts/URLEndpointsContract.php | 77 +
.../Accounts/UsageContract.php | 23 +
.../ServiceContracts/AccountsContract.php | 7 +
src/Core/ServiceContracts/AssetsContract.php | 61 +
.../Beta/V2/FilesContract.php | 98 +
src/Core/ServiceContracts/Beta/V2Contract.php | 7 +
src/Core/ServiceContracts/BetaContract.php | 7 +
.../Cache/InvalidationContract.php | 30 +
src/Core/ServiceContracts/CacheContract.php | 7 +
.../CustomMetadataFieldsContract.php | 63 +
.../ServiceContracts/Files/BulkContract.php | 60 +
.../Files/MetadataContract.php | 29 +
.../Files/VersionsContract.php | 55 +
src/Core/ServiceContracts/FilesContract.php | 206 ++
.../ServiceContracts/Folders/JobContract.php | 19 +
src/Core/ServiceContracts/FoldersContract.php | 91 +
.../ServiceContracts/WebhooksContract.php | 7 +
src/Core/Services/Accounts/OriginsService.php | 149 +
.../Services/Accounts/URLEndpointsService.php | 163 ++
src/Core/Services/Accounts/UsageService.php | 47 +
src/Core/Services/AccountsService.php | 39 +
src/Core/Services/AssetsService.php | 95 +
src/Core/Services/Beta/V2/FilesService.php | 160 ++
src/Core/Services/Beta/V2Service.php | 25 +
src/Core/Services/BetaService.php | 25 +
.../Services/Cache/InvalidationService.php | 64 +
src/Core/Services/CacheService.php | 25 +
.../Services/CustomMetadataFieldsService.php | 132 +
src/Core/Services/Files/BulkService.php | 139 +
src/Core/Services/Files/MetadataService.php | 65 +
src/Core/Services/Files/VersionsService.php | 129 +
src/Core/Services/FilesService.php | 401 +++
src/Core/Services/Folders/JobService.php | 36 +
src/Core/Services/FoldersService.php | 203 ++
src/Core/Services/WebhooksService.php | 16 +
src/Core/Util.php | 445 +++
.../CustomMetadataField.php | 135 +
.../CustomMetadataField/Schema.php | 234 ++
.../Schema/DefaultValue.php | 28 +
.../Schema/DefaultValue/Mixed.php | 23 +
.../CustomMetadataField/Schema/MaxValue.php | 26 +
.../CustomMetadataField/Schema/MinValue.php | 26 +
.../Schema/SelectOption.php | 23 +
.../CustomMetadataField/Schema/Type.php | 30 +
.../CustomMetadataFieldCreateParams.php | 113 +
.../Schema.php | 232 ++
.../Schema/DefaultValue.php | 28 +
.../Schema/DefaultValue/Mixed.php | 23 +
.../Schema/MaxValue.php | 26 +
.../Schema/MinValue.php | 26 +
.../Schema/SelectOption.php | 23 +
.../Schema/Type.php | 30 +
.../CustomMetadataFieldDeleteResponse.php | 32 +
.../CustomMetadataFieldListParams.php | 60 +
.../CustomMetadataFieldUpdateParams.php | 83 +
.../Schema.php | 193 ++
.../Schema/DefaultValue.php | 28 +
.../Schema/DefaultValue/Mixed.php | 23 +
.../Schema/MaxValue.php | 26 +
.../Schema/MinValue.php | 26 +
.../Schema/SelectOption.php | 23 +
src/Files/Bulk/BulkAddTagsParams.php | 105 +
src/Files/Bulk/BulkAddTagsResponse.php | 63 +
src/Files/Bulk/BulkDeleteParams.php | 84 +
src/Files/Bulk/BulkDeleteResponse.php | 63 +
src/Files/Bulk/BulkRemoveAITagsParams.php | 105 +
src/Files/Bulk/BulkRemoveAITagsResponse.php | 63 +
src/Files/Bulk/BulkRemoveTagsParams.php | 105 +
src/Files/Bulk/BulkRemoveTagsResponse.php | 63 +
src/Files/File.php | 503 ++++
src/Files/File/AITag.php | 95 +
src/Files/File/Type.php | 20 +
src/Files/File/VersionInfo.php | 74 +
src/Files/FileCopyParams.php | 118 +
src/Files/FileCopyResponse.php | 32 +
src/Files/FileMoveParams.php | 98 +
src/Files/FileMoveResponse.php | 32 +
src/Files/FileRenameParams.php | 144 +
src/Files/FileRenameResponse.php | 54 +
src/Files/FileUpdateParams.php | 60 +
src/Files/FileUpdateParams/Update.php | 25 +
.../Update/ChangePublicationStatus.php | 55 +
.../ChangePublicationStatus/Publish.php | 93 +
.../Update/UpdateFileDetails.php | 211 ++
.../Update/UpdateFileDetails/Extension.php | 35 +
.../Extension/AIAutoDescription.php | 39 +
.../Extension/AutoTaggingExtension.php | 119 +
.../Extension/AutoTaggingExtension/Name.php | 20 +
.../UpdateFileDetails/Extension/RemoveBg.php | 55 +
.../Extension/RemoveBg/Options.php | 117 +
.../Update/UpdateFileDetails/RemoveAITags.php | 31 +
src/Files/FileUpdateResponse.php | 53 +
.../FileUpdateResponse/ExtensionStatus.php | 118 +
.../ExtensionStatus/AIAutoDescription.php | 19 +
.../ExtensionStatus/AwsAutoTagging.php | 19 +
.../ExtensionStatus/GoogleAutoTagging.php | 19 +
.../ExtensionStatus/RemoveBg.php | 19 +
src/Files/FileUploadParams.php | 655 +++++
src/Files/FileUploadParams/Extension.php | 35 +
.../Extension/AIAutoDescription.php | 39 +
.../Extension/AutoTaggingExtension.php | 119 +
.../Extension/AutoTaggingExtension/Name.php | 20 +
.../FileUploadParams/Extension/RemoveBg.php | 55 +
.../Extension/RemoveBg/Options.php | 117 +
src/Files/FileUploadParams/ResponseField.php | 27 +
src/Files/FileUploadParams/Transformation.php | 99 +
.../FileUploadParams/Transformation/Post.php | 37 +
.../Transformation/Post/Abs.php | 101 +
.../Transformation/Post/Abs/Protocol.php | 20 +
.../Transformation/Post/GifToVideo.php | 62 +
.../Transformation/Post/Thumbnail.php | 62 +
.../Transformation/Post/Transformation.php | 76 +
src/Files/FileUploadResponse.php | 555 ++++
src/Files/FileUploadResponse/AITag.php | 95 +
.../FileUploadResponse/ExtensionStatus.php | 126 +
.../ExtensionStatus/AIAutoDescription.php | 19 +
.../ExtensionStatus/AwsAutoTagging.php | 19 +
.../ExtensionStatus/GoogleAutoTagging.php | 19 +
.../ExtensionStatus/RemoveBg.php | 19 +
src/Files/FileUploadResponse/VersionInfo.php | 74 +
src/Files/Folder.php | 164 ++
src/Files/Folder/Type.php | 18 +
src/Files/Metadata.php | 314 +++
src/Files/Metadata/Exif.php | 163 ++
src/Files/Metadata/Exif/Exif.php | 406 +++
src/Files/Metadata/Exif/Gps.php | 56 +
src/Files/Metadata/Exif/Image.php | 193 ++
src/Files/Metadata/Exif/Interoperability.php | 66 +
src/Files/Metadata/Exif/Thumbnail.php | 123 +
.../Metadata/MetadataGetFromURLParams.php | 74 +
src/Files/Versions/VersionDeleteParams.php | 70 +
src/Files/Versions/VersionDeleteResponse.php | 32 +
src/Files/Versions/VersionGetParams.php | 68 +
src/Files/Versions/VersionRestoreParams.php | 68 +
src/Folders/FolderCopyParams.php | 116 +
src/Folders/FolderCopyResponse.php | 70 +
src/Folders/FolderCreateParams.php | 104 +
src/Folders/FolderDeleteParams.php | 74 +
src/Folders/FolderDeleteResponse.php | 32 +
src/Folders/FolderMoveParams.php | 96 +
src/Folders/FolderMoveResponse.php | 70 +
src/Folders/FolderNewResponse.php | 32 +
src/Folders/FolderRenameParams.php | 132 +
src/Folders/FolderRenameResponse.php | 70 +
src/Folders/Job/JobGetResponse.php | 130 +
src/Folders/Job/JobGetResponse/Status.php | 20 +
src/Folders/Job/JobGetResponse/Type.php | 22 +
src/ImageKit/Configuration/Configuration.php | 30 -
src/ImageKit/Constants/Endpoints.php | 263 --
src/ImageKit/Constants/ErrorMessages.php | 153 --
.../Constants/SupportedTransforms.php | 51 -
src/ImageKit/ImageKit.php | 1205 ---------
src/ImageKit/Manage/Cache.php | 89 -
src/ImageKit/Manage/CustomMetadataFields.php | 242 --
src/ImageKit/Manage/File.php | 592 ----
src/ImageKit/Manage/Folder.php | 157 --
src/ImageKit/Phash/Phash.php | 52 -
src/ImageKit/Resource/GuzzleHttpWrapper.php | 313 ---
src/ImageKit/Resource/HttpRequest.php | 41 -
src/ImageKit/Signature/Signature.php | 53 -
src/ImageKit/Upload/Upload.php | 87 -
src/ImageKit/Url/Url.php | 420 ---
src/ImageKit/Utils/Authorization.php | 26 -
src/ImageKit/Utils/Response.php | 71 -
src/ImageKit/Utils/Transformation.php | 72 -
src/ImageOverlay.php | 136 +
src/ImageOverlay/Encoding.php | 25 +
src/Overlay.php | 39 +
src/OverlayPosition.php | 116 +
src/OverlayPosition/Focus.php | 35 +
src/OverlayPosition/X.php | 29 +
src/OverlayPosition/Y.php | 29 +
src/OverlayTiming.php | 117 +
src/OverlayTiming/Duration.php | 29 +
src/OverlayTiming/End.php | 30 +
src/OverlayTiming/Start.php | 29 +
src/RequestOptions.php | 219 ++
src/SolidColorOverlay.php | 106 +
src/SolidColorOverlayTransformation.php | 165 ++
.../Gradient.php | 27 +
.../Height.php | 27 +
.../Radius.php | 27 +
src/SolidColorOverlayTransformation/Width.php | 27 +
src/SrcOptions.php | 243 ++
src/StreamingResolution.php | 30 +
src/SubtitleOverlay.php | 134 +
src/SubtitleOverlay/Encoding.php | 25 +
src/SubtitleOverlayTransformation.php | 218 ++
.../Typography.php | 24 +
src/TextOverlay.php | 134 +
src/TextOverlay/Encoding.php | 25 +
src/TextOverlayTransformation.php | 332 +++
src/TextOverlayTransformation/Flip.php | 24 +
src/TextOverlayTransformation/FontSize.php | 26 +
.../InnerAlignment.php | 22 +
src/TextOverlayTransformation/LineHeight.php | 27 +
src/TextOverlayTransformation/Padding.php | 28 +
src/TextOverlayTransformation/Radius.php | 27 +
src/TextOverlayTransformation/Rotation.php | 27 +
src/TextOverlayTransformation/Width.php | 27 +
src/Transformation.php | 1334 +++++++++
src/Transformation/AIDropShadow.php | 30 +
src/Transformation/AIRemoveBackground.php | 20 +
.../AIRemoveBackgroundExternal.php | 21 +
src/Transformation/AIRetouch.php | 19 +
src/Transformation/AIUpscale.php | 19 +
src/Transformation/AIVariation.php | 20 +
src/Transformation/AspectRatio.php | 28 +
src/Transformation/AudioCodec.php | 22 +
src/Transformation/ContrastStretch.php | 19 +
src/Transformation/Crop.php | 26 +
src/Transformation/CropMode.php | 22 +
src/Transformation/Duration.php | 28 +
src/Transformation/EndOffset.php | 28 +
src/Transformation/Flip.php | 26 +
src/Transformation/Format.php | 41 +
src/Transformation/Gradient.php | 27 +
src/Transformation/Grayscale.php | 18 +
src/Transformation/Height.php | 28 +
src/Transformation/Page.php | 29 +
src/Transformation/Radius.php | 27 +
src/Transformation/Rotation.php | 29 +
src/Transformation/Shadow.php | 29 +
src/Transformation/Sharpen.php | 28 +
src/Transformation/StartOffset.php | 28 +
src/Transformation/Trim.php | 28 +
src/Transformation/UnsharpMask.php | 28 +
src/Transformation/VideoCodec.php | 24 +
src/Transformation/Width.php | 28 +
src/Transformation/X.php | 26 +
src/Transformation/XCenter.php | 26 +
src/Transformation/Y.php | 26 +
src/Transformation/YCenter.php | 26 +
src/TransformationPosition.php | 22 +
src/VideoOverlay.php | 136 +
src/VideoOverlay/Encoding.php | 25 +
src/Webhooks/UnsafeUnwrapWebhookEvent.php | 34 +
src/Webhooks/UnwrapWebhookEvent.php | 34 +
.../UploadPostTransformErrorEvent.php | 133 +
.../UploadPostTransformErrorEvent/Data.php | 151 ++
.../Data/Transformation.php | 63 +
.../Data/Transformation/Error.php | 68 +
.../UploadPostTransformErrorEvent/Request.php | 85 +
.../Request/Transformation.php | 123 +
.../Request/Transformation/Protocol.php | 20 +
.../Request/Transformation/Type.php | 24 +
.../UploadPostTransformSuccessEvent.php | 133 +
.../UploadPostTransformSuccessEvent/Data.php | 104 +
.../Request.php | 85 +
.../Request/Transformation.php | 123 +
.../Request/Transformation/Protocol.php | 20 +
.../Request/Transformation/Type.php | 24 +
src/Webhooks/UploadPreTransformErrorEvent.php | 133 +
.../UploadPreTransformErrorEvent/Data.php | 104 +
.../Data/Transformation.php | 63 +
.../Data/Transformation/Error.php | 68 +
.../UploadPreTransformErrorEvent/Request.php | 88 +
.../UploadPreTransformSuccessEvent.php | 139 +
.../UploadPreTransformSuccessEvent/Data.php | 556 ++++
.../Data/AITag.php | 95 +
.../Data/ExtensionStatus.php | 126 +
.../ExtensionStatus/AIAutoDescription.php | 19 +
.../Data/ExtensionStatus/AwsAutoTagging.php | 19 +
.../ExtensionStatus/GoogleAutoTagging.php | 19 +
.../Data/ExtensionStatus/RemoveBg.php | 19 +
.../Data/VersionInfo.php | 74 +
.../Request.php | 88 +
.../VideoTransformationAcceptedEvent.php | 139 +
.../VideoTransformationAcceptedEvent/Data.php | 90 +
.../Data/Asset.php | 70 +
.../Data/Transformation.php | 105 +
.../Data/Transformation/Options.php | 209 ++
.../Transformation/Options/AudioCodec.php | 20 +
.../Data/Transformation/Options/Format.php | 26 +
.../Transformation/Options/StreamProtocol.php | 20 +
.../Transformation/Options/VideoCodec.php | 22 +
.../Data/Transformation/Type.php | 25 +
.../Request.php | 112 +
.../VideoTransformationErrorEvent.php | 139 +
.../VideoTransformationErrorEvent/Data.php | 84 +
.../Data/Asset.php | 70 +
.../Data/Transformation.php | 125 +
.../Data/Transformation/Error.php | 83 +
.../Data/Transformation/Error/Reason.php | 25 +
.../Data/Transformation/Options.php | 209 ++
.../Transformation/Options/AudioCodec.php | 20 +
.../Data/Transformation/Options/Format.php | 26 +
.../Transformation/Options/StreamProtocol.php | 20 +
.../Transformation/Options/VideoCodec.php | 22 +
.../Data/Transformation/Type.php | 25 +
.../VideoTransformationErrorEvent/Request.php | 112 +
.../VideoTransformationReadyEvent.php | 161 ++
.../VideoTransformationReadyEvent/Data.php | 84 +
.../Data/Asset.php | 70 +
.../Data/Transformation.php | 125 +
.../Data/Transformation/Options.php | 209 ++
.../Transformation/Options/AudioCodec.php | 20 +
.../Data/Transformation/Options/Format.php | 26 +
.../Transformation/Options/StreamProtocol.php | 20 +
.../Transformation/Options/VideoCodec.php | 22 +
.../Data/Transformation/Output.php | 94 +
.../Transformation/Output/VideoMetadata.php | 134 +
.../Data/Transformation/Type.php | 25 +
.../VideoTransformationReadyEvent/Request.php | 112 +
.../VideoTransformationReadyEvent/Timings.php | 78 +
tests/Core/TestModel.php | 180 ++
tests/ImageKit/ImageKitTest.php | 337 ---
tests/ImageKit/Manage/CacheTest.php | 192 --
tests/ImageKit/Manage/CustomMetadataTest.php | 627 -----
tests/ImageKit/Manage/FileTest.php | 2035 --------------
tests/ImageKit/Manage/FolderTest.php | 565 ----
tests/ImageKit/Phash/PhashTest.php | 55 -
.../Resource/GuzzleHttpWrapperTest.php | 41 -
tests/ImageKit/Upload/UploadTest.php | 856 ------
tests/ImageKit/Url/UrlTest.php | 1283 ---------
tests/Services/Accounts/OriginsTest.php | 153 ++
tests/Services/Accounts/URLEndpointsTest.php | 126 +
tests/Services/Accounts/UsageTest.php | 62 +
tests/Services/AssetsTest.php | 44 +
tests/Services/Beta/V2/FilesTest.php | 62 +
tests/Services/Cache/InvalidationTest.php | 72 +
tests/Services/CustomMetadataFieldsTest.php | 108 +
tests/Services/Files/BulkTest.php | 150 ++
tests/Services/Files/MetadataTest.php | 68 +
tests/Services/Files/VersionsTest.php | 116 +
tests/Services/FilesTest.php | 182 ++
tests/Services/Folders/JobTest.php | 44 +
tests/Services/FoldersTest.php | 176 ++
tests/Services/WebhooksTest.php | 30 +
tests/UnsupportedMockTests.php | 8 +
486 files changed, 35764 insertions(+), 14977 deletions(-)
delete mode 100644 .editorconfig
create mode 100644 .github/workflows/ci.yml
delete mode 100644 .github/workflows/coverage.yml
create mode 100644 .github/workflows/create-releases.yml
create mode 100644 .github/workflows/release-doctor.yml
delete mode 100644 .github/workflows/test.yml
delete mode 100644 .github/workflows/wiki.yml
create mode 100644 .php-cs-fixer.dist.php
create mode 100644 .phpactor.json
create mode 100644 .release-please-manifest.json
create mode 100644 .stats.yml
delete mode 100644 DEVELOPMENT.md
create mode 100644 SECURITY.md
create mode 100644 bin/check-release-environment
delete mode 100644 composer.lock
create mode 100644 phpstan.dist.neon
create mode 100644 release-please-config.json
delete mode 100644 sample/README.md
delete mode 100644 sample/file_management/index.php
delete mode 100644 sample/metadata/index.php
delete mode 100644 sample/sample.php
delete mode 100644 sample/sample_image.jpeg
delete mode 100644 sample/upload_api/index.php
delete mode 100644 sample/upload_api/sample_image.jpeg
delete mode 100644 sample/url_generation/chained_transformations.php
delete mode 100644 sample/url_generation/image_enhancement_and_color_manipulation.php
delete mode 100644 sample/url_generation/index.php
delete mode 100644 sample/url_generation/resize_crop_other_common_transformations.php
delete mode 100644 sample/url_generation/signed_url.php
delete mode 100644 sample/utility/index.php
create mode 100755 scripts/bootstrap
create mode 100755 scripts/clean
create mode 100755 scripts/format
create mode 100755 scripts/lint
create mode 100755 scripts/mock
create mode 100755 scripts/test
create mode 100644 src/Accounts/Origins/OriginCreateParams.php
create mode 100644 src/Accounts/Origins/OriginRequest.php
create mode 100644 src/Accounts/Origins/OriginRequest/AkeneoPim.php
create mode 100644 src/Accounts/Origins/OriginRequest/AzureBlob.php
create mode 100644 src/Accounts/Origins/OriginRequest/CloudinaryBackup.php
create mode 100644 src/Accounts/Origins/OriginRequest/Gcs.php
create mode 100644 src/Accounts/Origins/OriginRequest/S3.php
create mode 100644 src/Accounts/Origins/OriginRequest/S3Compatible.php
create mode 100644 src/Accounts/Origins/OriginRequest/WebFolder.php
create mode 100644 src/Accounts/Origins/OriginRequest/WebProxy.php
create mode 100644 src/Accounts/Origins/OriginResponse.php
create mode 100644 src/Accounts/Origins/OriginResponse/AkeneoPim.php
create mode 100644 src/Accounts/Origins/OriginResponse/AzureBlob.php
create mode 100644 src/Accounts/Origins/OriginResponse/CloudinaryBackup.php
create mode 100644 src/Accounts/Origins/OriginResponse/Gcs.php
create mode 100644 src/Accounts/Origins/OriginResponse/S3.php
create mode 100644 src/Accounts/Origins/OriginResponse/S3Compatible.php
create mode 100644 src/Accounts/Origins/OriginResponse/WebFolder.php
create mode 100644 src/Accounts/Origins/OriginResponse/WebProxy.php
create mode 100644 src/Accounts/Origins/OriginUpdateParams.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointCreateParams.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointCreateParams/URLRewriter.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointCreateParams/URLRewriter/Akamai.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointCreateParams/URLRewriter/Cloudinary.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointCreateParams/URLRewriter/Imgix.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointRequest.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointRequest/URLRewriter.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointRequest/URLRewriter/Akamai.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointRequest/URLRewriter/Cloudinary.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointRequest/URLRewriter/Imgix.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointResponse.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointResponse/URLRewriter.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointResponse/URLRewriter/Akamai.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointResponse/URLRewriter/Cloudinary.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointResponse/URLRewriter/Imgix.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointUpdateParams.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointUpdateParams/URLRewriter.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointUpdateParams/URLRewriter/Akamai.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointUpdateParams/URLRewriter/Cloudinary.php
create mode 100644 src/Accounts/URLEndpoints/URLEndpointUpdateParams/URLRewriter/Imgix.php
create mode 100644 src/Accounts/Usage/UsageGetParams.php
create mode 100644 src/Accounts/Usage/UsageGetResponse.php
create mode 100644 src/Assets/AssetListParams.php
create mode 100644 src/Assets/AssetListParams/FileType.php
create mode 100644 src/Assets/AssetListParams/Sort.php
create mode 100644 src/Assets/AssetListParams/Type.php
create mode 100644 src/Assets/AssetListResponseItem.php
create mode 100644 src/BaseOverlay.php
create mode 100644 src/Beta/V2/Files/FileUploadParams.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension/AIAutoDescription.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension/AutoTaggingExtension.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension/AutoTaggingExtension/Name.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension/RemoveBg.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Extension/RemoveBg/Options.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/ResponseField.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post/Abs.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post/Abs/Protocol.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post/GifToVideo.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post/Thumbnail.php
create mode 100644 src/Beta/V2/Files/FileUploadParams/Transformation/Post/Transformation.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/AITag.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/ExtensionStatus.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/ExtensionStatus/AIAutoDescription.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/ExtensionStatus/AwsAutoTagging.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/ExtensionStatus/GoogleAutoTagging.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/ExtensionStatus/RemoveBg.php
create mode 100644 src/Beta/V2/Files/FileUploadResponse/VersionInfo.php
create mode 100644 src/Cache/Invalidation/InvalidationCreateParams.php
create mode 100644 src/Cache/Invalidation/InvalidationGetResponse.php
create mode 100644 src/Cache/Invalidation/InvalidationGetResponse/Status.php
create mode 100644 src/Cache/Invalidation/InvalidationNewResponse.php
create mode 100644 src/Client.php
create mode 100644 src/Core.php
create mode 100644 src/Core/Attributes/Api.php
create mode 100644 src/Core/BaseClient.php
create mode 100644 src/Core/Concerns/SdkEnum.php
create mode 100644 src/Core/Concerns/SdkModel.php
create mode 100644 src/Core/Concerns/SdkPage.php
create mode 100644 src/Core/Concerns/SdkParams.php
create mode 100644 src/Core/Concerns/SdkUnion.php
create mode 100644 src/Core/Contracts/BaseModel.php
create mode 100644 src/Core/Contracts/BasePage.php
create mode 100644 src/Core/Contracts/BaseStream.php
create mode 100644 src/Core/Conversion.php
create mode 100644 src/Core/Conversion/CoerceState.php
create mode 100644 src/Core/Conversion/Concerns/ArrayOf.php
create mode 100644 src/Core/Conversion/Contracts/Converter.php
create mode 100644 src/Core/Conversion/Contracts/ConverterSource.php
create mode 100644 src/Core/Conversion/DumpState.php
create mode 100644 src/Core/Conversion/EnumOf.php
create mode 100644 src/Core/Conversion/ListOf.php
create mode 100644 src/Core/Conversion/MapOf.php
create mode 100644 src/Core/Conversion/ModelOf.php
create mode 100644 src/Core/Conversion/PropertyInfo.php
create mode 100644 src/Core/Conversion/UnionOf.php
create mode 100644 src/Core/Exceptions/APIConnectionException.php
create mode 100644 src/Core/Exceptions/APIException.php
create mode 100644 src/Core/Exceptions/APIStatusException.php
create mode 100644 src/Core/Exceptions/APITimeoutException.php
create mode 100644 src/Core/Exceptions/AuthenticationException.php
create mode 100644 src/Core/Exceptions/BadRequestException.php
create mode 100644 src/Core/Exceptions/ConflictException.php
create mode 100644 src/Core/Exceptions/ImageKitException.php
create mode 100644 src/Core/Exceptions/InternalServerException.php
create mode 100644 src/Core/Exceptions/NotFoundException.php
create mode 100644 src/Core/Exceptions/PermissionDeniedException.php
create mode 100644 src/Core/Exceptions/RateLimitException.php
create mode 100644 src/Core/Exceptions/UnprocessableEntityException.php
create mode 100644 src/Core/Implementation/Omit.php
create mode 100644 src/Core/ServiceContracts/Accounts/OriginsContract.php
create mode 100644 src/Core/ServiceContracts/Accounts/URLEndpointsContract.php
create mode 100644 src/Core/ServiceContracts/Accounts/UsageContract.php
create mode 100644 src/Core/ServiceContracts/AccountsContract.php
create mode 100644 src/Core/ServiceContracts/AssetsContract.php
create mode 100644 src/Core/ServiceContracts/Beta/V2/FilesContract.php
create mode 100644 src/Core/ServiceContracts/Beta/V2Contract.php
create mode 100644 src/Core/ServiceContracts/BetaContract.php
create mode 100644 src/Core/ServiceContracts/Cache/InvalidationContract.php
create mode 100644 src/Core/ServiceContracts/CacheContract.php
create mode 100644 src/Core/ServiceContracts/CustomMetadataFieldsContract.php
create mode 100644 src/Core/ServiceContracts/Files/BulkContract.php
create mode 100644 src/Core/ServiceContracts/Files/MetadataContract.php
create mode 100644 src/Core/ServiceContracts/Files/VersionsContract.php
create mode 100644 src/Core/ServiceContracts/FilesContract.php
create mode 100644 src/Core/ServiceContracts/Folders/JobContract.php
create mode 100644 src/Core/ServiceContracts/FoldersContract.php
create mode 100644 src/Core/ServiceContracts/WebhooksContract.php
create mode 100644 src/Core/Services/Accounts/OriginsService.php
create mode 100644 src/Core/Services/Accounts/URLEndpointsService.php
create mode 100644 src/Core/Services/Accounts/UsageService.php
create mode 100644 src/Core/Services/AccountsService.php
create mode 100644 src/Core/Services/AssetsService.php
create mode 100644 src/Core/Services/Beta/V2/FilesService.php
create mode 100644 src/Core/Services/Beta/V2Service.php
create mode 100644 src/Core/Services/BetaService.php
create mode 100644 src/Core/Services/Cache/InvalidationService.php
create mode 100644 src/Core/Services/CacheService.php
create mode 100644 src/Core/Services/CustomMetadataFieldsService.php
create mode 100644 src/Core/Services/Files/BulkService.php
create mode 100644 src/Core/Services/Files/MetadataService.php
create mode 100644 src/Core/Services/Files/VersionsService.php
create mode 100644 src/Core/Services/FilesService.php
create mode 100644 src/Core/Services/Folders/JobService.php
create mode 100644 src/Core/Services/FoldersService.php
create mode 100644 src/Core/Services/WebhooksService.php
create mode 100644 src/Core/Util.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/DefaultValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/DefaultValue/Mixed.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/MaxValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/MinValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/SelectOption.php
create mode 100644 src/CustomMetadataFields/CustomMetadataField/Schema/Type.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/DefaultValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/DefaultValue/Mixed.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/MaxValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/MinValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/SelectOption.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldCreateParams/Schema/Type.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldDeleteResponse.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldListParams.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema/DefaultValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema/DefaultValue/Mixed.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema/MaxValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema/MinValue.php
create mode 100644 src/CustomMetadataFields/CustomMetadataFieldUpdateParams/Schema/SelectOption.php
create mode 100644 src/Files/Bulk/BulkAddTagsParams.php
create mode 100644 src/Files/Bulk/BulkAddTagsResponse.php
create mode 100644 src/Files/Bulk/BulkDeleteParams.php
create mode 100644 src/Files/Bulk/BulkDeleteResponse.php
create mode 100644 src/Files/Bulk/BulkRemoveAITagsParams.php
create mode 100644 src/Files/Bulk/BulkRemoveAITagsResponse.php
create mode 100644 src/Files/Bulk/BulkRemoveTagsParams.php
create mode 100644 src/Files/Bulk/BulkRemoveTagsResponse.php
create mode 100644 src/Files/File.php
create mode 100644 src/Files/File/AITag.php
create mode 100644 src/Files/File/Type.php
create mode 100644 src/Files/File/VersionInfo.php
create mode 100644 src/Files/FileCopyParams.php
create mode 100644 src/Files/FileCopyResponse.php
create mode 100644 src/Files/FileMoveParams.php
create mode 100644 src/Files/FileMoveResponse.php
create mode 100644 src/Files/FileRenameParams.php
create mode 100644 src/Files/FileRenameResponse.php
create mode 100644 src/Files/FileUpdateParams.php
create mode 100644 src/Files/FileUpdateParams/Update.php
create mode 100644 src/Files/FileUpdateParams/Update/ChangePublicationStatus.php
create mode 100644 src/Files/FileUpdateParams/Update/ChangePublicationStatus/Publish.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension/AIAutoDescription.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension/AutoTaggingExtension.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension/AutoTaggingExtension/Name.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension/RemoveBg.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/Extension/RemoveBg/Options.php
create mode 100644 src/Files/FileUpdateParams/Update/UpdateFileDetails/RemoveAITags.php
create mode 100644 src/Files/FileUpdateResponse.php
create mode 100644 src/Files/FileUpdateResponse/ExtensionStatus.php
create mode 100644 src/Files/FileUpdateResponse/ExtensionStatus/AIAutoDescription.php
create mode 100644 src/Files/FileUpdateResponse/ExtensionStatus/AwsAutoTagging.php
create mode 100644 src/Files/FileUpdateResponse/ExtensionStatus/GoogleAutoTagging.php
create mode 100644 src/Files/FileUpdateResponse/ExtensionStatus/RemoveBg.php
create mode 100644 src/Files/FileUploadParams.php
create mode 100644 src/Files/FileUploadParams/Extension.php
create mode 100644 src/Files/FileUploadParams/Extension/AIAutoDescription.php
create mode 100644 src/Files/FileUploadParams/Extension/AutoTaggingExtension.php
create mode 100644 src/Files/FileUploadParams/Extension/AutoTaggingExtension/Name.php
create mode 100644 src/Files/FileUploadParams/Extension/RemoveBg.php
create mode 100644 src/Files/FileUploadParams/Extension/RemoveBg/Options.php
create mode 100644 src/Files/FileUploadParams/ResponseField.php
create mode 100644 src/Files/FileUploadParams/Transformation.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post/Abs.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post/Abs/Protocol.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post/GifToVideo.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post/Thumbnail.php
create mode 100644 src/Files/FileUploadParams/Transformation/Post/Transformation.php
create mode 100644 src/Files/FileUploadResponse.php
create mode 100644 src/Files/FileUploadResponse/AITag.php
create mode 100644 src/Files/FileUploadResponse/ExtensionStatus.php
create mode 100644 src/Files/FileUploadResponse/ExtensionStatus/AIAutoDescription.php
create mode 100644 src/Files/FileUploadResponse/ExtensionStatus/AwsAutoTagging.php
create mode 100644 src/Files/FileUploadResponse/ExtensionStatus/GoogleAutoTagging.php
create mode 100644 src/Files/FileUploadResponse/ExtensionStatus/RemoveBg.php
create mode 100644 src/Files/FileUploadResponse/VersionInfo.php
create mode 100644 src/Files/Folder.php
create mode 100644 src/Files/Folder/Type.php
create mode 100644 src/Files/Metadata.php
create mode 100644 src/Files/Metadata/Exif.php
create mode 100644 src/Files/Metadata/Exif/Exif.php
create mode 100644 src/Files/Metadata/Exif/Gps.php
create mode 100644 src/Files/Metadata/Exif/Image.php
create mode 100644 src/Files/Metadata/Exif/Interoperability.php
create mode 100644 src/Files/Metadata/Exif/Thumbnail.php
create mode 100644 src/Files/Metadata/MetadataGetFromURLParams.php
create mode 100644 src/Files/Versions/VersionDeleteParams.php
create mode 100644 src/Files/Versions/VersionDeleteResponse.php
create mode 100644 src/Files/Versions/VersionGetParams.php
create mode 100644 src/Files/Versions/VersionRestoreParams.php
create mode 100644 src/Folders/FolderCopyParams.php
create mode 100644 src/Folders/FolderCopyResponse.php
create mode 100644 src/Folders/FolderCreateParams.php
create mode 100644 src/Folders/FolderDeleteParams.php
create mode 100644 src/Folders/FolderDeleteResponse.php
create mode 100644 src/Folders/FolderMoveParams.php
create mode 100644 src/Folders/FolderMoveResponse.php
create mode 100644 src/Folders/FolderNewResponse.php
create mode 100644 src/Folders/FolderRenameParams.php
create mode 100644 src/Folders/FolderRenameResponse.php
create mode 100644 src/Folders/Job/JobGetResponse.php
create mode 100644 src/Folders/Job/JobGetResponse/Status.php
create mode 100644 src/Folders/Job/JobGetResponse/Type.php
delete mode 100644 src/ImageKit/Configuration/Configuration.php
delete mode 100644 src/ImageKit/Constants/Endpoints.php
delete mode 100644 src/ImageKit/Constants/ErrorMessages.php
delete mode 100644 src/ImageKit/Constants/SupportedTransforms.php
delete mode 100644 src/ImageKit/ImageKit.php
delete mode 100644 src/ImageKit/Manage/Cache.php
delete mode 100644 src/ImageKit/Manage/CustomMetadataFields.php
delete mode 100644 src/ImageKit/Manage/File.php
delete mode 100644 src/ImageKit/Manage/Folder.php
delete mode 100644 src/ImageKit/Phash/Phash.php
delete mode 100644 src/ImageKit/Resource/GuzzleHttpWrapper.php
delete mode 100644 src/ImageKit/Resource/HttpRequest.php
delete mode 100644 src/ImageKit/Signature/Signature.php
delete mode 100644 src/ImageKit/Upload/Upload.php
delete mode 100644 src/ImageKit/Url/Url.php
delete mode 100644 src/ImageKit/Utils/Authorization.php
delete mode 100644 src/ImageKit/Utils/Response.php
delete mode 100644 src/ImageKit/Utils/Transformation.php
create mode 100644 src/ImageOverlay.php
create mode 100644 src/ImageOverlay/Encoding.php
create mode 100644 src/Overlay.php
create mode 100644 src/OverlayPosition.php
create mode 100644 src/OverlayPosition/Focus.php
create mode 100644 src/OverlayPosition/X.php
create mode 100644 src/OverlayPosition/Y.php
create mode 100644 src/OverlayTiming.php
create mode 100644 src/OverlayTiming/Duration.php
create mode 100644 src/OverlayTiming/End.php
create mode 100644 src/OverlayTiming/Start.php
create mode 100644 src/RequestOptions.php
create mode 100644 src/SolidColorOverlay.php
create mode 100644 src/SolidColorOverlayTransformation.php
create mode 100644 src/SolidColorOverlayTransformation/Gradient.php
create mode 100644 src/SolidColorOverlayTransformation/Height.php
create mode 100644 src/SolidColorOverlayTransformation/Radius.php
create mode 100644 src/SolidColorOverlayTransformation/Width.php
create mode 100644 src/SrcOptions.php
create mode 100644 src/StreamingResolution.php
create mode 100644 src/SubtitleOverlay.php
create mode 100644 src/SubtitleOverlay/Encoding.php
create mode 100644 src/SubtitleOverlayTransformation.php
create mode 100644 src/SubtitleOverlayTransformation/Typography.php
create mode 100644 src/TextOverlay.php
create mode 100644 src/TextOverlay/Encoding.php
create mode 100644 src/TextOverlayTransformation.php
create mode 100644 src/TextOverlayTransformation/Flip.php
create mode 100644 src/TextOverlayTransformation/FontSize.php
create mode 100644 src/TextOverlayTransformation/InnerAlignment.php
create mode 100644 src/TextOverlayTransformation/LineHeight.php
create mode 100644 src/TextOverlayTransformation/Padding.php
create mode 100644 src/TextOverlayTransformation/Radius.php
create mode 100644 src/TextOverlayTransformation/Rotation.php
create mode 100644 src/TextOverlayTransformation/Width.php
create mode 100644 src/Transformation.php
create mode 100644 src/Transformation/AIDropShadow.php
create mode 100644 src/Transformation/AIRemoveBackground.php
create mode 100644 src/Transformation/AIRemoveBackgroundExternal.php
create mode 100644 src/Transformation/AIRetouch.php
create mode 100644 src/Transformation/AIUpscale.php
create mode 100644 src/Transformation/AIVariation.php
create mode 100644 src/Transformation/AspectRatio.php
create mode 100644 src/Transformation/AudioCodec.php
create mode 100644 src/Transformation/ContrastStretch.php
create mode 100644 src/Transformation/Crop.php
create mode 100644 src/Transformation/CropMode.php
create mode 100644 src/Transformation/Duration.php
create mode 100644 src/Transformation/EndOffset.php
create mode 100644 src/Transformation/Flip.php
create mode 100644 src/Transformation/Format.php
create mode 100644 src/Transformation/Gradient.php
create mode 100644 src/Transformation/Grayscale.php
create mode 100644 src/Transformation/Height.php
create mode 100644 src/Transformation/Page.php
create mode 100644 src/Transformation/Radius.php
create mode 100644 src/Transformation/Rotation.php
create mode 100644 src/Transformation/Shadow.php
create mode 100644 src/Transformation/Sharpen.php
create mode 100644 src/Transformation/StartOffset.php
create mode 100644 src/Transformation/Trim.php
create mode 100644 src/Transformation/UnsharpMask.php
create mode 100644 src/Transformation/VideoCodec.php
create mode 100644 src/Transformation/Width.php
create mode 100644 src/Transformation/X.php
create mode 100644 src/Transformation/XCenter.php
create mode 100644 src/Transformation/Y.php
create mode 100644 src/Transformation/YCenter.php
create mode 100644 src/TransformationPosition.php
create mode 100644 src/VideoOverlay.php
create mode 100644 src/VideoOverlay/Encoding.php
create mode 100644 src/Webhooks/UnsafeUnwrapWebhookEvent.php
create mode 100644 src/Webhooks/UnwrapWebhookEvent.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Data.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Data/Transformation.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Data/Transformation/Error.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Request.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Request/Transformation.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Request/Transformation/Protocol.php
create mode 100644 src/Webhooks/UploadPostTransformErrorEvent/Request/Transformation/Type.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent/Data.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent/Request.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent/Request/Transformation.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent/Request/Transformation/Protocol.php
create mode 100644 src/Webhooks/UploadPostTransformSuccessEvent/Request/Transformation/Type.php
create mode 100644 src/Webhooks/UploadPreTransformErrorEvent.php
create mode 100644 src/Webhooks/UploadPreTransformErrorEvent/Data.php
create mode 100644 src/Webhooks/UploadPreTransformErrorEvent/Data/Transformation.php
create mode 100644 src/Webhooks/UploadPreTransformErrorEvent/Data/Transformation/Error.php
create mode 100644 src/Webhooks/UploadPreTransformErrorEvent/Request.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/AITag.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/ExtensionStatus.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/ExtensionStatus/AIAutoDescription.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/ExtensionStatus/AwsAutoTagging.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/ExtensionStatus/GoogleAutoTagging.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/ExtensionStatus/RemoveBg.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Data/VersionInfo.php
create mode 100644 src/Webhooks/UploadPreTransformSuccessEvent/Request.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Asset.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Options.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Options/AudioCodec.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Options/Format.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Options/StreamProtocol.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Options/VideoCodec.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Data/Transformation/Type.php
create mode 100644 src/Webhooks/VideoTransformationAcceptedEvent/Request.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Asset.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Error.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Error/Reason.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Options.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Options/AudioCodec.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Options/Format.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Options/StreamProtocol.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Options/VideoCodec.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Data/Transformation/Type.php
create mode 100644 src/Webhooks/VideoTransformationErrorEvent/Request.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Asset.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Options.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Options/AudioCodec.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Options/Format.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Options/StreamProtocol.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Options/VideoCodec.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Output.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Output/VideoMetadata.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Data/Transformation/Type.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Request.php
create mode 100644 src/Webhooks/VideoTransformationReadyEvent/Timings.php
create mode 100644 tests/Core/TestModel.php
delete mode 100644 tests/ImageKit/ImageKitTest.php
delete mode 100644 tests/ImageKit/Manage/CacheTest.php
delete mode 100644 tests/ImageKit/Manage/CustomMetadataTest.php
delete mode 100644 tests/ImageKit/Manage/FileTest.php
delete mode 100644 tests/ImageKit/Manage/FolderTest.php
delete mode 100644 tests/ImageKit/Phash/PhashTest.php
delete mode 100644 tests/ImageKit/Resource/GuzzleHttpWrapperTest.php
delete mode 100644 tests/ImageKit/Upload/UploadTest.php
delete mode 100644 tests/ImageKit/Url/UrlTest.php
create mode 100644 tests/Services/Accounts/OriginsTest.php
create mode 100644 tests/Services/Accounts/URLEndpointsTest.php
create mode 100644 tests/Services/Accounts/UsageTest.php
create mode 100644 tests/Services/AssetsTest.php
create mode 100644 tests/Services/Beta/V2/FilesTest.php
create mode 100644 tests/Services/Cache/InvalidationTest.php
create mode 100644 tests/Services/CustomMetadataFieldsTest.php
create mode 100644 tests/Services/Files/BulkTest.php
create mode 100644 tests/Services/Files/MetadataTest.php
create mode 100644 tests/Services/Files/VersionsTest.php
create mode 100644 tests/Services/FilesTest.php
create mode 100644 tests/Services/Folders/JobTest.php
create mode 100644 tests/Services/FoldersTest.php
create mode 100644 tests/Services/WebhooksTest.php
create mode 100644 tests/UnsupportedMockTests.php
diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index e27be283..00000000
--- a/.editorconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is for unifying the coding style for different editors and IDEs
-# editorconfig.org
-
-root = true
-
-[*]
-charset = utf-8
-end_of_line = lf
-insert_final_newline = true
-trim_trailing_whitespace = true
-indent_style = space
-indent_size = 4
-
-[*.md]
-trim_trailing_whitespace = false
diff --git a/.gitattributes b/.gitattributes
index 4c4dbe73..e69de29b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..aed6777f
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
deleted file mode 100644
index 8cba38a5..00000000
--- a/.github/workflows/coverage.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: PHP Coverage CI
-
-on: [ push, pull_request ]
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v1
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: '8.0'
-
- - name: Validate composer.json and composer.lock
- run: composer validate
-
- - name: Install dependencies
- run: composer install --prefer-dist --no-progress --no-suggest
-
- # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
- # Docs: https://getcomposer.org/doc/articles/scripts.md
-
- - name: Run test suite
- run: ./vendor/bin/phpunit --coverage-clover coverage.xml
-
- - name: Upload to codecov
- run: bash <(curl -s https://codecov.io/bash)
diff --git a/.github/workflows/create-releases.yml b/.github/workflows/create-releases.yml
new file mode 100644
index 00000000..8e723adf
--- /dev/null
+++ b/.github/workflows/create-releases.yml
@@ -0,0 +1,30 @@
+name: Create releases
+on:
+ schedule:
+ - cron: '0 5 * * *' # every day at 5am UTC
+ push:
+ branches:
+ - main
+
+jobs:
+ release:
+ name: release
+ if: github.ref == 'refs/heads/main' && github.repository == 'stainless-sdks/imagekit-php'
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: stainless-api/trigger-release-please@v1
+ id: release
+ with:
+ repo: ${{ github.event.repository.full_name }}
+ stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}
+
+ - name: Publish to Packagist
+ if: ${{ steps.release.outputs.releases_created }}
+ 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://www.github.com/stainless-sdks/imagekit-php"}'
+ env:
+ PACKAGIST_USERNAME: ${{ secrets.IMAGE_KIT_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }}
+ PACKAGIST_SAFE_KEY: ${{ secrets.IMAGE_KIT_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }}
diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml
new file mode 100644
index 00000000..c789d348
--- /dev/null
+++ b/.github/workflows/release-doctor.yml
@@ -0,0 +1,21 @@
+name: Release Doctor
+on:
+ pull_request:
+ branches:
+ - main
+ workflow_dispatch:
+
+jobs:
+ release_doctor:
+ name: release doctor
+ runs-on: ubuntu-latest
+ if: github.repository == 'stainless-sdks/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
+ env:
+ STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index eded823b..00000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: PHP Test CI
-
-on: [ push, pull_request ]
-
-jobs:
- build:
- runs-on: ${{ matrix.operating-system }}
- strategy:
- matrix:
- operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
- php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
- phpunit-versions: [ 'latest' ]
- steps:
- - uses: actions/checkout@v1
-
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: '${{ matrix.php-versions }}'
-
- - name: Validate composer.json and composer.lock
- run: composer validate
-
- - name: Install dependencies
- run: composer install --prefer-dist --no-progress --no-suggest
-
- # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
- # Docs: https://getcomposer.org/doc/articles/scripts.md
-
- - name: Run test suite
- run: ./vendor/bin/phpunit
diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml
deleted file mode 100644
index 85568a30..00000000
--- a/.github/workflows/wiki.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: Automatic update project documentation
-
-on:
- push:
- branches:
- - master
- tags:
- - '*'
-
-jobs:
- update_wiki:
- runs-on: ubuntu-latest
- steps:
- - name: Checkouting project code...
- uses: actions/checkout@v2
- - name: Updating wiki...
- uses: impresscms-dev/phpdocs-wiki-update-action@v1.0.0
- with:
- wiki_github_update_token: ${{ secrets.WIKI_GITHUB_UPDATE_TOKEN }}
- wiki_github_update_user: ${{ secrets.WIKI_GITHUB_UPDATE_USER }}
- engine: clean/phpdoc-md
- class_root_namespace: ImageKit
- include: |
- ImageKit\**
diff --git a/.gitignore b/.gitignore
index 5f842560..6739884e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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/
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php
new file mode 100644
index 00000000..a2b062b9
--- /dev/null
+++ b/.php-cs-fixer.dist.php
@@ -0,0 +1,17 @@
+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'],
+ ])
+;
diff --git a/.phpactor.json b/.phpactor.json
new file mode 100644
index 00000000..97fdd060
--- /dev/null
+++ b/.phpactor.json
@@ -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
+}
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
new file mode 100644
index 00000000..1332969b
--- /dev/null
+++ b/.release-please-manifest.json
@@ -0,0 +1,3 @@
+{
+ ".": "0.0.1"
+}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
new file mode 100644
index 00000000..ad85869b
--- /dev/null
+++ b/.stats.yml
@@ -0,0 +1,4 @@
+configured_endpoints: 42
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-3d7da4b8ef2ed30aa32c4fb3e98e498e67402e91aaa5fd4c628fc080bfe82ea1.yml
+openapi_spec_hash: aaa50fcbccec6f2cf1165f34bc6ac886
+config_hash: cf9d50fe62973f4e91ef65c147aabcc1
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
deleted file mode 100644
index 2f857ed7..00000000
--- a/DEVELOPMENT.md
+++ /dev/null
@@ -1,25 +0,0 @@
-## Installing dependencies
-
-Install the project dependencies by running the following command in terminal
-
-```
-composer install
-```
-
-## Running the tests
-
-```
-vendor/bin/phpunit
-```
-
-## Sample Code Instruction
-
-To run sample code go to the sample directory and run
-
-```
-php sample.php
-```
-
-## Support
-
-For any feedback or to report any issues or general implementation support, please reach out to [support@imagekit.io](mailto:support@imagekit.io)
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 8b976bea..e7a4d160 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,20 +1,201 @@
-MIT License
-
-Copyright (c) 2020 Imagekit
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2025 Image Kit
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/README.md b/README.md
index 69c9d458..4a52aaa4 100644
--- a/README.md
+++ b/README.md
@@ -1,1238 +1,187 @@
-# PHP SDK for ImageKit
+# Image Kit PHP API library
-[](https://packagist.org/packages/imagekit/imagekit) [](https://packagist.org/packages/imagekit/imagekit) [](https://opensource.org/licenses/MIT) [](https://codecov.io/gh/imagekit-developer/imagekit-php) [](https://twitter.com/ImagekitIo)
-[](https://github.com/imagekit-developer/imagekit-php/actions/workflows/test.yml) [](https://github.com/imagekit-developer/imagekit-php/actions/workflows/coverage.yml) [](https://github.com/imagekit-developer/imagekit-php/wiki)
+> [!NOTE]
+> The Image Kit PHP API Library is currently in **beta** and we're excited for you to experiment with it!
+>
+> This library has not yet been exhaustively tested in production environments and may be missing some features you'd expect in a stable release. As we continue development, there may be breaking changes that require updates to your code.
+>
+> **We'd love your feedback!** Please share any suggestions, bug reports, feature requests, or general thoughts by [filing an issue](https://www.github.com/stainless-sdks/imagekit-php/issues/new).
-PHP SDK for [ImageKit](https://imagekit.io/) implements the new APIs and interface for different file operations.
+The Image Kit PHP library provides convenient access to the Image Kit REST API from any PHP 8.1.0+ application.
-ImageKit is complete media storage, optimization, and transformation solution that comes with an [image and video CDN](https://imagekit.io/). It can be integrated with your existing infrastructure - storage like AWS S3, web servers, your CDN, and custom domain names, allowing you to deliver optimized images in minutes with minimal code changes.
+It is generated with [Stainless](https://www.stainless.com/).
-- [Key Features](#key-features)
-- [Requirements](#requirements)
-- [Version Support](#version-support)
-- [Breaking changes](#breaking-changes)
-- [Installation](#installation)
-- [Usage](#usage)
-- [Getting Started](#getting-started)
-- [Quick Examples](#quick-examples)
- * [Create an ImageKit Instance](#create-an-imagekit-instance)
- * [URL Generation](#url-generation)
- * [File Upload](#file-upload)
-- [Demo Application](#demo-application)
-- [URL Generation](#url-generation-1)
-- [Signed URL & Image Transformations](#applying-chained-transformations-common-image-manipulations--signed-url)
-- [Server-side File Upload](#server-side-file-upload)
-- [File Management](#file-management)
-- [Custom Metadata Fields API](#custom-metadata-fields-api)
-- [Utility Function](#utility-functions)
-- [Opening Issues](#opening-issues)
-- [Support](#support)
-- [Resources](#resources)
-- [License](#license)
+## Documentation
-## Key Features
-- [URL Generation](#url-generation)
-- [Transformations](#1-chained-transformations-as-a-query-parameter)
-- [Secure URLS](#6-signed-url)
-- [File Upload](#server-side-file-upload)
-- [File Management](#file-management)
-
-## Requirements
-* PHP 5.6+
-* [JSON PHP Extension](https://www.php.net/manual/en/book.json.php)
-* [cURL PHP Extension](https://www.php.net/manual/en/book.curl.php)
-
-## Version Support
-| SDK Version | PHP 5.4 | PHP 5.5 | PHP 5.6 | PHP 7.x | PHP 8.x |
-|-------------|---------|---------|---------|---------|---------|
-| 4.x | ❌ | ❌ | ✔️ | ✔️ |✔️ |
-| 3.x | ❌ | ❌ | ✔️ | ✔️ |✔️ |
-| 2.x | ❌ | ❌ | ✔️ | ✔️ |✔️ |
-| 1.x | ❌ | ✔️ | ✔️ | ✔️ |✔️ |
-
-## Breaking changes
-
-### Upgrading from 3.x to 4.x version
-
-1. Overlay syntax update
-
-* In version 4.0.0, we've removed the old overlay syntax parameters for transformations, such as `oi`, `ot`, `obg`, and [more](https://docs.imagekit.io/features/image-transformations/overlay). These parameters are deprecated and will start returning errors when used in URLs. Please migrate to the new layers syntax that supports overlay nesting, provides better positional control, and allows more transformations at the layer level. You can start with [examples](https://docs.imagekit.io/features/image-transformations/overlay-using-layers#examples) to learn quickly.
-* You can migrate to the new layers syntax using the `raw` transformation parameter.
+The REST API documentation can be found on [imagekit.io](https://imagekit.io/docs).
## Installation
-You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:
-
-```bash
-composer require imagekit/imagekit
-```
-To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):
-```php
-require_once('vendor/autoload.php');
-```
-
-## Usage
-
-You can use this PHP SDK for three different methods - URL generation, file upload, and file management. The usage of the SDK has been explained below.
-
-* `URL Generation`
-* `File Upload`
-* `File Management`
-
-## Getting Started
-1. **Sign up for ImageKit** – Before you begin, you need to sign up for an [ImageKit account](https://imagekit.io/registration/)
-2. Get your [API Keys](https://docs.imagekit.io/api-reference/api-introduction/api-keys) from [developer options](https://imagekit.io/dashboard/developer) inside the dashboard.
-3. **Minimum requirements** – To use PHP SDK, your system must meet the minimum requirements, including having **PHP >= 5.6**. We highly recommend having it compiled with the cURL extension and cURL 7.16.2+ compiled with a TLS backend (e.g., NSS or OpenSSL).
-4. **Install the SDK** – Using Composer is the recommended way to install the ImageKit SDK for PHP. The SDK is available via [Packagist](http://packagist.org/) under the [`imagekit/imagekit`](https://packagist.org/packages/imagekit/imagekit) package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as a dependency:
- ```
- composer require imagekit/imagekit
- ```
- Please see the [Installation](#installation) section for more detailed information about installing.
-5. **Using the SDK** – The best way to become familiar with how to use the SDK is to follow the examples provided in the [quick start guide](https://docs.imagekit.io/getting-started/quickstart-guides/php).
-
-## Quick Examples
-
-#### Create an ImageKit Instance
-```php
-// Require the Composer autoloader.
-require 'vendor/autoload.php';
-use ImageKit\ImageKit;
-
-$imageKit = new ImageKit(
- "your_public_key",
- "your_private_key",
- "your_url_endpoint"
-);
-```
-
-#### URL Generation
-```php
-// For URL Generation, works for both images and videos
-$imageURL = $imageKit->url(
- [
- 'path' => '/default-image.jpg',
- ]
-);
-echo $imageURL;
-```
-
-#### File Upload
-```php
-// For File Upload
-$uploadFile = $imageKit->uploadFile([
- 'file' => 'file-url', # required, "binary","base64" or "file url"
- 'fileName' => 'new-file' # required
- 'checks' => '"file.size" < "1mb"' // optional `checks` parameters can be used to run server-side checks before files are uploaded to the Media Library.
-]);
-```
-
-#### Response Structure
-Following is the response for [server-side file upload API](https://docs.imagekit.io/api-reference/upload-file-api/server-side-file-upload#response-code-and-structure-json)
+To use this package, install via Composer by adding the following to your application's `composer.json`:
```json
{
- "error": null,
- "result": {
- "fileId": "6286329dfef1b033aee60211",
- "name": "your_file_name_S-PgGysnR.jpg",
- "size": 94466,
- "versionInfo": {
- "id": "6286329dfef1b033aee60211",
- "name": "Version 1"
- },
- "filePath": "/your_file_name_S-PgGysnR.jpg",
- "url": "https://ik.imagekit.io/demo/your_file_name_S-PgGysnR.jpg",
- "fileType": "image",
- "height": 640,
- "width": 960,
- "thumbnailUrl": "https://ik.imagekit.io/demo/tr:n-ik_ml_thumbnail/your_file_name_S-PgGysnR.jpg",
- "tags": [],
- "AITags": null,
- "customMetadata": { },
- "extensionStatus": {}
- },
- "responseMetadata":{
- "headers":{
- "access-control-allow-origin": "*",
- "x-ik-requestid": "e98f2464-2a86-4934-a5ab-9a226df012c9",
- "content-type": "application/json; charset=utf-8",
- "content-length": "434",
- "etag": 'W/"1b2-reNzjRCFNt45rEyD7yFY/dk+Ghg"',
- "date": "Thu, 16 Jun 2022 14:22:01 GMT",
- "x-request-id": "e98f2464-2a86-4934-a5ab-9a226df012c9"
- },
- "raw":{
- "fileId": "6286329dfef1b033aee60211",
- "name": "your_file_name_S-PgGysnR.jpg",
- "size": 94466,
- "versionInfo": {
- "id": "6286329dfef1b033aee60211",
- "name": "Version 1"
- },
- "filePath": "/your_file_name_S-PgGysnR.jpg",
- "url": "https://ik.imagekit.io/demo/your_file_name_S-PgGysnR.jpg",
- "fileType": "image",
- "height": 640,
- "width": 960,
- "thumbnailUrl": "https://ik.imagekit.io/demo/tr:n-ik_ml_thumbnail/your_file_name_S-PgGysnR.jpg",
- "tags": [],
- "AITags": null,
- "customMetadata": { },
- "extensionStatus": {}
- },
- "statusCode":200
+ "repositories": [
+ {
+ "type": "vcs",
+ "url": "git@github.com:stainless-sdks/imagekit-php.git"
}
+ ],
+ "require": {
+ "imagekit/imagekit": "dev-main"
+ }
}
```
-## Demo application
-
-* Step-by-step PHP quick start guide - https://docs.imagekit.io/getting-started/quickstart-guides/php
-* You can also run the demo application in this repository's [sample](/sample) folder.
- ```sh
- cd sample
- php sample.php
- ```
-
-## URL generation
-
-### Using relative file path and URL endpoint
-
-This method allows you to create an URL to access a file using the relative file path and the ImageKit URL endpoint (`urlEndpoint`). The file can be an image, video, or any other static file supported by ImageKit.
-
-#### Example
-
-```php
-$imageURL = $imageKit->url(
- [
- 'path' => '/default-image.jpg',
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400'
- ]
- ]
- ]
-);
-```
-
-#### Response
-
-```
-https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400/default-image.jpg
-```
-
-### Using full image URL
-This method allows you to add transformation parameters to an absolute URL. For example, if you have configured a custom CNAME and have absolute asset URLs in your database or CMS, you will often need this.
-
-#### Example
-```php
-$imageURL = $imageKit->url([
- 'src' => 'https://ik.imagekit.io/your_imagekit_id/endpoint/default-image.jpg',
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400'
- ]
- ]
-]);
-```
-
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/endpoint/tr:h-300,w-400/default-image.jpg
-```
-
-The `$imageKit->url()` method accepts the following parameters.
-
-| Option | Description |
-| :-------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| urlEndpoint | Optional. The base URL to be appended before the path of the image. If not specified, the URL Endpoint specified at the time of SDK initialization is used. For example, https://ik.imagekit.io/your_imagekit_id/endpoint/ |
-| path | Conditional. This is the path at which the image exists. For example, `/path/to/image.jpg`. Either the `path` or `src` parameter needs to be specified for URL generation. |
-| src | Conditional. This is the complete URL of an image already mapped to ImageKit. For example, `https://ik.imagekit.io/your_imagekit_id/endpoint/path/to/image.jpg`. Either the `path` or `src` parameter needs to be specified for URL generation. |
-| transformation | Optional. An array of objects specifying the transformation to be applied in the URL. The transformation name and the value should be specified as a key-value pair in the object. Different steps of a [chained transformation](https://docs.imagekit.io/features/image-transformations/chained-transformations) can be specified as different objects of the array. The complete [List of supported transformations](#list-of-supported-transformations) in the SDK and some examples of using them are given later. If you use a transformation name that is not specified in the SDK, it gets applied as it is in the URL. |
-| transformationPosition | Optional. The default value is `path` which places the transformation string as a path parameter in the URL. It can also be specified as `query`, which adds the transformation string as the query parameter `tr` in the URL. The transformation string is always added as a query parameter if you use the `src` parameter to create the URL. |
-| queryParameters | Optional. These are the other query parameters that you want to add to the final URL. These can be any query parameters and are not necessarily related to ImageKit. Especially useful if you want to add some versioning parameters to your URLs. |
-| signed | Optional. Boolean. The default value is `false`. If set to `true`, the SDK generates a signed image URL adding the image signature to the image URL. |
-| expireSeconds | Optional. Integer. It is used along with the `signed` parameter. It specifies the time in seconds from now when the signed URL will expire. If specified, the URL contains the expiry timestamp in the URL, and the image signature is modified accordingly.
-
-### Applying chained transformations, common image manipulations & signed URL
-
-This section covers the basics:
-
-* [Chained Transformations as a query parameter](#1-chained-transformations-as-a-query-parameter)
-* [Image enhancement & color manipulation](#2-image-enhancement-and-color-manipulation)
-* [Resizing images and videos](#3-resizing-images-and-videos)
-* [Quality manipulation](#4-quality-manipulation)
-* [Adding overlays](#5-adding-overlays)
-* [Signed URL](#6-signed-url)
-
-The PHP SDK gives a name to each transformation parameter e.g. `height` for `h` and `width` for `w` parameter. It makes your code more readable. See the [Full list of supported transformations](#list-of-supported-transformations).
-
-👉 If the property does not match any of the available options, it is added as it is. For example:
-```php
-[
- 'effectGray' => 'e-grayscale'
-]
-// and
-[
- 'e-grayscale' => ''
-]
-// works the same
-```
-👉 Note that you can also use the `h` and `w` parameters instead of `height` and `width`.
-
-For more examples, check the [Demo Application](https://github.com/imagekit-developer/imagekit-php/tree/master/sample).
-
-
-### 1. Chained transformations as a query parameter
-
-#### Example
-```php
-$imageURL = $imageKit->url([
- 'path' => '/default-image.jpg',
- 'urlEndpoint' => 'https://ik.imagekit.io/your_imagekit_id/endpoint/',
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400'
- ],
- [
- 'rotation' => 90
- ],
- ],
- 'transformationPosition' => 'query'
-]);
-```
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/endpoint/default-image.jpg?tr=h-300,w-400:rt-90
-```
-
-### 2. Image enhancement and color manipulation
-
-Some transformations like [contrast stretch](https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#contrast-stretch-e-contrast) , [sharpen](https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#sharpen-e-sharpen) and [unsharp mask](https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation#unsharp-mask-e-usm) can be added to the URL with or without any other value. To use such transforms without specifying a value, specify the value as "-" in the transformation object. Otherwise, specify the value that you want to be added to this transformation.
-
-#### Example
-```php
-$imageURL = $imageKit->url([
- 'src' => 'https://ik.imagekit.io/your_imagekit_id/endpoint/default-image.jpg',
- 'transformation' =>
- [
- [
- 'format' => 'jpg',
- 'progressive' => true,
- 'effectSharpen' => '-',
- 'effectContrast' => '1'
- ]
- ]
-]);
-```
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/endpoint/tr:f-jpg,pr-true,e-sharpen,e-contrast-1/default-image.jpg
-```
-
-### 3. Resizing images and videos
-Let's resize the image to `width` 400 and `height` 300.
-Check detailed instructions on [resize, crop, and other Common transformations](https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations)
-
-#### Example
-```php
-$imageURL = $imageKit->url(array(
- 'path' => '/default-image.jpg',
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400',
- ]
- ]
-));
-```
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/tr:w-400,h-300/default-image.jpg
-```
-
-### 4. Quality manipulation
-You can use the [quality parameter](https://docs.imagekit.io/features/image-transformations/resize-crop-and-other-transformations#quality-q) to change quality like this.
-
-#### Example
-```php
-$imageURL = $imageKit->url(array(
- 'path' => '/default-image.jpg',
- 'transformation' => [
- [
- 'quality' => '40',
- ]
- ]
-));
-```
-
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/tr:q-40/default-image.jpg
-```
-
-### 5. Adding overlays
-
-ImageKit.io enables you to apply overlays to [images](https://docs.imagekit.io/features/image-transformations/overlay-using-layers) and [videos](https://docs.imagekit.io/features/video-transformation/overlay) using the raw parameter with the concept of [layers](https://docs.imagekit.io/features/image-transformations/overlay-using-layers#layers). The raw parameter facilitates incorporating transformations directly in the URL. A layer is a distinct type of transformation that allows you to define an asset to serve as an overlay, along with its positioning and additional transformations.
-
-#### Text as overlays
-
-You can add any text string over a base video or image using a text layer (l-text).
+## Usage
-For example:
+This library uses named parameters to specify optional arguments.
+Parameters with a default value must be set by name.
```php
-$imageURL = $imageKit->url(array(
- 'path' => '/default-image.jpg',
- 'urlEndpoint' => 'https://ik.imagekit.io/your_imagekit_id'
-
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400',
- 'raw': "l-text,i-Imagekit,fs-50,l-end"
- ]
- ]
-));
-```
-#### Sample Result URL
-```
-https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400,l-text,i-Imagekit,fs-50,l-end/default-image.jpg
-```
+files->upload(file: 'file', fileName: "file-name.jpg");
-```php
-$imageURL = $imageKit->url(array(
- 'path' => '/default-image.jpg',
- 'urlEndpoint' => 'https://ik.imagekit.io/your_imagekit_id'
-
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400',
- 'raw': "l-image,i-default-image.jpg,w-100,b-10_CDDC39,l-end"
- ]
- ]
-));
-```
-#### Sample Result URL
+var_dump($response->videoCodec);
```
-https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400,l-image,i-default-image.jpg,w-100,b-10_CDDC39,l-end/default-image.jpg
-```
-
-#### Solid color blocks as overlays
-
-You can add solid color blocks over a base video or image using an image layer (l-image).
-For example:
+### Value Objects
-```php
-$imageURL = $imageKit->url(array(
- 'path' => '/img/sample-video.mp4',
- 'urlEndpoint' => 'https://ik.imagekit.io/your_imagekit_id'
-
- 'transformation' => [
- [
- 'height' => '300',
- 'width' => '400',
- 'raw': "l-image,i-ik_canvas,bg-FF0000,w-300,h-100,l-end"
- ]
- ]
-));
-```
-#### Sample Result URL
-```
-https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400,l-image,i-ik_canvas,bg-FF0000,w-300,h-100,l-end/img/sample-video.mp4
-```
+It is recommended to use the static `with` constructor `Dog::with(name: "Joey")`
+and named parameters to initialize value objects.
-### 6. Arithmetic expressions in transformations
+However, builders are also provided `(new Dog)->withName("Joey")`.
-ImageKit allows use of [arithmetic expressions](https://docs.imagekit.io/features/arithmetic-expressions-in-transformations) in certain dimension and position-related parameters, making media transformations more flexible and dynamic.
+### Handling errors
-For example:
+When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `ImageKit\Core\Exceptions\APIException` will be thrown:
```php
-$imageURL = $imageKit->url(array(
- 'path' => '/default-image.jpg',
- 'urlEndpoint' => 'https://ik.imagekit.io/your_imagekit_id'
- 'transformation' => [
- [
- "height": "ih_div_2",
- "width": "iw_div_4",
- "border": "cw_mul_0.05_yellow"
- ]
- ]
-));
-```
-
-#### Sample Result URL
-```
-https://ik.imagekit.io/your_imagekit_id/default-image.jpg?tr=w-iw_div_4,h-ih_div_2,b-cw_mul_0.05_yellow
-``
-
-### 7. Signed URL
-
-For example, the signed URL expires in 300 seconds with the default URL endpoint and other query parameters.
-For a detailed explanation of the signed URL, refer to this [documentation](https://docs.imagekit.io/features/security/signed-urls).
-
-#### Example
-```php
-$imageURL = $imageKit->url([
- "path" => "/default-image.jpg",
- "queryParameters" =>
- [
- "v" => "123"
- ],
- "transformation" => [
- [
- "height" => "300",
- "width" => "400"
- ]
- ],
- "signed" => true,
- "expireSeconds" => 300,
-]);
-```
-#### Response
-```
-https://ik.imagekit.io/your_imagekit_id/tr:h-300,w-400/default-image.jpg?v=123&ik-t=1654183277&ik-s=f98618f264a9ccb3c017e7b7441e86d1bc9a7ebb
-```
-
-You can manage [security settings](https://docs.imagekit.io/features/security#restricting-unsigned-urls) from the dashboard to prevent unsigned URLs usage. In that case, if the URL doesn't have a signature `ik-s` parameter or the signature is invalid, ImageKit will return a forbidden error instead of an actual image.
-
-### List of supported transformations
-
-The complete list of transformations supported and their usage in ImageKit can be found in the docs for [images](https://docs.imagekit.io/features/image-transformations) and [videos](https://docs.imagekit.io/features/video-transformation). The SDK gives a name to each transformation parameter, making the code simpler, making the code simpler, and readable.
-
-If a transformation is supported in ImageKit, but a name for it cannot be found in the table below, then use the transformation code from ImageKit docs as the name when using the `url` function.
-
-If you want to generate transformations in your application and add them to the URL as it is, use the `raw` parameter.
-
-| Supported Transformation Name | Translates to parameter |
-|-------------------------------|-------------------------|
-| height | h |
-| width | w |
-| aspectRatio | ar |
-| quality | q |
-| crop | c |
-| cropMode | cm |
-| x | x |
-| y | y |
-| focus | fo |
-| format | f |
-| radius | r |
-| background | bg |
-| border | b |
-| rotation | rt |
-| blur | bl |
-| named | n |
-| progressive | pr |
-| lossless | lo |
-| trim | t |
-| metadata | md |
-| colorProfile | cp |
-| defaultImage | di |
-| dpr | dpr |
-| effectSharpen | e-sharpen |
-| effectUSM | e-usm |
-| effectContrast | e-contrast |
-| effectGray | e-grayscale |
-| effectShadow | e-shadow |
-| effectGradient | e-gradient |
-| original | orig |
-| raw | `replaced by the parameter value` |
-
+uploadFile()` method to upload files to the [ImageKit Media Library](https://imagekit.io/dashboard/media-library).
-
-- [Server-side file upload API](https://docs.imagekit.io/api-reference/upload-file-api/server-side-file-upload).
-- [Supported file types and extensions](https://docs.imagekit.io/api-reference/upload-file-api#allowed-file-types-for-uploading).
-
-#### Basic Usage
-```php
-$uploadFile = $imageKit->uploadFile([
- 'file' => 'your_file', // required, "binary","base64" or "file url"
- 'fileName' => 'your_file_name.jpg', // required
- 'checks' => '"file.size" < "1mb"', // optional `checks` parameters can be used to run server-side checks before files are uploaded to the Media Library.
-]);
-```
-#### Response
-```json
-{
- "error": null,
- "result": {
- "fileId": "6286329dfef1b033aee60211",
- "name": "your_file_name_S-PgGysnR.jpg",
- "size": 94466,
- "versionInfo": {
- "id": "6286329dfef1b033aee60211",
- "name": "Version 1"
- },
- "filePath": "/your_file_name_S-PgGysnR.jpg",
- "url": "https://ik.imagekit.io/demo/your_file_name_S-PgGysnR.jpg",
- "fileType": "image",
- "height": 640,
- "width": 960,
- "thumbnailUrl": "https://ik.imagekit.io/demo/tr:n-ik_ml_thumbnail/your_file_name_S-PgGysnR.jpg",
- "tags": [],
- "AITags": null,
- "customMetadata": { },
- "extensionStatus": {}
- },
- "responseMetadata":{
- "headers":{
- "access-control-allow-origin": "*",
- "x-ik-requestid": "e98f2464-2a86-4934-a5ab-9a226df012c9",
- "content-type": "application/json; charset=utf-8",
- "content-length": "434",
- "etag": 'W/"1b2-reNzjRCFNt45rEyD7yFY/dk+Ghg"',
- "date": "Thu, 16 Jun 2022 14:22:01 GMT",
- "x-request-id": "e98f2464-2a86-4934-a5ab-9a226df012c9"
- },
- "raw":{
- "fileId": "6286329dfef1b033aee60211",
- "name": "your_file_name_S-PgGysnR.jpg",
- "size": 94466,
- "versionInfo": {
- "id": "6286329dfef1b033aee60211",
- "name": "Version 1"
- },
- "filePath": "/your_file_name_S-PgGysnR.jpg",
- "url": "https://ik.imagekit.io/demo/your_file_name_S-PgGysnR.jpg",
- "fileType": "image",
- "height": 640,
- "width": 960,
- "thumbnailUrl": "https://ik.imagekit.io/demo/tr:n-ik_ml_thumbnail/your_file_name_S-PgGysnR.jpg",
- "tags": [],
- "AITags": null,
- "customMetadata": { },
- "extensionStatus": {}
- },
- "statusCode":200
- }
+try {
+ $response = $client->files->upload(file: 'file', fileName: "file-name.jpg");
+} catch (APIConnectionException $e) {
+ echo "The server could not be reached", PHP_EOL;
+ var_dump($e->getPrevious());
+} catch (RateLimitError $_) {
+ echo "A 429 status code was received; we should back off a bit.", PHP_EOL;
+} catch (APIStatusError $e) {
+ echo "Another non-200-range status code was received", PHP_EOL;
+ echo $e->getMessage();
}
```
-#### Optional Parameters
-Please refer to [server-side file upload API request structure](https://docs.imagekit.io/api-reference/upload-file-api/server-side-file-upload#request-structure-multipart-form-data) for a detailed explanation of mandatory and optional parameters.
-```php
-// Attempt File Uplaod
-$uploadFile = $imageKit->uploadFile([
- 'file' => 'your_file', // required, "binary","base64" or "file url"
- 'fileName' => 'your_file_name.jpg', // required
- // Optional Parameters
- "useUniqueFileName" => true, // true|false
- "tags" => implode(",",["abd", "def"]), // max: 500 chars
- "folder" => "/sample-folder",
- "isPrivateFile" => false, // true|false
- "customCoordinates" => implode(",", ["10", "10", "100", "100"]), // max: 500 chars
- "responseFields" => implode(",", ["tags", "customMetadata"]),
- "extensions" => [
- [
- "name" => "remove-bg",
- "options" => [ // refer https://docs.imagekit.io/extensions/overview
- "add_shadow" => true
- ]
- ]
- ],
- "webhookUrl" => "https://example.com/webhook",
- "overwriteFile" => true, // in case of false useUniqueFileName should be true
- "overwriteAITags" => true, // set to false in order to preserve overwriteAITags
- "overwriteTags" => true,
- "overwriteCustomMetadata" => true,
- 'transformation' => [
- 'pre' => 'l-text,i-Imagekit,fs-50,l-end',
- 'post' => [
- [
- 'type' => 'transformation',
- 'value' => 'h-100'
- ]
- ]
- ],
- 'checks' => '"file.size" < "1mb"', // optional `checks` parameters can be used to run server-side checks before files are uploaded to the Media Library.
- 'isPublished' => true,
- // "customMetadata" => [
- // "SKU" => "VS882HJ2JD",
- // "price" => 599.99,
- // ]
-]);
-```
+Error codes are as follows:
-## File Management
+| Cause | Error Type |
+| ---------------- | ------------------------------ |
+| HTTP 400 | `BadRequestException` |
+| HTTP 401 | `AuthenticationException` |
+| HTTP 403 | `PermissionDeniedException` |
+| HTTP 404 | `NotFoundException` |
+| HTTP 409 | `ConflictException` |
+| HTTP 422 | `UnprocessableEntityException` |
+| HTTP 429 | `RateLimitException` |
+| HTTP >= 500 | `InternalServerException` |
+| Other HTTP error | `APIStatusException` |
+| Timeout | `APITimeoutException` |
+| Network error | `APIConnectionException` |
-The SDK provides a simple interface for all the following [Media APIs](https://docs.imagekit.io/api-reference/media-api) to manage your files.
+### Retries
-### 1. List and Search Files
+Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
-This API can list all the uploaded files and folders in your [ImageKit.io](https://docs.imagekit.io/api-reference/media-api) media library.
+Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
-Refer to the [list and search file API](https://docs.imagekit.io/api-reference/media-api/list-and-search-files) for a better understanding of the **request & response structure**.
+You can use the `maxRetries` option to configure or disable this:
-#### Example
```php
-$listFiles = $imageKit->listFiles();
-```
-#### Applying Filters
-Filter out the files with an object specifying the parameters.
+listFiles([
- "type" => "file", // file, file-version or folder
- "sort" => "ASC_CREATED",
- "path" => "/", // folder path
- "fileType" => "all", // all, image, non-image
- "limit" => 10, // min:1, max:1000
- "skip" => 0, // min:0
-]);
-```
-
-#### Advance Search
-In addition, you can fine-tune your query by specifying various filters by generating a query string in a Lucene-like syntax and providing this generated string as the value of the `searchQuery`.
-
-```php
-$listFiles = $imageKit->listFiles([
- "searchQuery" => '(size < "1mb" AND width > 500) OR (tags IN ["summer-sale","banner"])',
-]);
-```
-Detailed documentation can be found here for [advance search queries](https://docs.imagekit.io/api-reference/media-api/list-and-search-files#advanced-search-queries).
+use ImageKit\Client;
+use ImageKit\RequestOptions;
-### 2. Get File Details
+// Configure the default for all requests:
+$client = new Client(maxRetries: 0);
-This API will get all the details and attributes of the current version of the asset.
-
-Refer to the [get file details API](https://docs.imagekit.io/api-reference/media-api/get-file-details) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$getFileDetails = $imageKit->getFileDetails('file_id');
-```
+// Or, configure per-request:
-### 3. Get File Version Details
-
-This API can get you all the details and attributes for the provided version of the file.
-
-Refer to the [get file version details API](https://docs.imagekit.io/api-reference/media-api/get-file-version-details) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$getFileVersionDetails = $imageKit->getFileVersionDetails('file_id','version_id');
-```
-
-### 4. Get File Versions
-
-This API will get you all the versions of an asset.
-
-Refer to the [get file versions API](https://docs.imagekit.io/api-reference/media-api/get-file-versions) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$getFileVersions = $imageKit->getFileVersions('file_id');
-```
-
-### 5. Update File Details
-
-Update file details such as `tags`, `customCoordinates` attributes, remove existing `AITags`, and apply [extensions](https://docs.imagekit.io/extensions/overview) using update file details API. This operation can only be performed only on the current version of an asset.
-
-Refer to the [update file details API](https://docs.imagekit.io/api-reference/media-api/update-file-details) for better understanding about the **request & response structure**.
-
-#### Example
-```php
-// Update parameters
-$updateData = [
- "removeAITags" => "all", // "all" or ["tag1","tag2"]
- "webhookUrl" => "https://example.com/webhook",
- "extensions" => [
- [
- "name" => "remove-bg",
- "options" => [ // refer https://docs.imagekit.io/extensions/overview
- "add_shadow" => true
- ]
- ],
- [
- "name" => "google-auto-tagging",
- ]
- ],
- "tags" => ["tag1", "tag2"],
- "customCoordinates" => "10,10,100,100",
- // "customMetadata" => [
- // "SKU" => "VS882HJ2JD",
- // "price" => 599.99,
- // ]
-];
-
-// Attempt Update
-$updateFileDetails = $imageKit->updateFileDetails(
- 'file_id',
- $updateData
-);
-```
-
-**Update publish status**
-
-If `publish` is included in the update options, no other parameters are allowed. If any are present, an error will be returned: `Your request cannot contain any other parameters when publish is present`.
-
-#### Example
-```php
-// Update parameters
-$updateData = [
- "publish" => [
- "isPublished" => true,
- "includeFileVersions" => true
- ]
-];
-
-// Attempt Update
-$updateFileDetails = $imageKit->updateFileDetails(
- 'file_id',
- $updateData
+$result = $client->files->upload(
+ file: 'file',
+ fileName: "file-name.jpg",
+ requestOptions: RequestOptions::with(maxRetries: 5),
);
```
-### 6. Add Tags (Bulk) API
+## Advanced concepts
-Add tags to multiple files in a single request. The method accepts an array of `fileIds` of the files and an array of `tags` that have to be added to those files.
-
-Refer to the [add tags (Bulk) API](https://docs.imagekit.io/api-reference/media-api/add-tags-bulk) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileIds = ['file_id1','file_id2'];
-$tags = ['image_tag_1', 'image_tag_2'];
-
-$bulkAddTags = $imageKit->bulkAddTags($fileIds, $tags);
-```
+### Making custom or undocumented requests
-### 7. Remove Tags (Bulk) API
+#### Undocumented properties
-Remove tags from multiple files in a single request. The method accepts an array of `fileIds` of the files and an array of `tags` that have to be removed from those files.
+You can send undocumented parameters to any endpoint, and read undocumented response properties, like so:
-Refer to the [remove tags (Bulk) API](https://docs.imagekit.io/api-reference/media-api/remove-tags-bulk) for a better understanding of the **request & response structure**.
+Note: the `extra*` parameters of the same name overrides the documented parameters.
-#### Example
```php
-$fileIds = ['file_id1','file_id2'];
-$tags = ['image_tag_1', 'image_tag_2'];
-
-$bulkRemoveTags = $imageKit->bulkRemoveTags($fileIds, $tags);
-```
-
-### 8. Remove AI Tags (Bulk) API
-
-Remove AI tags from multiple files in a single request. The method accepts an array of `fileIds` of the files and an array of `AITags` that have to be removed from those files.
-
-Refer to the [remove AI Tags (Bulk) API](https://docs.imagekit.io/api-reference/media-api/remove-aitags-bulk) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileIds = ['file_id1','file_id2'];
-$AITags = ['image_AITag_1', 'image_AITag_2'];
-
-$bulkRemoveTags = $imageKit->bulkRemoveTags($fileIds, $AITags);
-```
+ If a file or specific transformation has been requested in the past, then the response is cached. Deleting a file does not purge the cache. However, you can purge the cache using [Purge Cache API](#21-purge-cache-api).
-
-Refer to the [delete file API](https://docs.imagekit.io/api-reference/media-api/delete-file) for better understanding about the **request & response structure**.
-
-#### Basic Usage
-```php
-$fileId = 'file_id';
-$deleteFile = $imageKit->deleteFile($fileId);
-```
-
-### 10. Delete File Version API
-
-Using the delete file version API, you can programmatically delete the uploaded file version in the media library.
-
-> You can delete only the non-current version of a file.
-
-Refer to the [delete file version API](https://docs.imagekit.io/api-reference/media-api/delete-file-version) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileId = 'file_id';
-$versionId = 'version_id';
-$deleteFileVersion = $imageKit->deleteFileVersion($fileId, $versionId);
-```
-
-### 11. Delete Files (Bulk) API
-
-Deletes multiple files and their versions from the media library.
-
-Refer to the [delete files (Bulk) API](https://docs.imagekit.io/api-reference/media-api/delete-files-bulk) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileIds = ["5e1c13d0c55ec3437c451406", ...];
-$deleteFiles = $imageKit->bulkDeleteFiles($fileIds);
-```
-
-
-### 12. Copy File API
-
-This will copy a file from one folder to another.
-
-> If any file at the destination has the same name as the source file, then the source file and its versions (if `includeFileVersions` is set to true) will be appended to the destination file version history.
-
-Refer to the [copy file API](https://docs.imagekit.io/api-reference/media-api/copy-file) for a better understanding of the **request & response structure**.
-
-#### Basic Usage
-```php
-$sourceFilePath = '/sample-folder1/sample-file.jpg';
-$destinationPath = '/sample-folder2/';
-$includeFileVersions = false;
-
-$copyFile = $imageKit->copy([
- 'sourceFilePath' => $sourceFilePath,
- 'destinationPath' => $destinationPath,
- 'includeFileVersions' => $includeFileVersions
-]);
-```
-
-### 13. Move File API
-
-This will move a file and all its versions from one folder to another.
-
-> If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file.
-
-Refer to the [move file API](https://docs.imagekit.io/api-reference/media-api/move-file) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$sourceFilePath = '/sample-file.jpg';
-$destinationPath = '/sample-folder/';
-
-$moveFile = $imageKit->move([
- 'sourceFilePath' => $sourceFilePath,
- 'destinationPath' => $destinationPath
-]);
-```
-
-### 14. Rename File API
-
-Using Rename File API, you can programmatically rename an already existing file in the media library. This operation would rename all versions of the file.
-
-> The old URLs will stop working. However, the file/file version URLs cached on CDN will continue to work unless a purge is requested.
-
-Refer to the [rename file API](https://docs.imagekit.io/api-reference/media-api/rename-file) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-// Purge Cache would default to false
-
-$filePath = '/sample-folder/sample-file.jpg';
-$newFileName = 'sample-file2.jpg';
-$renameFile = $imageKit->rename([
- 'filePath' => $filePath,
- 'newFileName' => $newFileName,
-]);
-```
-When `purgeCache` is set to `true`, response will return `purgeRequestId`. This `purgeRequestId` can be used to get the purge request status.
-```php
-$filePath = '/sample-folder/sample-file.jpg';
-$newFileName = 'sample-file2.jpg';
-$renameFile = $imageKit->rename([
- 'filePath' => $filePath,
- 'newFileName' => $newFileName,
-],true);
-```
-
-### 15. Restore File Version API
-
-This will restore the provided file version to a different version of the file. The newly restored version of the file will be returned in the response.
-
-Refer to the [restore file version API](https://docs.imagekit.io/api-reference/media-api/restore-file-version) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileId = 'fileId';
-$versionId = 'versionId';
-$restoreFileVersion = $imageKit->restoreFileVersion([
- 'fileId' => $fileId,
- 'versionId' => $versionId,
-]);
-```
-
-### 16. Create Folder API
-
-This will create a new folder. You can specify the folder name and location of the parent folder where this new folder should be created.
-
-Refer to the [create folder API](https://docs.imagekit.io/api-reference/media-api/create-folder) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$folderName = 'new-folder';
-$parentFolderPath = '/';
-$createFolder = $imageKit->createFolder([
- 'folderName' => $folderName,
- 'parentFolderPath' => $parentFolderPath,
-]);
-```
-
-### 17. Delete Folder API
-
-This will delete the specified folder and all nested files, their versions & folders. This action cannot be undone.
-
-Refer to the [delete folder API](https://docs.imagekit.io/api-reference/media-api/delete-folder) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$folderPath = '/new-folder';
-$deleteFolder = $imageKit->deleteFolder($folderPath);
-```
-
-### 18. Copy Folder API
-
-This will copy one folder into another.
-
-Refer to the [copy folder API](https://docs.imagekit.io/api-reference/media-api/copy-folder) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$sourceFolderPath = '/source-folder/';
-$destinationPath = '/destination-folder/';
-$includeFileVersions = false;
-$copyFolder = $imageKit->copyFolder([
- 'sourceFolderPath' => $sourceFolderPath,
- 'destinationPath' => $destinationPath,
- 'includeFileVersions' => $includeFileVersions
-]);
-```
-
-### 19. Move Folder API
-
-This will move one folder into another. The selected folder, its nested folders, files, and their versions are moved in this operation.
-
-> If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.
-
-Refer to the [move folder API](https://docs.imagekit.io/api-reference/media-api/move-folder) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$sourceFolderPath = '/sample-folder/';
-$destinationPath = '/destination-folder/';
-$moveFolder = $imageKit->moveFolder([
- 'sourceFolderPath' => $sourceFolderPath,
- 'destinationPath' => $destinationPath
-]);
-```
-
-### 20. Bulk Job Status API
-
-This endpoint allows you to get the status of a bulk operation e.g. [Copy Folder API](#18-copy-folder-api) or [Move Folder API](#19-move-folder-api).
-
-Refer to the [bulk job status API](https://docs.imagekit.io/api-reference/media-api/copy-move-folder-status) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$jobId = 'jobId';
-$bulkJobStatus = $imageKit->getBulkJobStatus($jobId);
-```
-
-### 21. Purge Cache API
-
-This will purge CDN and ImageKit.io's internal cache. In response, `requestId` is returned, which can be used to fetch the status of the submitted purge request with [Purge Cache Status API](#22-purge-cache-status-api).
-
-Refer to the [Purge Cache API](https://docs.imagekit.io/api-reference/media-api/purge-cache) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$image_url = 'https://ik.imagekit.io/demo/sample-folder/sample-file.jpg';
-$purgeCache = $imageKit->purgeCache($image_url);
-```
-
-You can purge the cache for multiple files. Check [purge cache multiple files](https://docs.imagekit.io/api-reference/media-api/purge-cache#purge-cache-for-multiple-files).
-
-### 22. Purge Cache Status API
-
-Get the purge cache request status using the `requestId` returned when a purge cache request gets submitted with [Purge Cache API](#21-purge-cache-api)
-
-Refer to the [Purge Cache Status API](https://docs.imagekit.io/api-reference/media-api/purge-cache-status) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$cacheRequestId = '598821f949c0a938d57563bd';
-$purgeCacheStatus = $imageKit->purgeCacheStatus($cacheRequestId);
-```
-
-### 23. Get File Metadata API (From File ID)
-
-Get the image EXIF, pHash, and other metadata for uploaded files in the ImageKit.io media library using this API.
-
-Refer to the [get image metadata for uploaded media files API](https://docs.imagekit.io/api-reference/metadata-api/get-image-metadata-for-uploaded-media-files) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$fileId = '598821f949c0a938d57563bd';
-$getFileMetadata = $imageKit->getFileMetaData($fileId);
-```
-
-### 24. Get File Metadata API (From Remote URL)
-
-Get image EXIF, pHash, and other metadata from ImageKit.io powered remote URL using this API.
-
-Refer to the [get image metadata from remote URL API](https://docs.imagekit.io/api-reference/metadata-api/get-image-metadata-from-remote-url) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$image_url = 'https://ik.imagekit.io/demo/sample-folder/sample-file.jpg';
-$getFileMetadataFromRemoteURL = $imageKit->getFileMetadataFromRemoteURL($image_url);
-```
-## Custom Metadata Fields API
-
-Imagekit.io allows you to define a `schema` for your metadata keys, and the value filled against that key will have to adhere to those rules. You can [create](#1-create-fields), [read](#2-get-fields) and [update](#3-update-fields) custom metadata rules and update your file with custom metadata value in [file update API](#5-update-file-details) or [file upload API](#server-side-file-upload).
-
-For a detailed explanation, refer to the [custom metadata fields documentation](https://docs.imagekit.io/api-reference/custom-metadata-fields-api).
-
-
-### 1. Create Fields
-
-Create a custom metadata field with this API.
-
-Refer to the [create custom metadata fields API](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/create-custom-metadata-field) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$body = [
- "name" => "price", // required
- "label" => "Unit Price", // required
- "schema" => [ // required
- "type" => 'Number', // required
- "minValue" => 1000,
- "maxValue" => 5000,
- ],
-];
-
-$createCustomMetadataField = $imageKit->createCustomMetadataField($body);
-```
-
-Check for the [allowed values in the schema](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/create-custom-metadata-field#allowed-values-in-the-schema-object).
-
-### 2. Get Fields
-
-Get a list of all the custom metadata fields.
-
-Refer to the [get custom metadata fields API](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/get-custom-metadata-field) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$includeDeleted = false;
-$getCustomMetadataField = $imageKit->getCustomMetadataField($includeDeleted);
-```
-
-### 3. Update Fields
-
-Update an existing custom metadata field's `label` or `schema`.
-
-Refer to the [update custom metadata fields API](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/update-custom-metadata-field) for a better understanding of the **request & response structure**.
-
-#### Example
-```php
-$customMetadataFieldId = '598821f949c0a938d57563dd';
-$body = [
- "label" => "Net Price",
- "schema" => [
- "type"=>'Number'
- ],
-];
+$response = $client->files->upload(
+ file: 'file',
+ fileName: "file-name.jpg",
+ requestOptions: RequestOptions::with(
+ extraQueryParams: ["my_query_parameter" => "value"],
+ extraBodyParams: ["my_body_parameter" => "value"],
+ extraHeaders: ["my-header" => "value"],
+ ),
+);
-$updateCustomMetadataField = $imageKit->updateCustomMetadataField($customMetadataFieldId, $body);
+var_dump($response["my_undocumented_property"]);
```
-Check for the [allowed values in the schema](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/create-custom-metadata-field#allowed-values-in-the-schema-object).
+#### Undocumented request params
+If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.
-### 4. Delete Fields
+#### Undocumented endpoints
-Delete a custom metadata field.
+To make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so:
-Refer to the [delete custom metadata fields API](https://docs.imagekit.io/api-reference/custom-metadata-fields-api/delete-custom-metadata-field) for a better understanding of the **request & response structure**.
-
-#### Example
```php
-$customMetadataFieldId = '598821f949c0a938d57563dd';
+deleteCustomMetadataField($customMetadataFieldId);
+$response = $client->request(
+ method: "post",
+ path: '/undocumented/endpoint',
+ query: ['dog' => 'woof'],
+ headers: ['useful-header' => 'interesting-value'],
+ body: ['hello' => 'world']
+);
```
+## Versioning
-## Utility functions
-
-We have included the following commonly used utility functions in this SDK.
-
-### Authentication parameter generation
+This package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.
-If you want to implement client-side file upload, you will need a `token`, `expiry` timestamp, and a valid `signature` for that upload. The SDK provides a simple method you can use in your code to generate these authentication parameters.
+This package considers improvements to the (non-runtime) PHPDoc type definitions to be non-breaking changes.
-_Note: The Private API Key should never be exposed in any client-side code. You must always generate these authentication parameters on the server-side_
-
-```php
-$imageKit->getAuthenticationParameters($token = "", $expire = 0);
-```
-
-Returns
-
-```json
-{
- "token": "5d1c4a22-54f2-40bb-9e8c-99daaeeb7307",
- "expire": 1654207193,
- "signature": "a03a88b814570a3d92919c16a1b8bd4491f053c3"
-}
-```
-
-Both the `token` and `expire` parameters are optional. If not specified, the SDK internally generates a random token and a valid expiry timestamp. The value of the `token` and `expire` used to create the signature is always returned in the response, whether they are provided in input or not.
-
-### Distance calculation between two pHash values
-
-Perceptual hashing allows you to construct a hash value that uniquely identifies an input image based on the contents of an image. [ImageKit.io metadata API](https://docs.imagekit.io/api-reference/metadata-api) returns the pHash value of an image in the response. You can use this value to find a duplicate (or similar) image by calculating the distance between the pHash value of the two images.
-
-This SDK exposes `pHashDistance` function to calculate the distance between two pHash values. It accepts two pHash hexadecimal strings and returns a numeric value indicative of the level of difference between the two images.
-
-```php
- $imageKit->pHashDistance($firstHash ,$secondHash);
-```
-
-#### Distance calculation examples
-
-```php
-$imageKit->pHashDistance('f06830ca9f1e3e90', 'f06830ca9f1e3e90');
-// output: 0 (same image)
-
-$imageKit->pHashDistance('2d5ad3936d2e015b', '2d6ed293db36a4fb');
-// output: 17 (similar images)
-
-$imageKit->pHashDistance('a4a65595ac94518b', '7838873e791f8400');
-// output: 37 (dissimilar images)
-```
-
-## Opening Issues
-If you encounter a bug with `imagekit-php` we would like to hear about it. Search the existing issues and try to make sure your problem doesn't already exist before opening a new issue. It's helpful if you include the version of `imagekit-php`, PHP version, and OS you're using. Please include a stack trace and a simple workflow to reproduce the case when appropriate, too.
-
-
-## Support
-
-For any feedback or to report any issues or general implementation support, please reach out to [support@imagekit.io](mailto:support@imagekit.io)
-
-## Resources
+## Requirements
-- [Main website](https://imagekit.io) - Main Website.
-- [Documentation](https://docs.imagekit.io) - For both getting started and in-depth SDK usage information.
-- [PHP quick start guide](https://docs.imagekit.io/getting-started/quickstart-guides/php)
+PHP 8.1.0 or higher.
-## License
+## Contributing
-Released under the MIT license.
\ No newline at end of file
+See [the contributing documentation](https://github.com/stainless-sdks/imagekit-php/tree/main/CONTRIBUTING.md).
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 00000000..8e64327a
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,27 @@
+# Security Policy
+
+## Reporting Security Issues
+
+This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
+
+To report a security issue, please contact the Stainless team at security@stainless.com.
+
+## Responsible Disclosure
+
+We appreciate the efforts of security researchers and individuals who help us maintain the security of
+SDKs we generate. If you believe you have found a security vulnerability, please adhere to responsible
+disclosure practices by allowing us a reasonable amount of time to investigate and address the issue
+before making any information public.
+
+## Reporting Non-SDK Related Security Issues
+
+If you encounter security issues that are not directly related to SDKs but pertain to the services
+or products provided by Image Kit, please follow the respective company's security reporting guidelines.
+
+### Image Kit Terms and Policies
+
+Please contact developer@imagekit.io for any questions or concerns regarding the security of our services.
+
+---
+
+Thank you for helping us keep the SDKs and systems they interact with secure.
diff --git a/bin/check-release-environment b/bin/check-release-environment
new file mode 100644
index 00000000..0d9c55da
--- /dev/null
+++ b/bin/check-release-environment
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+errors=()
+
+if [ -z "${STAINLESS_API_KEY}" ]; then
+ errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
+fi
+
+if [ -z "${PACKAGIST_USERNAME}" ]; then
+ errors+=("The PACKAGIST_USERNAME secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+fi
+
+if [ -z "${PACKAGIST_SAFE_KEY}" ]; then
+ errors+=("The PACKAGIST_SAFE_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets")
+fi
+
+lenErrors=${#errors[@]}
+
+if [[ lenErrors -gt 0 ]]; then
+ echo -e "Found the following errors in the release environment:\n"
+
+ for error in "${errors[@]}"; do
+ echo -e "- $error\n"
+ done
+
+ exit 1
+fi
+
+echo "The environment is ready to push releases!"
diff --git a/composer.json b/composer.json
index 32efa114..7f793c41 100644
--- a/composer.json
+++ b/composer.json
@@ -1,46 +1,51 @@
{
- "authors": [
- {
- "name": "Imagekit",
- "homepage": "https://github.com/imagekit-developer/imagekit-php/graphs/contributors"
- }
- ],
- "autoload": {
- "psr-4": {
- "ImageKit\\": "src/ImageKit/"
- }
+ "$schema": "https://getcomposer.org/schema.json",
+ "autoload": {
+ "files": ["src/Core.php", "src/Client.php"],
+ "psr-4": {
+ "ImageKit\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Tests\\": "tests/"
+ }
+ },
+ "config": {
+ "allow-plugins": {
+ "pestphp/pest-plugin": true,
+ "php-http/discovery": false,
+ "phpstan/extension-installer": true
},
- "autoload-dev": {
- "psr-4": {
- "ImageKit\\Tests\\": "tests/"
- }
+ "platform": {
+ "php": "8.3"
},
- "description": "PHP library for Imagekit",
- "homepage": "https://github.com/imagekit-developer/imagekit-php",
- "keywords": [
- "library",
- "imagekit",
- "image management"
- ],
- "license": "MIT",
- "name": "imagekit/imagekit",
- "require": {
- "php": ">=5.6.0",
- "ext-curl": "*",
- "guzzlehttp/guzzle": "~6.0 || ~7.0",
- "ext-json": "*",
- "beberlei/assert": "^2.9.9"
- },
- "config": {
- "platform": {
- "php": "5.6"
- }
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7.27"
- },
- "support": {
- "email": "support@imagekit.io"
- },
- "type": "library"
+ "preferred-install": "dist",
+ "sort-packages": true
+ },
+ "description": "Image Kit PHP SDK",
+ "name": "imagekit/imagekit",
+ "require": {
+ "php": "^8.1",
+ "php-http/discovery": "^1",
+ "psr/http-client": "^1",
+ "psr/http-client-implementation": "^1",
+ "psr/http-factory-implementation": "^1",
+ "psr/http-message": "^1|^2"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^3",
+ "nyholm/psr7": "^1",
+ "pestphp/pest": "^3",
+ "phpstan/extension-installer": "^1",
+ "phpstan/phpstan": "^2",
+ "phpstan/phpstan-phpunit": "^2",
+ "phpunit/phpunit": "^11",
+ "symfony/http-client": "^7"
+ },
+ "scripts": {
+ "build:docs": "curl --etag-save ./vendor/ag.etags --etag-compare ./vendor/ag.etags --create-dirs --remote-name --output-dir ./vendor/bin --no-progress-meter -- https://github.com/ApiGen/ApiGen/releases/latest/download/apigen.phar && php ./vendor/bin/apigen.phar --output docs -- src",
+ "lint": "./scripts/lint",
+ "test": "./scripts/test"
+ }
}
diff --git a/composer.lock b/composer.lock
deleted file mode 100644
index 7594938f..00000000
--- a/composer.lock
+++ /dev/null
@@ -1,2395 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "39a1be44588c84272c5860de8d14993c",
- "packages": [
- {
- "name": "beberlei/assert",
- "version": "v2.9.9",
- "source": {
- "type": "git",
- "url": "https://github.com/beberlei/assert.git",
- "reference": "124317de301b7c91d5fce34c98bba2c6925bec95"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/beberlei/assert/zipball/124317de301b7c91d5fce34c98bba2c6925bec95",
- "reference": "124317de301b7c91d5fce34c98bba2c6925bec95",
- "shasum": ""
- },
- "require": {
- "ext-mbstring": "*",
- "php": ">=5.3"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^2.1.1",
- "phpunit/phpunit": "^4.8.35|^5.7"
- },
- "type": "library",
- "autoload": {
- "files": [
- "lib/Assert/functions.php"
- ],
- "psr-4": {
- "Assert\\": "lib/Assert"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de",
- "role": "Lead Developer"
- },
- {
- "name": "Richard Quadling",
- "email": "rquadling@gmail.com",
- "role": "Collaborator"
- }
- ],
- "description": "Thin assertion library for input validation in business models.",
- "keywords": [
- "assert",
- "assertion",
- "validation"
- ],
- "support": {
- "issues": "https://github.com/beberlei/assert/issues",
- "source": "https://github.com/beberlei/assert/tree/v2.9.9"
- },
- "time": "2019-05-28T15:27:37+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "6.5.8",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981",
- "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.9",
- "php": ">=5.5",
- "symfony/polyfill-intl-idn": "^1.17"
- },
- "require-dev": {
- "ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.1"
- },
- "suggest": {
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.5-dev"
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Jeremy Lindblom",
- "email": "jeremeamia@gmail.com",
- "homepage": "https://github.com/jeremeamia"
- },
- {
- "name": "George Mponos",
- "email": "gmponos@gmail.com",
- "homepage": "https://github.com/gmponos"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com",
- "homepage": "https://github.com/sagikazarmark"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "support": {
- "issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/6.5.8"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",
- "type": "tidelift"
- }
- ],
- "time": "2022-06-20T22:16:07+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "1.5.3",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/67ab6e18aaa14d753cc148911d273f6e6cb6721e",
- "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "symfony/phpunit-bridge": "^4.4 || ^5.1"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "support": {
- "issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/1.5.3"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
- "type": "tidelift"
- }
- ],
- "time": "2023-05-21T12:31:43+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b",
- "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "ext-zlib": "*",
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
- },
- "suggest": {
- "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "George Mponos",
- "email": "gmponos@gmail.com",
- "homepage": "https://github.com/gmponos"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com",
- "homepage": "https://github.com/sagikazarmark"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "support": {
- "issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/1.9.1"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
- "type": "tidelift"
- }
- ],
- "time": "2023-04-17T16:00:37+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v2.0.21",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "96c132c7f2f7bc3230723b66e89f8f150b29d5ae"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/96c132c7f2f7bc3230723b66e89f8f150b29d5ae",
- "reference": "96c132c7f2f7bc3230723b66e89f8f150b29d5ae",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "autoload": {
- "files": [
- "lib/random.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "polyfill",
- "pseudorandom",
- "random"
- ],
- "support": {
- "email": "info@paragonie.com",
- "issues": "https://github.com/paragonie/random_compat/issues",
- "source": "https://github.com/paragonie/random_compat"
- },
- "time": "2022-02-16T17:07:03+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "support": {
- "source": "https://github.com/php-fig/http-message/tree/master"
- },
- "time": "2016-08-06T14:39:51+00:00"
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "120b605dfeb996808c31b6477290a714d356e822"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
- "reference": "120b605dfeb996808c31b6477290a714d356e822",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "require-dev": {
- "php-coveralls/php-coveralls": "^2.1",
- "phpunit/phpunit": "^5 || ^6.5"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "support": {
- "issues": "https://github.com/ralouphie/getallheaders/issues",
- "source": "https://github.com/ralouphie/getallheaders/tree/develop"
- },
- "time": "2019-03-08T08:55:37+00:00"
- },
- {
- "name": "symfony/polyfill-intl-idn",
- "version": "v1.19.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-intl-idn.git",
- "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/4ad5115c0f5d5172a9fe8147675ec6de266d8826",
- "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "symfony/polyfill-intl-normalizer": "^1.10",
- "symfony/polyfill-php70": "^1.10",
- "symfony/polyfill-php72": "^1.10"
- },
- "suggest": {
- "ext-intl": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.19-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Intl\\Idn\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Laurent Bassin",
- "email": "laurent@bassin.info"
- },
- {
- "name": "Trevor Rowbotham",
- "email": "trevor.rowbotham@pm.me"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "idn",
- "intl",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.19.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-21T09:57:48+00:00"
- },
- {
- "name": "symfony/polyfill-intl-normalizer",
- "version": "v1.19.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8db0ae7936b42feb370840cf24de1a144fb0ef27",
- "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-intl": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.19-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for intl's Normalizer class and related functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "intl",
- "normalizer",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.19.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-23T09:01:57+00:00"
- },
- {
- "name": "symfony/polyfill-php70",
- "version": "v1.19.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php70.git",
- "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
- "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e",
- "shasum": ""
- },
- "require": {
- "paragonie/random_compat": "~1.0|~2.0|~9.99",
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.19-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Php70\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-php70/tree/v1.19.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-23T09:01:57+00:00"
- },
- {
- "name": "symfony/polyfill-php72",
- "version": "v1.19.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "beecef6b463b06954638f02378f52496cb84bacc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/beecef6b463b06954638f02378f52496cb84bacc",
- "reference": "beecef6b463b06954638f02378f52496cb84bacc",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.19-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Php72\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-php72/tree/v1.19.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-23T09:01:57+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d",
- "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3,<8.0-DEV"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "support": {
- "issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/1.0.5"
- },
- "funding": [
- {
- "url": "https://www.doctrine-project.org/sponsorship.html",
- "type": "custom"
- },
- {
- "url": "https://www.patreon.com/phpdoctrine",
- "type": "patreon"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
- "type": "tidelift"
- }
- ],
- "time": "2015-06-14T21:17:01+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/DeepCopy/deep_copy.php"
- ],
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "support": {
- "issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.x"
- },
- "time": "2017-10-19T19:58:43+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "support": {
- "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
- "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/master"
- },
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "3.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^4.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "support": {
- "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
- "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/3.x"
- },
- "time": "2017-11-10T14:09:06+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "support": {
- "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
- "source": "https://github.com/phpDocumentor/TypeResolver/tree/master"
- },
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "v1.10.3",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "451c3cd1418cf640de218914901e51b064abb093"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093",
- "reference": "451c3cd1418cf640de218914901e51b064abb093",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
- "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5 || ^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.10.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Prophecy\\": "src/Prophecy"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "support": {
- "issues": "https://github.com/phpspec/prophecy/issues",
- "source": "https://github.com/phpspec/prophecy/tree/v1.10.3"
- },
- "time": "2020-03-05T15:02:03+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^5.6 || ^7.0",
- "phpunit/php-file-iterator": "^1.3",
- "phpunit/php-text-template": "^1.2",
- "phpunit/php-token-stream": "^1.4.2 || ^2.0",
- "sebastian/code-unit-reverse-lookup": "^1.0",
- "sebastian/environment": "^1.3.2 || ^2.0",
- "sebastian/version": "^1.0 || ^2.0"
- },
- "require-dev": {
- "ext-xdebug": "^2.1.4",
- "phpunit/phpunit": "^5.7"
- },
- "suggest": {
- "ext-xdebug": "^2.5.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "support": {
- "irc": "irc://irc.freenode.net/phpunit",
- "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/4.0"
- },
- "time": "2017-04-02T07:44:40+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "1.4.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "support": {
- "irc": "irc://irc.freenode.net/phpunit",
- "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
- "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/1.4.5"
- },
- "time": "2017-11-27T13:52:08+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
- "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1"
- },
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "1.0.9",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-timer/issues",
- "source": "https://github.com/sebastianbergmann/php-timer/tree/master"
- },
- "time": "2017-02-26T11:10:40+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "1.4.12",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
- "source": "https://github.com/sebastianbergmann/php-token-stream/tree/1.4"
- },
- "abandoned": true,
- "time": "2017-12-04T08:55:13+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "5.7.27",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "~1.3",
- "php": "^5.6 || ^7.0",
- "phpspec/prophecy": "^1.6.2",
- "phpunit/php-code-coverage": "^4.0.4",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": "^1.0.6",
- "phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "^1.2.4",
- "sebastian/diff": "^1.4.3",
- "sebastian/environment": "^1.3.4 || ^2.0",
- "sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.1",
- "sebastian/object-enumerator": "~2.0",
- "sebastian/resource-operations": "~1.0",
- "sebastian/version": "^1.0.6|^2.0.1",
- "symfony/yaml": "~2.1|~3.0|~4.0"
- },
- "conflict": {
- "phpdocumentor/reflection-docblock": "3.0.2"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-xdebug": "*",
- "phpunit/php-invoker": "~1.1"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.7.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/phpunit/issues",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/5.7.27"
- },
- "time": "2018-02-01T05:50:59+00:00"
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "3.4.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118",
- "reference": "a23b761686d50a560cc56233b9ecf49597cc9118",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.6 || ^7.0",
- "phpunit/php-text-template": "^1.2",
- "sebastian/exporter": "^1.2 || ^2.0"
- },
- "conflict": {
- "phpunit/phpunit": "<5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ],
- "support": {
- "irc": "irc://irc.freenode.net/phpunit",
- "issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues",
- "source": "https://github.com/sebastianbergmann/phpunit-mock-objects/tree/3.4"
- },
- "abandoned": true,
- "time": "2017-06-30T09:13:00+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619",
- "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "require-dev": {
- "phpunit/phpunit": "^8.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "support": {
- "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
- "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-11-30T08:15:22+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "1.2.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/diff": "~1.2",
- "sebastian/exporter": "~1.2 || ~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "http://www.github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/comparator/issues",
- "source": "https://github.com/sebastianbergmann/comparator/tree/1.2"
- },
- "time": "2017-01-29T09:50:25+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "1.4.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/diff/issues",
- "source": "https://github.com/sebastianbergmann/diff/tree/1.4"
- },
- "time": "2017-05-22T07:24:03+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/environment/issues",
- "source": "https://github.com/sebastianbergmann/environment/tree/master"
- },
- "time": "2016-11-26T07:53:53+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/exporter/issues",
- "source": "https://github.com/sebastianbergmann/exporter/tree/master"
- },
- "time": "2016-11-19T08:54:04+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/global-state/issues",
- "source": "https://github.com/sebastianbergmann/global-state/tree/1.1.1"
- },
- "time": "2015-10-12T03:26:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6",
- "sebastian/recursion-context": "~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "support": {
- "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
- "source": "https://github.com/sebastianbergmann/object-enumerator/tree/master"
- },
- "time": "2017-02-18T15:18:39+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "support": {
- "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
- "source": "https://github.com/sebastianbergmann/recursion-context/tree/master"
- },
- "time": "2016-11-19T07:33:16+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "support": {
- "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
- "source": "https://github.com/sebastianbergmann/resource-operations/tree/master"
- },
- "time": "2015-07-28T20:34:47+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "support": {
- "issues": "https://github.com/sebastianbergmann/version/issues",
- "source": "https://github.com/sebastianbergmann/version/tree/master"
- },
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.19.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b",
- "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "1.19-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.19.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-23T09:01:57+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.4.47",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "88289caa3c166321883f67fe5130188ebbb47094"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/88289caa3c166321883f67fe5130188ebbb47094",
- "reference": "88289caa3c166321883f67fe5130188ebbb47094",
- "shasum": ""
- },
- "require": {
- "php": "^5.5.9|>=7.0.8",
- "symfony/polyfill-ctype": "~1.8"
- },
- "conflict": {
- "symfony/console": "<3.4"
- },
- "require-dev": {
- "symfony/console": "~3.4|~4.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/yaml/tree/v3.4.47"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-10-24T10:57:07+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozarts/assert.git",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0 || ^8.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "conflict": {
- "phpstan/phpstan": "<0.12.20",
- "vimeo/psalm": "<3.9.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^7.5.13"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "support": {
- "issues": "https://github.com/webmozarts/assert/issues",
- "source": "https://github.com/webmozarts/assert/tree/1.9.1"
- },
- "time": "2020-07-08T17:02:28+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.6.0",
- "ext-curl": "*",
- "ext-json": "*"
- },
- "platform-dev": [],
- "platform-overrides": {
- "php": "5.6"
- },
- "plugin-api-version": "2.2.0"
-}
diff --git a/phpstan.dist.neon b/phpstan.dist.neon
new file mode 100644
index 00000000..1cdf47d8
--- /dev/null
+++ b/phpstan.dist.neon
@@ -0,0 +1,14 @@
+parameters:
+ level: max
+ phpVersion:
+ min: 80100
+ max: 80499
+ paths:
+ - src
+ - tests
+ ignoreErrors:
+ - identifier: parameter.defaultValue
+ - identifier: trait.unused
+ - identifier: property.onlyWritten
+
+ reportUnmatchedIgnoredErrors: false
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 00dd3c89..41860103 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -1,17 +1,18 @@
-
+
-
-
- src
-
-
-
-
- tests
-
-
+ cacheDirectory=".phpunit.cache"
+ colors="true"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
+>
+
+
+ ./src
+
+
+
+
+ ./tests
+
+
diff --git a/release-please-config.json b/release-please-config.json
new file mode 100644
index 00000000..1891660d
--- /dev/null
+++ b/release-please-config.json
@@ -0,0 +1,66 @@
+{
+ "packages": {
+ ".": {}
+ },
+ "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json",
+ "include-v-in-tag": true,
+ "include-component-in-tag": false,
+ "versioning": "prerelease",
+ "prerelease": true,
+ "bump-minor-pre-major": true,
+ "bump-patch-for-minor-pre-major": false,
+ "pull-request-header": "Automated Release PR",
+ "pull-request-title-pattern": "release: ${version}",
+ "changelog-sections": [
+ {
+ "type": "feat",
+ "section": "Features"
+ },
+ {
+ "type": "fix",
+ "section": "Bug Fixes"
+ },
+ {
+ "type": "perf",
+ "section": "Performance Improvements"
+ },
+ {
+ "type": "revert",
+ "section": "Reverts"
+ },
+ {
+ "type": "chore",
+ "section": "Chores"
+ },
+ {
+ "type": "docs",
+ "section": "Documentation"
+ },
+ {
+ "type": "style",
+ "section": "Styles"
+ },
+ {
+ "type": "refactor",
+ "section": "Refactors"
+ },
+ {
+ "type": "test",
+ "section": "Tests",
+ "hidden": true
+ },
+ {
+ "type": "build",
+ "section": "Build System"
+ },
+ {
+ "type": "ci",
+ "section": "Continuous Integration",
+ "hidden": true
+ }
+ ],
+ "release-type": "php",
+ "extra-files": [
+ "README.md"
+ ]
+}
\ No newline at end of file
diff --git a/sample/README.md b/sample/README.md
deleted file mode 100644
index 2b83ab87..00000000
--- a/sample/README.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Running the sample application
-
-### Step 1
-Open `sample.php` and fill the account details:
-```php
-$public_key = 'your_public_key';
-$your_private_key = 'your_private_key';
-$url_end_point = 'https://ik.imagekit.io/demo';
-```
-
-### Step 2:
-Run the `sample.php` file.
-```bash
-php sample.php
-```
\ No newline at end of file
diff --git a/sample/file_management/index.php b/sample/file_management/index.php
deleted file mode 100644
index 2d8e3ada..00000000
--- a/sample/file_management/index.php
+++ /dev/null
@@ -1,319 +0,0 @@
-listFiles();
-
-echo "\n\n";
-echo "1. List All Files: \n";
-echo "\033[01;32m".print_r($listFiles,true)."\033[0m";
-echo "\n";
-
-$file_id = $listFiles->result[0]->fileId;
-$version_id = $listFiles->result[0]->versionInfo->id;
-$filePath = $listFiles->result[0]->filePath;
-$sourceFilePath = $listFiles->result[0]->filePath;
-
-// List Filtered Files
-
-$listFilteredFiles = $imageKit->listFiles([
- "type" => "file",
- "sort" => "ASC_CREATED",
- "path" => "/sample-folder",
- "fileType" => "all",
- "limit" => 10,
- "skip" => 0,
- "tags" => ["tag3","tag4"],
-]);
-
-echo "\n\n";
-echo "2. List Filtered Files: \n";
-echo "\033[01;32m".print_r($listFilteredFiles,true)."\033[0m";
-echo "\n";
-
-// Advance Search Filtered Files
-
-$advanceSearchFilteredFiles = $imageKit->listFiles([
- "searchQuery" => '(size < "50kb" AND width > 500) OR (tags IN ["summer-sale","banner"])',
-]);
-
-echo "\n\n";
-echo "3. Advance Search Filtered Files: \n";
-echo "\033[01;32m".print_r($advanceSearchFilteredFiles,true)."\033[0m";
-echo "\n";
-
-// Get File Details
-$getFileDetails = $imageKit->getFileDetails($file_id);
-
-echo "\n\n";
-echo "4. Get File Details: \n";
-echo "\033[01;32m".print_r($getFileDetails,true)."\033[0m";
-echo "\n";
-
-// Get File Version Details
-$getFileVersionDetails = $imageKit->getFileVersionDetails($file_id,$version_id);
-
-echo "\n\n";
-echo "5. Get File Version Details: \n";
-echo "\033[01;32m".print_r($getFileVersionDetails,true)."\033[0m";
-echo "\n";
-
-// Get File Versions
-$getFileVersions = $imageKit->getFileVersions($file_id);
-
-
-echo "\n\n";
-echo "6. Get File Versions: \n";
-echo "\033[01;32m".print_r($getFileVersions,true)."\033[0m";
-echo "\n";
-
-// Update File Details
-$updateData = [
- "removeAITags" => "all", // "all" or ["tag1","tag2"]
- "webhookUrl" => "https://example.com/webhook",
- "tags" => ["tag3", "tag4"],
-];
-
-$updateFileDetails = $imageKit->updateFileDetails(
- $file_id,
- $updateData
-);
-
-echo "\n\n";
-echo "7. Update File Details: \n";
-echo "\033[01;32m".print_r($updateFileDetails,true)."\033[0m";
-echo "\n";
-
-// Add Tags (Bulk)
-$fileIds = [$file_id];
-$tags = ['image_tag_1', 'image_tag_2'];
-
-$bulkAddTags = $imageKit->bulkAddTags($fileIds, $tags);
-
-echo "\n\n";
-echo "8. Add Tags (Bulk): \n";
-echo "\033[01;32m".print_r($bulkAddTags,true)."\033[0m";
-echo "\n";
-
-// Remove Tags (Bulk)
-$fileIds = [$file_id];
-$tags = ['image_tag_1', 'image_tag_2'];
-
-$bulkRemoveTags = $imageKit->bulkRemoveTags($fileIds, $tags);
-
-echo "\n\n";
-echo "9. Remove Tags (Bulk): \n";
-echo "\033[01;32m".print_r($bulkRemoveTags,true)."\033[0m";
-echo "\n";
-
-// Remove AI Tags (Bulk)
-$fileIds = [$file_id];
-$AITags = ['image_AITag_1', 'image_AITag_2'];
-
-$bulkRemoveAITags = $imageKit->bulkRemoveAITags($fileIds, $AITags);
-
-echo "\n\n";
-echo "10. Remove AI Tags (Bulk): \n";
-echo "\033[01;32m".print_r($bulkRemoveAITags,true)."\033[0m";
-echo "\n";
-
-// Copy File
-
-$destinationPath = '/sample-folder2/';
-$copyFile = $imageKit->copy([
- 'sourceFilePath' => $sourceFilePath,
- 'destinationPath' => $destinationPath,
- 'includeFileVersions' => false
-]);
-
-echo "\n\n";
-echo "11. Copy File: \n";
-echo "\033[01;32m".print_r($copyFile,true)."\033[0m";
-echo "\n";
-
-// Move File
-
-$destinationPath = '/';
-$moveFile = $imageKit->move([
- 'sourceFilePath' => '/sample-folder2/default-image.jpg',
- 'destinationPath' => $destinationPath
-]);
-
-echo "\n\n";
-echo "12. Move File: \n";
-echo "\033[01;32m".print_r($moveFile,true)."\033[0m";
-echo "\n";
-
-// Rename File with purge cache false
-
-$newFileName = 'sample-file2.jpg';
-$renameFile = $imageKit->rename([
- 'filePath' => $filePath,
- 'newFileName' => $newFileName,
- 'purgeCache' => false
-]);
-
-echo "\n\n";
-echo "13. Rename File with Pruge Cache False: \n";
-echo "\033[01;32m".print_r($renameFile,true)."\033[0m";
-echo "\n";
-
-// Rename File with Purge Cache true
-
-$newFileName = 'sample-file3.jpg';
-$renameFile = $imageKit->renameFile([
- 'filePath' => $filePath,
- 'newFileName' => $newFileName,
-], true);
-
-echo "\n\n";
-echo "14. Rename File with Pruge Cache True: \n";
-echo "\033[01;32m".print_r($renameFile,true)."\033[0m";
-echo "\n";
-
-// Restore File Version
-
-$restoreFileVersion = $imageKit->restoreFileVersion([
- 'fileId' => $file_id,
- 'versionId' => $version_id,
-]);
-
-echo "\n\n";
-echo "15. Restore File Version: \n";
-echo "\033[01;32m".print_r($restoreFileVersion,true)."\033[0m";
-echo "\n";
-
-// Create Folder
-
-$folderName = 'new-folder';
-$parentFolderPath = '/';
-$createFolder = $imageKit->createFolder([
- 'folderName' => $folderName,
- 'parentFolderPath' => $parentFolderPath,
-]);
-
-echo "\n\n";
-echo "16. Create Folder: \n";
-echo "\033[01;32m".print_r($createFolder,true)."\033[0m";
-echo "\n";
-
-// Copy Folder
-
-$sourceFolderPath = $folderName;
-$destinationPath = '/sample-folder';
-$includeFileVersions = false;
-$copyFolder = $imageKit->copyFolder([
- 'sourceFolderPath' => $sourceFolderPath,
- 'destinationPath' => $destinationPath,
- 'includeFileVersions' => $includeFileVersions
-]);
-
-echo "\n\n";
-echo "17. Copy Folder: \n";
-echo "\033[01;32m".print_r($copyFolder,true)."\033[0m";
-echo "\n";
-
-// Move Folder
-
-$sourceFolderPath = $folderName;
-$destinationPath = '/sample-folder';
-$moveFolder = $imageKit->moveFolder([
- 'sourceFolderPath' => $sourceFolderPath,
- 'destinationPath' => $destinationPath
-]);
-
-$job_id = $moveFolder->result->jobId;
-
-echo "\n\n";
-echo "18. Move Folder: \n";
-echo "\033[01;32m".print_r($moveFolder,true)."\033[0m";
-echo "\n";
-
-
-// Delete Folder
-$folderPath = '/sample-folder/new-folder';
-$deleteFolder = $imageKit->deleteFolder($folderPath);
-
-echo "\n\n";
-echo "19. Delete Folder: \n";
-echo "\033[01;32m".print_r($deleteFolder,true)."\033[0m";
-echo "\n";
-
-// Bulk Job Status
-
-$bulkJobStatus = $imageKit->getBulkJobStatus($job_id);
-
-echo "\n\n";
-echo "20. Bulk Job Status: \n";
-echo "\033[01;32m".print_r($bulkJobStatus,true)."\033[0m";
-echo "\n";
-
-// Purge Cache
-
-$image_url = $url_end_point.'/sample-folder/default-image.jpg';
-$purgeCache = $imageKit->purgeCache($image_url);
-$cacheRequestId = $purgeCache->result->requestId;
-echo "\n\n";
-echo "21. Purge Cache: \n";
-echo "\033[01;32m".print_r($purgeCache,true)."\033[0m";
-echo "\n";
-
-// Purge Cache Status
-
-$getPurgeCacheStatus = $imageKit->getPurgeCacheStatus($cacheRequestId);
-
-echo "\n\n";
-echo "22. Purge Cache Status: \n";
-echo "\033[01;32m".print_r($getPurgeCacheStatus,true)."\033[0m";
-echo "\n";
-
-// Get File Metadata (From File ID)
-
-$getFileMetadata = $imageKit->getFileMetaData($file_id);
-
-echo "\n\n";
-echo "23. Get File Metadata (From File ID): \n";
-echo "\033[01;32m".print_r($getFileMetadata,true)."\033[0m";
-echo "\n";
-
-// Get File Metadata (From Remote URL)
-
-$getFileMetadata = $imageKit->getFileMetadataFromRemoteURL($image_url);
-
-echo "\n\n";
-echo "24. Get File Metadata (From Remote URL): \n";
-echo "\033[01;32m".print_r($getFileMetadata,true)."\033[0m";
-echo "\n";
-
-// Delete File Version
-
-$deleteFileVersion = $imageKit->deleteFileVersion($file_id, $version_id);
-
-echo "\n\n";
-echo "25. Delete File Version: \n";
-echo "\033[01;32m".print_r($deleteFileVersion,true)."\033[0m";
-echo "\n";
-
-// Delete File
-
-$deleteFile = $imageKit->deleteFile($file_id);
-
-echo "\n\n";
-echo "26. Delete File: \n";
-echo "\033[01;32m".print_r($deleteFile,true)."\033[0m";
-echo "\n";
-
-// Delete Files (Bulk)
-
-$fileIds = [$file_id];
-$deleteFiles = $imageKit->bulkDeleteFiles($fileIds);
-
-echo "\n\n";
-echo "27. Delete Files (Bulk): \n";
-echo "\033[01;32m".print_r($deleteFiles,true)."\033[0m";
-echo "\n";
diff --git a/sample/metadata/index.php b/sample/metadata/index.php
deleted file mode 100644
index 4c2fbed3..00000000
--- a/sample/metadata/index.php
+++ /dev/null
@@ -1,62 +0,0 @@
- "net_price", // required
- "label" => "Net Price", // required
- "schema" => [ // required
- "type" => 'Number', // required
- "minValue" => 1000,
- "maxValue" => 5000,
- ],
-];
-
-$createCustomMetadataField = $imageKit->createCustomMetadataField($body);
-
-echo "\n\n";
-echo "1. Create Fields: \n";
-echo "\033[01;32m".print_r($createCustomMetadataField,true)."\033[0m";
-echo "\n";
-
-// Get Fields
-
-$includeDeleted = false;
-$getCustomMetadataFields = $imageKit->getCustomMetadataFields($includeDeleted);
-$customMetadataFieldId = $getCustomMetadataFields->result[0]->id;
-
-echo "\n\n";
-echo "2. Get Fields: \n";
-echo "\033[01;32m".print_r($getCustomMetadataFields,true)."\033[0m";
-echo "\n";
-
-// Update Field
-
-$body = [
- "label" => "Net Price2",
- "schema" => [
- "type"=>'Number'
- ],
-];
-
-$updateCustomMetadataField = $imageKit->updateCustomMetadataField($customMetadataFieldId, $body);
-
-echo "\n\n";
-echo "3. Update Field: \n";
-echo "\033[01;32m".print_r($updateCustomMetadataField,true)."\033[0m";
-echo "\n";
-
-// Delete Field
-
-$deleteCustomMetadataField = $imageKit->deleteCustomMetadataField($customMetadataFieldId);
-
-echo "\n\n";
-echo "4. Delete Field: \n";
-echo "\033[01;32m".print_r($deleteCustomMetadataField,true)."\033[0m";
-echo "\n";
-
diff --git a/sample/sample.php b/sample/sample.php
deleted file mode 100644
index ac3cc383..00000000
--- a/sample/sample.php
+++ /dev/null
@@ -1,31 +0,0 @@
-Q<0H13BF#rq{G&D36%)bE!2IdPa5*+M5
zpduo|BcY>WV4$O-qhsO_e#OMX$3{oTCBwxhA|fFn!Td`8jhy%!Au$Q@f0ID``xN#I
zED9VP3NaQs7V-aYeD(s+;ULN(e?mc!10c~MpwJ;c`vHUi03_6Zs|EZYpr9cjVZH!h
z;r?0iAOQav|IhT_69N(n8s>8qfCL2rfJB2r`}gKlX4!o_rLk^a$q){BTN;Cco1@lP
zAch=X1|OH}m7Kz+lLpI)AM$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