Skip to content

mymoid/mymoid-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version PHP Version Require

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.