This is an unofficial example for implementing Omise-PHP Library.
Here is the live demo.
Run composer install to install all dependencies.
In config folder, rename .env-example to .env and set your Omise public and secret keys.
OMISE_PUBLIC_KEY=pkey_test_
OMISE_SECRET_KEY=skey_test_
- Run
php -S localhost:8080ordocker-compose up. - Open http://localhost:8080 on your browser.