Download the PHP package astelbe/sdk-php without Composer
On this page you can find all versions of the php package astelbe/sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astelbe/sdk-php
More information about astelbe/sdk-php
Files in astelbe/sdk-php
Package sdk-php
Short Description SDK used for a PHP Website to access Astel API and telecom data
License proprietary
Informations about the package sdk-php
Astel API Client Library for PHP
It is a lightweight, Astel API client library for PHP. The SDK is best suited for implementing some functionnalities on your own. For example: telecom product catalog listing, options, joint offer for comparing, ordering and sales reporting. The whole Astel.be website is written using this SDK and the API as source of data.
You can either implement your own website using this SDK or use easily integrable off-the-shelf tools - Web Integration Modules. These modules are injectable on any internet facing application or website by inserting some html tags in your own code.
Astel SDK Installation
Install via Composer.
And use in your PHP code:
or, simply, download an archive of our code and upload it on your application.
Usage
See our developer site for more examples.
Astel SDK Initialisation
Now you are ready to call the API and retrieve data.
Product Example
It retrieves all VOO Products and their full description, the commission and cashback associated and web links for product page, and the second example retrieves a single product : Voo One.
Discount Example:
It retrieves the 50 first active VOO discounts, order them by weight and retrives the associated recursive models: subscription_periods/product/commission and subscription_periods/product/web.
Supported Platforms
- PHP 7.0 or higher
How to contribute
All submissions are welcome. Fork the repository, read the rest of this README file and make some changes. Once you're done with your changes send a pull request. Thanks!
Need Help? Found a bug?
Just submit a issue if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.
Don't hesitate to contact Astel at [email protected] for more info or help for your integration.