Payment Gateway using MVC Framework in PHP.

Prerequisites: Lamp stack must be installed beforehand and functional phpmyadmin.

Clone this repository by git clone https://github.com/ZainulNiaz/PaymentGateway.git cd PaymentGateway

  1. Install composer using:

     curl -s https://getcomposer.org/installer | php
     sudo mv composer.phar /usr/local/bin/composer
  2. Install dependencies and dump-autoload:

     composer install
     composer dump-autoload
  3. Copy config/sample.config.php as config/config.php and edit it accordingly:

     cp config/sample.config.php config/config.php
    # Edit the file using your mysql database credentials
  4. Import schema present in schema/schema.sql in your database using phpmyadmin.

  5. Serve the public folder at any port (say 8000):

       cd public
     php -S localhost:8000