2017 © Pedro Peláez
 

library symfony-ext

Symfony framework extensions to Tradenity ecommerce SDK.

image

tradenity/symfony-ext

Symfony framework extensions to Tradenity ecommerce SDK.

  • Monday, November 14, 2016
  • by tradenity
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Welcome to Tradenity Symfony framework SDK extensions.

This extension library facilitates integration between Symphony framework based applications and PHP SDK for Tradenity ecommerce API., (*1)

Installation

This package is available through Packagist (PHP Package Index), to install it type the following on the command line:, (*2)

$ composer install tradenity/symfony-ext

Or, add this line to your application's composer.json:, (*3)

{
'tradenity/symfony-ext':"0.5.0"
}

And then execute:, (*4)

$ composer install

Dfine the required services:, (*5)

In app/config/services.yml:, (*6)


services: tradenity.session.service: class: Tradenity\SDK\Ext\Symfony\Services\SessionService arguments: ['@request_stack'] app.tradenity_customer_user_provider: class: Tradenity\SDK\Ext\Symfony\Auth\CustomerUserProvider

If you will use the provided authentication support, add this to your security encoders:, (*7)


encoders: Tradenity\SDK\Ext\Symfony\Auth\CustomerUser: algorithm: bcrypt cost: 10

Now you can add your credentials and start use the SDK services:, (*8)

In app/config/config.yml:, (*9)


parameters: tradenity_key: sk_xxxxxxxxxxxxxxxxxxxx stripe_public_key: pk_xxxxxxxxxxxxxxxx

Sample application

Working sample application code can be found here., (*10)

Documentation

Detailed documentation can be found on our knowledge base site:, (*11)

Contributing

  1. Fork it ( https://github.com/tradenity/php-sdk-symfony-ext/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

The Versions

14/11 2016

dev-master

9999999-dev

Symfony framework extensions to Tradenity ecommerce SDK.

  Sources   Download

The Requires

 

The Development Requires

14/11 2016

0.1.1

0.1.1.0

Symfony framework extensions to Tradenity ecommerce SDK.

  Sources   Download

The Requires

 

The Development Requires

12/11 2016

0.1.0

0.1.0.0

Symfony framework extensions to Tradenity ecommerce SDK.

  Sources   Download

The Requires

 

The Development Requires