https://github.com/xendit/checkout-demo-php
https://github.com/xendit/checkout-demo-php
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xendit/checkout-demo-php
- Owner: xendit
- Created: 2021-10-04T03:50:27.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-11T03:19:29.000Z (over 2 years ago)
- Last Synced: 2024-03-19T13:56:08.146Z (over 2 years ago)
- Language: PHP
- Size: 436 KB
- Stars: 2
- Watchers: 16
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## xendit-demo-2nativePHP
Vanilla PHP version of Xendit Demo
## Requirement
- PHP >= 7.3+
- Composer is required. Get composer from https://getcomposer.org/download/
## Installation
After cloning this repository, just do:
```bash
composer install
```
Copy .env.example file into .env the same directory
```bash
cp .env.example .env
```
Update the .env file you just copied for your own API_KEY.
Go to public directory then run the internal development server to try
```bash
cd src/public
php -S localhost:8080
```