2017 © Pedro Peláez
 

project payum-bundle-sandbox

Symfony2 application to play with PayumBundle.

image

payum/payum-bundle-sandbox

Symfony2 application to play with PayumBundle.

  • Tuesday, March 28, 2017
  • by makasim
  • Repository
  • 6 Watchers
  • 34 Stars
  • 725 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 30 Forks
  • 11 Open issues
  • 34 Versions
  • 0 % Grown

The README.md

Payum Bundle Sandbox

Welcome to the Payum Bundle Sandbox - a fully-functional Symfony2 application that you can use as the skeleton for your new applications., (*1)

This document contains information on how to download, install, and start using Payum Bundle., (*2)

For a more detailed explanation, see:, (*3)

1) Installation

First of all clone this repository on your local machine:, (*4)

git clone git@github.com:makasim/PayumBundleSandbox.git folder-name

As Symfony and PayumBundle uses [Composer][4] to manage its dependencies, now it's time to install them., (*5)

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*6)

curl -s http://getcomposer.org/installer | php

Then go to the folder where you downloaded the repository and symply run, (*7)

composer install

2) Checking your System Configuration

Before starting coding, make sure that your local system is properly configured for Symfony., (*8)

Execute the check.php script from the command line:, (*9)

php app/check.php

Warning:, (*10)

Don't forget to configure a payment gateway options in app/config/parameters.yml., (*11)

3) Configure the application

To make the images, css files and other files needed to display the web pages, you need to install them., (*12)

Run:, (*13)

app/console assets:install

In the folder web/bundles will be copied all the required files that are used to render the web pages., (*14)

Then create the database and its schema, (*15)

app/console doctrine:database:create && app/console doctrine:schema:update --force

4) Run the web server

To use the app, you have to run the php built-in webserver using the Symfony's command, (*16)

app/console server:start

5) Browsing the Demo Application

Congratulations! You're now using Symfony! :), (*17)

Go to http://127.0.0.1 and you will see the Symfony's Welcome Page that tells you, (*18)

Your application is now ready. You can start working on it at

Now you can start navigating the app., (*19)

Go to http://127.0.0.1:8000/demo/ and you will se a list of available demos created by Symfony itself., (*20)

To see the list of demos of payment gateways, instead, go to http://127.0.0.1:8000/payment., (*21)

The Versions