antheiz / php-payment

Example - Payment with Midtrans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP - Payment with Midtrans

This is example code for implement payment gateway with midtrans in PHP.

🚀 Quickstart

Project setup

  • Clone this Project

    git clone https://github.com/antheiz/php-payment.git
  • Initialize Project

    composer init
  • Copy .env.example to .env and update with your midtrans credential

    cp .env.example .env

Run Project

  • You can run this project with command in below

    php -S localhost:3000

License

Licensed under MIT

About

Example - Payment with Midtrans

License:MIT License


Languages

Language:PHP 99.1%Language:Shell 0.9%