This is example code for implement payment gateway with midtrans in PHP.
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
Licensed under MIT