Download the PHP package magictelecom/magictelecomapi without Composer

On this page you can find all versions of the php package magictelecom/magictelecomapi. 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 magictelecomapi

MagicTelecomAPILib

This API SDK was automatically generated by APIMATIC BETA v2.0

How To Configure:

The generated code might need to be configured with your API credentials. To do that, provide the credentials and configuration values as a constructor parameters for the controllers

How To Build:

The generated code uses a PHP library namely UniRest. The reference to this library is already added as a composer dependency in the generated composer.json file. Therefore, you will need internet access to resolve this dependency.

How To Use:

For using this SDK do the following:

1. Open a new PHP >= 5.3 project and copy the generated PHP files in the project
   directory.
2. Use composer to install the dependencies. Usually this can be done through a 
   context menu command "Instal (dev)".
3. Import classes from your file in your code where needed for example,
       use MagicTelecomAPILib\Controllers\UsersController;
4. You can now instantiate controllers and call the respective methods.

Magic SDK examples

1. Get all accounts

You can get a limit result using parameters like page, limit, and filters. Take a look to the API doc. Here you have an example.

2. Create an account

This is a full response example.

3. Get an account

If the account doesn't exist, you gonna get this message: Can't accomplish this action, exception: [Resource not found]

4. Update an account

If the account doesn't exist, you gonna get this message: Can't accomplish this action, exception: [Resource not found]

5. Delete an account

6. Get account access tokens

7. Create account access tokens list

8. Get an account access tokens

9. Update an account access tokens

10. Delete an account access tokens

11. Get the list of caller locations for an account

12. Create a caller locations for an account

13. Delete caller locations for an account

14. Get a caller locations for an account by Id

15. Update a caller locations for an account by Id

16. Delete a caller locations for an account by Id

17. Get the cart list for an account

18. Create a cart for an account

19. Delete all the cart for an account

20. Get a cart for an account by Id

21. Delete a cart for an account by Id

22. Create cart items

Creating a trunk item

Create Location Item

Create Did Item

Create Trunk Channels Item

23. Add an Item to cart

This is the full response (Trunk Item) example

24. Get the cart items list

25. Delete the cart items list

26. Get a cart item

27. Delete a cart item

28. Checkout a Cart

This is the full response (Checkout Cart) example

29. Get Order status

30. Get the list of cdr request for an account

31. Create a cdr for an account

32. Delete the list of cdr request for an account

33. Delete a cdr for an account by id

34. Get the list of numbers (Dids) for an account

35. Delete the list of numbers (Dids) for an account

36. Get a telephone number (Did) for an account

37. Update a telephone numbers (Dids) for an account

38. Delete a telephone numbers (Dids) for an account


All versions of magictelecomapi with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
apimatic/unirest-php Version dev-master
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 magictelecom/magictelecomapi contains the following files

Loading the files please wait ....