mymoid/api

MYMOID PHP SDK

v1.0.2 2024-04-29 08:54 UTC

This package is not auto-updated.

Last update: 2024-05-28 04:21:34 UTC


README

Latest Stable Version PHP Version Require

68747470733a2f2f6d796d6f69642d7374617469632e73332e616d617a6f6e6177732e636f6d2f696d616765732f6d796d6f69642d737569742f6d796d6f69645f6d2e737667

MYMOID PHP SDK Library

Documentation

Getting started

Installation

Prerequisites: Ensure PHP 8.1 or higher is installed on your system, if you have PHP 7 please follow the manually steps.
To install the SDK in your project, you need have installed Composer.

Command: Run the following Composer command:

composer require mymoid/api

Or, if you prefer, you could do it manually following these steps:

  1. Repository Cloning: Begin by cloning this repository to your local machine, if you have PHP 7 use this repository.

  2. Navigation: Enter the directory of the cloned repository using your command line interface of choice.

  3. Dependency Installation: Execute the command composer install to install all necessary dependencies.

Examples

  • Exploring Examples: Delve into the "examples" folder where a treasure trove of demonstration awaits.

  • Configuration: Each example file requires configuration of specific parameters. Dive into the code, tweak as needed, and ensure to save your changes.

  • Execution: Finally, unleash the power of the SDK by executing each example with the command php example_file_name.php. For instance, if you're looking to create a payment, invoke php createpayment.php. Don't forget, if you're at the root directory of the cloned repository, prepend /examples/ to the file name, like so: php /examples/createpayment.php.