Download the PHP package celitech-sdk/sdk without Composer

On this page you can find all versions of the php package celitech-sdk/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

Celitech PHP SDK 1.3.42

Welcome to the Celitech SDK documentation. This guide will help you get started with integrating and using the Celitech SDK in your project.

This SDK was generated by liblab

Versions

About the API

Welcome to the CELITECH API documentation!

Useful links: Homepage | Blog

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: PHP >= 8.0

Installation

To get started with the SDK, we recommend installing using composer:

Authentication

OAuth Authentication

The Celitech API uses OAuth for authentication.

You need to provide the OAuth parameters when initializing the SDK.

If you need to set or update the OAuth parameters after the SDK initialization, you can use:

Environment Variables

These are the environment variables for the SDK:

Name Description
CLIENT_ID Client ID parameter
CLIENT_SECRET Client Secret parameter

Environment variables are a way to configure your application outside the code. You can set these environment variables on the command line or use your project's existing tooling for managing environment variables.

If you are using a .env file, a template with the variable names is provided in the .env.example file located in the same directory as this README.

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation: | Name | | :--- | | [OAuth](documentation/services/OAuth.md) | | [Destinations](documentation/services/Destinations.md) | | [Packages](documentation/services/Packages.md) | | [Purchases](documentation/services/Purchases.md) | | [ESim](documentation/services/ESim.md) | | [IFrame](documentation/services/IFrame.md) |

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models with links to their detailed documentation: | Name | Description | | :--------- | :---------- | | [GetAccessTokenRequest](documentation/models/GetAccessTokenRequest.md) | | | [GetAccessTokenOkResponse](documentation/models/GetAccessTokenOkResponse.md) | | | [ListDestinationsOkResponse](documentation/models/ListDestinationsOkResponse.md) | | | [ListPackagesOkResponse](documentation/models/ListPackagesOkResponse.md) | | | [CreatePurchaseV2Request](documentation/models/CreatePurchaseV2Request.md) | | | [CreatePurchaseV2OkResponse](documentation/models/CreatePurchaseV2OkResponse.md) | | | [ListPurchasesOkResponse](documentation/models/ListPurchasesOkResponse.md) | | | [CreatePurchaseRequest](documentation/models/CreatePurchaseRequest.md) | | | [CreatePurchaseOkResponse](documentation/models/CreatePurchaseOkResponse.md) | | | [TopUpEsimRequest](documentation/models/TopUpEsimRequest.md) | | | [TopUpEsimOkResponse](documentation/models/TopUpEsimOkResponse.md) | | | [EditPurchaseRequest](documentation/models/EditPurchaseRequest.md) | | | [EditPurchaseOkResponse](documentation/models/EditPurchaseOkResponse.md) | | | [GetPurchaseConsumptionOkResponse](documentation/models/GetPurchaseConsumptionOkResponse.md) | | | [GetEsimOkResponse](documentation/models/GetEsimOkResponse.md) | | | [GetEsimDeviceOkResponse](documentation/models/GetEsimDeviceOkResponse.md) | | | [GetEsimHistoryOkResponse](documentation/models/GetEsimHistoryOkResponse.md) | | | [GetEsimMacOkResponse](documentation/models/GetEsimMacOkResponse.md) | | | [TokenOkResponse](documentation/models/TokenOkResponse.md) | | | [GrantType](documentation/models/GrantType.md) | | | [Destinations](documentation/models/Destinations.md) | | | [Packages](documentation/models/Packages.md) | | | [CreatePurchaseV2OkResponsePurchase](documentation/models/CreatePurchaseV2OkResponsePurchase.md) | | | [CreatePurchaseV2OkResponseProfile](documentation/models/CreatePurchaseV2OkResponseProfile.md) | | | [Purchases](documentation/models/Purchases.md) | | | [Package](documentation/models/Package.md) | | | [PurchasesEsim](documentation/models/PurchasesEsim.md) | | | [CreatePurchaseOkResponsePurchase](documentation/models/CreatePurchaseOkResponsePurchase.md) | | | [CreatePurchaseOkResponseProfile](documentation/models/CreatePurchaseOkResponseProfile.md) | | | [TopUpEsimOkResponsePurchase](documentation/models/TopUpEsimOkResponsePurchase.md) | | | [TopUpEsimOkResponseProfile](documentation/models/TopUpEsimOkResponseProfile.md) | | | [GetEsimOkResponseEsim](documentation/models/GetEsimOkResponseEsim.md) | | | [Device](documentation/models/Device.md) | | | [GetEsimHistoryOkResponseEsim](documentation/models/GetEsimHistoryOkResponseEsim.md) | | | [History](documentation/models/History.md) | | | [GetEsimMacOkResponseEsim](documentation/models/GetEsimMacOkResponseEsim.md) | |

License

This SDK is licensed under the MIT License.

See the LICENSE file for more details.


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
symfony/serializer Version ^7.0
guzzlehttp/guzzle Version ^7.0
symfony/property-info Version ^7.0
symfony/property-access Version ^7.0
phpdocumentor/reflection-docblock Version ^5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package celitech-sdk/sdk contains the following files

Loading the files please wait ....