Prerequisites: Lamp stack must be installed beforehand and functional phpmyadmin.
Clone this repository by git clone https://github.com/ZainulNiaz/PaymentGateway.git
cd PaymentGateway
-
Install composer using:
curl -s https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer
-
Install dependencies and dump-autoload:
composer install composer dump-autoload
-
Copy
config/sample.config.php
asconfig/config.php
and edit it accordingly:cp config/sample.config.php config/config.php # Edit the file using your mysql database credentials
-
Import schema present in
schema/schema.sql
in your database using phpmyadmin. -
Serve the public folder at any port (say 8000):
cd public php -S localhost:8000