Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TPete committed Jun 3, 2015
0 parents commit de80a9c
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 0 deletions.
Empty file added .gitignore
Empty file.
9 changes: 9 additions & 0 deletions CheckdomainTeleCashBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace Checkdomain\TeleCashBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class CheckdomainTeleCashBundle extends Bundle
{
}
25 changes: 25 additions & 0 deletions DependencyInjection/CheckdomainTeleCashExtension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

namespace Checkdomain\TeleCashBundle\DependencyInjection;

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

/**
* Class CheckdomainTeleCashExtension
*/
class CheckdomainTeleCashExtension extends Extension
{

/**
* {@inheritDoc}
*/
public function load(array $configs, ContainerBuilder $container)
{
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
}

}
22 changes: 22 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Checkdomain\TeleCashBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

/**
* Configuration
*/
class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();

return $treeBuilder;
}
}
18 changes: 18 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright (c) 2015 checkdomain GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TeleCashBundle
=============

This Bundle only provides some default config to use the service from [checkdomain/tele-cash](https://github.com/checkdomain/TeleCash).

For details on the usage see [checkdomain/tele-cash](https://github.com/checkdomain/TeleCash).
14 changes: 14 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
parameters:
checkdomain.telecash.class: Checkdomain\TeleCash\TeleCash

services:
checkdomain.telecash.telecash:
class: %checkdomain.telecash.class%
arguments:
- %telecash_service_url%
- %telecash_api_user%
- %telecash_api_pass%
- %telecash_client_cert_path%
- %telecash_client_key_path%
- %telecash_client_key_pass_phrase%
- %telecash_server_cert%
25 changes: 25 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "checkdomain/tele-cash-bundle",
"description": "Checkdomain/TeleCashBundle provides a simple API to TeleCash API ",
"keywords": ["TeleCash", "symfony", "bundle"],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Torsten Petersdorf",
"email": "[email protected]",
"homepage": "http://checkdomain.de"
}
],
"require": {
"php": ">=5.4",
"checkdomain/telecash": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"autoload": {
"psr-0": { "Checkdomain\\TeleCashBundle": "" }
},
"target-dir": "Checkdomain/TeleCashBundle"
}

0 comments on commit de80a9c

Please sign in to comment.