You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/05/03 14:28:46 UTC

[1/4] airavata-php-gateway git commit: Wrapping Identitiy Server Code as a Laravel package

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 71079c5f4 -> e3fce17c2


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/wsis_utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/wsis_utilities.php b/app/libraries/wsis_utilities.php
index fbf90f8..530fa52 100755
--- a/app/libraries/wsis_utilities.php
+++ b/app/libraries/wsis_utilities.php
@@ -1,65 +1,12 @@
 <?php
 
 require_once 'id_utilities.php';
-require_once 'WSISClient.php';
-
-//$GLOBALS['WSIS_ROOT'] = './lib/WSIS/';
-//require_once $GLOBALS['WSIS_ROOT'] . 'WSISClient.php';
 
 /**
  * Utilities for ID management with a WSO2 IS 4.6.0
  */
 
 class WSISUtilities implements IdUtilities{
-    /**
-     * wso2 IS client
-     * 
-     * @var WSISClient
-     * @access private
-     */
-    private $wsis_client;
-
-    /**
-     * Connect to the identity store.
-     * @return mixed|void
-     */
-    public function connect() { 
-   
-        $wsis_config = Utilities::read_config();    
-        if(substr($wsis_config['service-url'], -1) !== "/"){
-            $wsis_config['service-url'] = $wsis_config['service-url'] . "/";
-        }
-        
-        if(!substr($wsis_config['cafile-path'], 0) !== "/"){
-            $wsis_config['cafile-path'] = "/" . $wsis_config['cafile-path'];
-        }
-        $wsis_config['cafile-path'] = app_path() . $wsis_config['cafile-path'];            
-        
-        /*
-        if( Session::has("username"))
-        {
-            $username = Session::get("username");
-            $password = Session::get("password");
-        }
-        else
-        {
-            $username = $_POST["username"];
-            $password = $_POST["password"];
-        }
-        */
-        $username = $wsis_config['admin-username'];
-        $password = $wsis_config['admin-password'];
-        
-        $this->wsis_client = new WSISClient(
-                $username,
-                $password,
-                $wsis_config['server'],
-                $wsis_config['service-url'],
-                $wsis_config['cafile-path'],
-                $wsis_config['verify-peer'],
-                $wsis_config['allow-self-signed']
-        );    
-    }
 
     /**
      * Return true if the given username exists in the identity server.
@@ -69,7 +16,7 @@ class WSISUtilities implements IdUtilities{
     public function username_exists($username) {
         try{
             //$this->wsis_client = new WSISClient( $username);
-            return $this->wsis_client->username_exists($username);
+            return WSIS::username_exists($username);
         } catch (Exception $ex) {
             print_r( $ex);
             throw new Exception("Unable to check whether username exists", 0, NULL);
@@ -85,7 +32,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function authenticate($username, $password) {
         try{
-            return $this->wsis_client->authenticate($username, $password);
+            return WSIS::authenticate($username, $password);
         } catch (Exception $ex) {
             var_dump( $ex);
             throw new Exception("Unable to authenticate user", 0, NULL);
@@ -101,7 +48,7 @@ class WSISUtilities implements IdUtilities{
     public function add_user($username, $password, $first_name, $last_name, $email, $organization,
             $address, $country,$telephone, $mobile, $im, $url) {
         try{
-            $this->wsis_client->addUser($username, $password, $first_name . " " . $last_name);
+            WSIS::addUser($username, $password, $first_name . " " . $last_name);
         } catch (Exception $ex) {
             var_dump($ex);
             throw new Exception("Unable to add new user", 0, NULL);
@@ -195,7 +142,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function isExistingRole( $roleName){
         try{
-            return $this->wsis_client->is_existing_role( $roleName);
+            return WSIS::is_existing_role( $roleName);
         } catch (Exception $ex) {
             var_dump($ex);
             throw new Exception("Unable to check if role exists.", 0, $ex);
@@ -209,7 +156,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function addRole($roleName){
         try{
-            return $this->wsis_client->add_role( $roleName);
+            return WSIS::add_role( $roleName);
         } catch (Exception $ex) {
             var_dump( $ex);
             throw new Exception("Unable to add role.", 0, $ex);
@@ -225,7 +172,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function deleteRole($roleName) {
         try {
-            $this->wsis_client->delete_role($roleName);
+            WSIS::delete_role($roleName);
         } catch (Exception $ex) {
             throw new Exception("Unable to delete role", 0, $ex);
         }
@@ -239,7 +186,7 @@ class WSISUtilities implements IdUtilities{
     public function getRoleNames()
     {
         try{
-            return $this->wsis_client->get_all_roles();
+            WSIS::get_all_roles();
         } catch (Exception $ex) {
             var_dump($ex);
             throw new Exception("Unable to get roles.", 0, NULL);
@@ -255,7 +202,7 @@ class WSISUtilities implements IdUtilities{
     public function getRoleListOfUser($username)
     {
         try{
-            return $this->wsis_client->get_user_roles( $username);
+            return WSIS::get_user_roles( $username);
         } catch (Exception $ex) {
             var_dump($ex);
             throw new Exception("Unable to get roles.", 0, NULL);
@@ -271,7 +218,7 @@ class WSISUtilities implements IdUtilities{
     public function getUserListOfRole($role)
     {
         try{
-            return $this->wsis_client->get_userlist_of_role( $role);
+            return WSIS::get_userlist_of_role( $role);
         } catch (Exception $ex) {
             var_dump( $ex); exit;
             throw new Exception("Unable to get users.", 0, NULL);
@@ -307,7 +254,7 @@ class WSISUtilities implements IdUtilities{
     public function updateRoleListOfUser($username, $roles)
     {
         try{
-            return $this->wsis_client->update_user_roles( $username, $roles);
+            return WSIS::update_user_roles( $username, $roles);
         } catch (Exception $ex) {
             var_dump($ex); exit;
             throw new Exception("Unable to update User roles.", 0, NULL);
@@ -326,7 +273,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function listUsers(){
         try {
-            return $this->wsis_client->list_users();
+            return WSIS::list_users();
         } catch (Exception $ex) {
     
             throw new Exception( "Unable to list users", 0, $ex);
@@ -341,7 +288,7 @@ class WSISUtilities implements IdUtilities{
      */
     public function getTenantId(){
         try {
-            return $this->wsis_client->get_tenant_id();
+            return WSIS::get_tenant_id();
         } catch (Exception $ex) {
             var_dump( $ex->debug_message); 
             throw new Exception("Unable to get the Tenant Id.", 0, $ex);
@@ -355,10 +302,19 @@ class WSISUtilities implements IdUtilities{
     */
     public function createTenant( $inputs){
         try {
-            return $this->wsis_client->create_tenant( $inputs);
+            return WSIS::create_tenant( $inputs);
         } catch (Exception $ex) {
             var_dump( $ex); 
             //throw new Exception("Unable to create Tenant.", 0, $ex);
         }
     }
+
+    /**
+     * Connect to the user database.
+     * @return mixed|void
+     */
+    public function connect()
+    {
+        // TODO: Implement connect() method.
+    }
 }

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/xml_id_utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/xml_id_utilities.php b/app/libraries/xml_id_utilities.php
index 6b54767..0ba9760 100755
--- a/app/libraries/xml_id_utilities.php
+++ b/app/libraries/xml_id_utilities.php
@@ -249,4 +249,46 @@ class XmlIdUtilities implements IdUtilities
     {
         // TODO: Implement removeUserFromRole() method.
     }
+
+    /**
+     * Function to get the entire list of roles in the application
+     *
+     * @return mixed
+     */
+    public function getRoleNames()
+    {
+        // TODO: Implement getRoleNames() method.
+    }
+
+    /**
+     * Function to check whether a role is existing
+     *
+     * @param string $roleName
+     * @return IsExistingRoleResponse
+     */
+    public function isExistingRole($roleName)
+    {
+        // TODO: Implement isExistingRole() method.
+    }
+
+    /**
+     * Function to add new role by providing the role name.
+     *
+     * @param string $roleName
+     */
+    public function addRole($roleName)
+    {
+        // TODO: Implement addRole() method.
+    }
+
+    /**
+     * Function to update role list of user
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function updateRoleListOfUser($username, $roles)
+    {
+        // TODO: Implement updateRoleListOfUser() method.
+    }
 }

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/.gitignore
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/.gitignore b/workbench/airavata/wsis/.gitignore
new file mode 100755
index 0000000..5826402
--- /dev/null
+++ b/workbench/airavata/wsis/.gitignore
@@ -0,0 +1,4 @@
+/vendor
+composer.phar
+composer.lock
+.DS_Store

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/.travis.yml
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/.travis.yml b/workbench/airavata/wsis/.travis.yml
new file mode 100755
index 0000000..f60bbe0
--- /dev/null
+++ b/workbench/airavata/wsis/.travis.yml
@@ -0,0 +1,13 @@
+language: php
+
+php:
+  - 5.4
+  - 5.5
+  - 5.6
+  - hhvm
+
+before_script:
+  - travis_retry composer self-update
+  - travis_retry composer install --prefer-source --no-interaction --dev
+
+script: phpunit

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/composer.json
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/composer.json b/workbench/airavata/wsis/composer.json
new file mode 100755
index 0000000..2af236e
--- /dev/null
+++ b/workbench/airavata/wsis/composer.json
@@ -0,0 +1,20 @@
+{
+    "name": "airavata/wsis",
+    "description": "",
+    "authors": [
+        {
+            "name": "Apache Airavata",
+            "email": "dev@airavata.apache.org"
+        }
+    ],
+    "require": {
+        "php": ">=5.4.0",
+        "illuminate/support": "4.2.*"
+    },
+    "autoload": {
+        "psr-0": {
+            "Airavata\\Wsis": "src/"
+        }
+    },
+    "minimum-stability": "stable"
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/phpunit.xml
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/phpunit.xml b/workbench/airavata/wsis/phpunit.xml
new file mode 100755
index 0000000..3347b75
--- /dev/null
+++ b/workbench/airavata/wsis/phpunit.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit backupGlobals="false"
+         backupStaticAttributes="false"
+         bootstrap="vendor/autoload.php"
+         colors="true"
+         convertErrorsToExceptions="true"
+         convertNoticesToExceptions="true"
+         convertWarningsToExceptions="true"
+         processIsolation="false"
+         stopOnFailure="false"
+         syntaxCheck="false"
+>
+    <testsuites>
+        <testsuite name="Package Test Suite">
+            <directory suffix=".php">./tests/</directory>
+        </testsuite>
+    </testsuites>
+</phpunit>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Facades/Wsis.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Facades/Wsis.php b/workbench/airavata/wsis/src/Airavata/Wsis/Facades/Wsis.php
new file mode 100755
index 0000000..d89bc7c
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Facades/Wsis.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Airavata\Wsis\Facades;
+
+use Illuminate\Support\Facades\Facade;
+
+class Wsis extends Facade {
+
+    /**
+     * Get the registered name of the component.
+     *
+     * @return string
+     */
+    protected static function getFacadeAccessor() { return 'wsis'; }
+
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantManager.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantManager.php b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantManager.php
new file mode 100755
index 0000000..90bcd3f
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantManager.php
@@ -0,0 +1,139 @@
+<?php
+namespace Airavata\Wsis\Stubs;
+
+use Airavata\Wsis\Stubs\TenantMgtAdminStub;
+
+/**
+ * TenantManager class
+ * 
+ * This class provide an easy to use interface for
+ * WSO2 IS 5.0.0 TenantMgtAdmin service.
+ */
+class TenantManager {
+    /**
+     * @var TenantMgtAdminStub $serviceStub
+     * @access private
+     */
+    private $serviceStub;
+
+    public function __construct($server_url, $options) {
+        $this->serviceStub = new TenantMgtAdminStub(
+                $server_url . "TenantMgtAdminService?wsdl", $options
+        );
+    }
+    
+    /**
+     * Function to get the soap client
+     * 
+     * @return SoapClient
+     */
+    public function getSoapClient(){
+        return $this->serviceStub;
+    }
+
+    /**
+     * Method to retrieve all  tenant information. Some tenant information
+     * such as admin name are not returned by wso2 IS
+     * @return mixed
+     */
+    public function retrieveTenants(){
+        $parameters = new retrieveTenants();
+        return $this->serviceStub->retrieveTenants($parameters)->return;
+    }
+
+    /**
+     * Method to get tenant information giving tenant domain
+     * @param $domain domain of the tenant
+     * @return mixed
+     */
+    public function getTenant($domain){
+        $parameters = new getTenant();
+        $parameters->tenantDomain = $domain;
+        return $this->serviceStub->getTenant($parameters)->return;
+    }
+
+    /**
+     * Method to create a new tenant
+     * @param $active whether tenant active or not
+     * @param $adminUsername
+     * @param $adminPassword
+     * @param $email
+     * @param $firstName Admin's first name
+     * @param $lastName Admin's last name
+     * @param $tenantDomain
+     */
+    public function addTenant($active, $adminUsername, $adminPassword, $email,
+                              $firstName, $lastName, $tenantDomain){
+        $tenantInfoBean = new TenantInfoBean();
+        $tenantInfoBean->active = $active;
+        $tenantInfoBean->admin = $adminUsername;
+        $tenantInfoBean->adminPassword = $adminPassword;
+        $tenantInfoBean->email = $email;
+        $tenantInfoBean->firstName = $firstName;
+        $tenantInfoBean->lastName = $lastName;
+        $tenantInfoBean->tenantDomain = $tenantDomain;
+
+        $addTenant  = new addTenant();
+        $addTenant->tenantInfoBean = $tenantInfoBean;
+        $this->serviceStub->addTenant($addTenant);
+    }
+
+    /**
+     * Method to remove an existing tenant giving tenant domain
+     * @param $tenantDomain
+     */
+    public function deleteTenant($tenantDomain){
+        $parameters = new deleteTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->deleteTenant($parameters);
+    }
+
+    /**
+     * Method to activate a tenant
+     * @param $tenantDomain
+     */
+    public function activateTenant($tenantDomain){
+        $parameters = new activateTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->activateTenant($parameters);
+    }
+
+    /**
+     * Method to deactivate a tenant
+     * @param $tenantDomain
+     */
+    public function deactivateTenant($tenantDomain){
+        $parameters = new deactivateTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->deactivateTenant($parameters);
+    }
+
+    /**
+     * Method to update an existing tenant
+     * @param $tenantId
+     * @param $active
+     * @param $adminUsername
+     * @param $adminPassword
+     * @param $email
+     * @param $firstName
+     * @param $lastName
+     * @param $tenantDomain
+     */
+    public function updateTenant($tenantId, $active, $adminUsername, $adminPassword, $email,
+                              $firstName, $lastName, $tenantDomain){
+        $tenantInfoBean = new TenantInfoBean();
+        $tenantInfoBean->tenantId = $tenantId;
+        $tenantInfoBean->active = $active;
+        $tenantInfoBean->admin = $adminUsername;
+        $tenantInfoBean->adminPassword = $adminPassword;
+        $tenantInfoBean->email = $email;
+        $tenantInfoBean->firstName = $firstName;
+        $tenantInfoBean->lastName = $lastName;
+        $tenantInfoBean->tenantDomain = $tenantDomain;
+
+        $updateTenant  = new updateTenant();
+        $updateTenant->tenantInfoBean = $tenantInfoBean;
+        $this->serviceStub->updateTenant($updateTenant);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantMgtAdminStub.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantMgtAdminStub.php b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantMgtAdminStub.php
new file mode 100755
index 0000000..70dca16
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/TenantMgtAdminStub.php
@@ -0,0 +1,306 @@
+<?php
+namespace Airavata\Wsis\Stubs;
+use SoapClient;
+/**
+ * This file contains the DTOs and the method stubs for
+ * WSO2 IS 5.0.0 TenantMgtAdmin service.
+ */
+class TenantMgtAdminServiceException {
+  public $TenantMgtAdminServiceException; // Exception
+}
+
+
+class deleteTenant {
+  public $tenantDomain; // string
+}
+
+class updateTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addTenantResponse {
+  public $return; // string
+}
+
+class activateTenant {
+  public $tenantDomain; // string
+}
+
+class deactivateTenant {
+  public $tenantDomain; // string
+}
+
+class getTenant {
+  public $tenantDomain; // string
+}
+
+class getTenantResponse {
+  public $return; // TenantInfoBean
+}
+
+class retrievePaginatedTenants {
+  public $pageNumber; // int
+}
+
+class retrievePaginatedTenantsResponse {
+  public $return; // PaginatedTenantInfoBean
+}
+
+class retrieveTenants {
+}
+
+class retrieveTenantsResponse {
+  public $return; // TenantInfoBean
+}
+
+class retrievePartialSearchTenants {
+  public $domain; // string
+}
+
+class retrievePartialSearchTenantsResponse {
+  public $return; // TenantInfoBean
+}
+
+class addSkeletonTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addSkeletonTenantResponse {
+  public $return; // string
+}
+
+class retrievePaginatedPartialSearchTenants {
+  public $domain; // string
+  public $pageNumber; // int
+}
+
+class retrievePaginatedPartialSearchTenantsResponse {
+  public $return; // PaginatedTenantInfoBean
+}
+
+class TenantInfoBean {
+  public $active; // boolean
+  public $admin; // string
+  public $adminPassword; // string
+  public $createdDate; // dateTime
+  public $email; // string
+  public $firstname; // string
+  public $lastname; // string
+  public $originatedService; // string
+  public $successKey; // string
+  public $tenantDomain; // string
+  public $tenantId; // int
+  public $usagePlan; // string
+}
+
+class PaginatedTenantInfoBean {
+  public $numberOfPages; // int
+  public $tenantInfoBeans; // TenantInfoBean
+}
+
+
+/**
+ * TenantMgtAdminStub class
+ * 
+ *  
+ * 
+ * @author    {author}
+ * @copyright {copyright}
+ * @package   {package}
+ */
+class TenantMgtAdminStub extends SoapClient {
+
+  private static $classmap = array(
+                                    'TenantMgtAdminServiceException' => 'TenantMgtAdminServiceException',
+                                    'deleteTenant' => 'deleteTenant',
+                                    'updateTenant' => 'updateTenant',
+                                    'addTenant' => 'addTenant',
+                                    'addTenantResponse' => 'addTenantResponse',
+                                    'activateTenant' => 'activateTenant',
+                                    'deactivateTenant' => 'deactivateTenant',
+                                    'getTenant' => 'getTenant',
+                                    'getTenantResponse' => 'getTenantResponse',
+                                    'retrievePaginatedTenants' => 'retrievePaginatedTenants',
+                                    'retrievePaginatedTenantsResponse' => 'retrievePaginatedTenantsResponse',
+                                    'retrieveTenants' => 'retrieveTenants',
+                                    'retrieveTenantsResponse' => 'retrieveTenantsResponse',
+                                    'retrievePartialSearchTenants' => 'retrievePartialSearchTenants',
+                                    'retrievePartialSearchTenantsResponse' => 'retrievePartialSearchTenantsResponse',
+                                    'addSkeletonTenant' => 'addSkeletonTenant',
+                                    'addSkeletonTenantResponse' => 'addSkeletonTenantResponse',
+                                    'retrievePaginatedPartialSearchTenants' => 'retrievePaginatedPartialSearchTenants',
+                                    'retrievePaginatedPartialSearchTenantsResponse' => 'retrievePaginatedPartialSearchTenantsResponse',
+                                    'TenantInfoBean' => 'TenantInfoBean',
+                                    'PaginatedTenantInfoBean' => 'PaginatedTenantInfoBean',
+                                   );
+
+  public function TenantMgtAdminStub($wsdl, $options = array()) {
+    foreach(self::$classmap as $key => $value) {
+      if(!isset($options['classmap'][$key])) {
+        $options['classmap'][$key] = $value;
+      }
+    }
+    parent::__construct($wsdl, $options);
+  }
+
+  /**
+   *  
+   *
+   * @param retrieveTenants $parameters
+   * @return retrieveTenantsResponse
+   */
+  public function retrieveTenants(retrieveTenants $parameters) {
+    return $this->__soapCall('retrieveTenants', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param getTenant $parameters
+   * @return getTenantResponse
+   */
+  public function getTenant(getTenant $parameters) {
+    return $this->__soapCall('getTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param deactivateTenant $parameters
+   * @return void
+   */
+  public function deactivateTenant(deactivateTenant $parameters) {
+    return $this->__soapCall('deactivateTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePartialSearchTenants $parameters
+   * @return retrievePartialSearchTenantsResponse
+   */
+  public function retrievePartialSearchTenants(retrievePartialSearchTenants $parameters) {
+    return $this->__soapCall('retrievePartialSearchTenants', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePaginatedTenants $parameters
+   * @return retrievePaginatedTenantsResponse
+   */
+  public function retrievePaginatedTenants(retrievePaginatedTenants $parameters) {
+    return $this->__soapCall('retrievePaginatedTenants', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param updateTenant $parameters
+   * @return void
+   */
+  public function updateTenant(updateTenant $parameters) {
+    return $this->__soapCall('updateTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param addSkeletonTenant $parameters
+   * @return addSkeletonTenantResponse
+   */
+  public function addSkeletonTenant(addSkeletonTenant $parameters) {
+    return $this->__soapCall('addSkeletonTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param addTenant $parameters
+   * @return addTenantResponse
+   */
+  public function addTenant(addTenant $parameters) {
+    return $this->__soapCall('addTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePaginatedPartialSearchTenants $parameters
+   * @return retrievePaginatedPartialSearchTenantsResponse
+   */
+  public function retrievePaginatedPartialSearchTenants(retrievePaginatedPartialSearchTenants $parameters) {
+    return $this->__soapCall('retrievePaginatedPartialSearchTenants', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param activateTenant $parameters
+   * @return void
+   */
+  public function activateTenant(activateTenant $parameters) {
+    return $this->__soapCall('activateTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param deleteTenant $parameters
+   * @return void
+   */
+  public function deleteTenant(deleteTenant $parameters) {
+    return $this->__soapCall('deleteTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+}
+
+?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManager.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManager.php b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManager.php
new file mode 100755
index 0000000..b1b013e
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManager.php
@@ -0,0 +1,203 @@
+<?php
+namespace Airavata\Wsis\Stubs;
+
+use Airavata\Wsis\Stubs\UserStoreManagerStub;
+
+/**
+ * UsersStoreManager class
+ * 
+ * This class provide an easy to use interface for
+ * WSO2 IS 5.0.0 RemoteUserStoreManager service.
+ */
+class UserStoreManager {
+    /**
+     * @var RemoteUserManagerStub $serviceStub
+     * @access private
+     */
+    private $serviceStub;
+
+    public function __construct($server_url, $options) {
+        $this->serviceStub = new UserStoreManagerStub(
+                $server_url . "RemoteUserStoreManagerService?wsdl", $options
+        );
+    }
+    
+    /**
+     * Function to get the soap client
+     * 
+     * @return SoapClient
+     */
+    public function getSoapClient(){
+        return $this->serviceStub;
+    }
+    
+    /**
+     * Function to authenticate the user with RemoteUserStoreManager Service
+     * @param type $username
+     * @param type $password
+     */
+    public function authenticate($username, $password){
+        $parameters = new Authenticate();
+        $parameters->userName = $username;
+        $parameters->credential = $password;        
+        return $this->serviceStub->authenticate($parameters)->return;
+    }
+    
+    /**
+     * Function to add new user by providing username and password
+     * 
+     * @param type $userName
+     * @param type $password
+     */
+    public function addUser($userName, $password, $fullName){
+        $parameters = new AddUser();
+        $parameters->userName = $userName;
+        $parameters->credential = $password;
+        $parameters->claims = null;
+        $parameters->profileName = $fullName;
+        $parameters->requirePasswordChange = false;
+        $parameters->roleList = null;
+        $this->serviceStub->addUser($parameters);
+    }
+    /**
+     * Function to delete existing user by providing the username.
+     * 
+     * @param string $username
+     */
+    public function deleteUser($username){
+        $parameters = new DeleteUser();
+        $parameters->userName = $username;
+        $this->serviceStub->deleteUser($parameters);
+    }
+    
+    /**
+     * Function to check whether a role is existing 
+     *
+     * @param string $roleName 
+     * @return IsExistingRoleResponse
+     */
+    public function isExistingRole( $roleName) {
+        $parameters = new IsExistingRole();
+        $parameters->roleName = $roleName;
+        $this->serviceStub->isExistingRole( $parameters)->return;
+    }
+    /**
+     * Function to add new role by providing the role name.
+     * 
+     * @param string $roleName
+     */
+    public function addRole($roleName){
+        $paramerters = new AddRole();
+        $paramerters->roleName=$roleName;
+        $paramerters->userList=null;
+        $paramerters->permissions=null;
+        $this->serviceStub->addRole($paramerters);
+    }
+    
+    /**
+     * Function to delete an existing role
+     * 
+     * @param string $roleName
+     */
+    public function deleteRole($roleName){
+        $parameters = new DeleteRole();
+        $parameters->roleName = $roleName;
+        $this->serviceStub->deleteRole($parameters);
+    }
+    
+    /**
+     * Function to get a list of users
+     * 
+     * @return username list
+     */
+    public function listUsers(){
+        $parameters = new ListUsers();
+        $parameters->filter = "*";
+        $parameters->maxItemLimit = -1;
+        
+        return $this->serviceStub->listUsers($parameters)->return;
+    }
+
+     /**
+     * Function get user list
+     *
+     * @param GetUserList $parameters
+     * @return GetUserListResponse
+     */
+     public function getUserList(){
+        $parameters = new GetUserList();
+    }
+
+        
+    /**
+     * Function to check whether the given username already exists
+     * 
+     * @param string $username
+     * @return boolean
+     */
+    public function isExistingUser($username) {
+        $parameters = new IsExistingUser();
+        $parameters->userName = $username;
+        
+        return $this->serviceStub->isExistingUser($parameters)->return;
+    }
+
+    /**
+    * Function to get the list of all existing roles
+    *
+    * @return roles list
+    */
+    public function getRoleNames( $parameters = null){
+        $parameters = new GetRoleNames();
+        return $this->serviceStub->getRoleNames( $parameters)->return;
+    }
+
+    /**
+    * Function to get role of a user
+    *
+    * @return User Role
+    */
+    public function getRoleListOfUser( $username){
+        $parameters = new GetRoleListOfUser();
+        $parameters->userName = $username;
+        return $this->serviceStub->GetRoleListOfUser( $parameters)->return;
+    }
+
+    /**
+     * Function to get the user list of role
+     *
+     * @param GetUserListOfRole $parameters
+     * @return GetUserListOfRoleResponse
+     */
+    public function getUserListOfRole( $roleName){
+        $parameters = new GetUserListOfRole();
+        $parameters->roleName = $roleName;
+        return $this->serviceStub->getUserListOfRole( $parameters);
+    }
+    
+    /**
+     * Function to update role list of user 
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function updateRoleListOfUser( $username, $roles){
+        $parameters = new UpdateRoleListOfUser();
+        $parameters->userName = $username;
+        $parameters->deletedRoles = $roles["deleted"];
+        $parameters->newRoles = $roles["new"];
+        return $this->serviceStub->updateRoleListOfUser( $parameters);
+    }
+
+    /**
+     * Function to get the tenant id
+     *
+     * @param GetTenantId $parameters
+     * @return GetTenantIdResponse
+     */
+    public function getTenantId(){
+        $parameters = new GetTenantId();
+
+        return $this->serviceStub->getTenantId( $parameters);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManagerStub.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManagerStub.php b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManagerStub.php
new file mode 100755
index 0000000..c43fa48
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Stubs/UserStoreManagerStub.php
@@ -0,0 +1,1570 @@
+<?php
+namespace Airavata\Wsis\Stubs;
+use SoapClient;
+
+/**
+ * This file contains the DTOs and the method stubs for
+ * WSO2 IS 4.6.0 RemoteUserStoreManger service.
+ */
+
+class ClaimDTO {
+
+    /**
+     * @var string $claimUri
+     * @access public
+     */
+    public $claimUri;
+
+    /**
+     * @var string $description
+     * @access public
+     */
+    public $description;
+
+    /**
+     * @var string $dialectURI
+     * @access public
+     */
+    public $dialectURI;
+
+    /**
+     * @var int $displayOrder
+     * @access public
+     */
+    public $displayOrder;
+
+    /**
+     * @var string $displayTag
+     * @access public
+     */
+    public $displayTag;
+
+    /**
+     * @var string $regEx
+     * @access public
+     */
+    public $regEx;
+
+    /**
+     * @var boolean $required
+     * @access public
+     */
+    public $required;
+
+    /**
+     * @var boolean $supportedByDefault
+     * @access public
+     */
+    public $supportedByDefault;
+
+    /**
+     * @var string $value
+     * @access public
+     */
+    public $value;
+
+}
+
+class PermissionDTO {
+
+    /**
+     * @var string $action
+     * @access public
+     */
+    public $action;
+
+    /**
+     * @var string $resourceId
+     * @access public
+     */
+    public $resourceId;
+
+}
+
+class Tenant {
+
+    /**
+     * @var boolean $active
+     * @access public
+     */
+    public $active;
+
+    /**
+     * @var string $adminFirstName
+     * @access public
+     */
+    public $adminFirstName;
+
+    /**
+     * @var string $adminFullName
+     * @access public
+     */
+    public $adminFullName;
+
+    /**
+     * @var string $adminLastName
+     * @access public
+     */
+    public $adminLastName;
+
+    /**
+     * @var string $adminName
+     * @access public
+     */
+    public $adminName;
+
+    /**
+     * @var string $adminPassword
+     * @access public
+     */
+    public $adminPassword;
+
+    /**
+     * @var string $createdDate YYYY-MM-DD
+     * @access public
+     */
+    public $createdDate;
+
+    /**
+     * @var string $domain
+     * @access public
+     */
+    public $domain;
+
+    /**
+     * @var string $email
+     * @access public
+     */
+    public $email;
+
+    /**
+     * @var int $id
+     * @access public
+     */
+    public $id;
+
+    /**
+     * @var RealmConfiguration $realmConfig
+     * @access public
+     */
+    public $realmConfig;
+
+}
+
+class RealmConfiguration {
+
+    /**
+     * @var string $addAdmin
+     * @access public
+     */
+    public $addAdmin;
+
+    /**
+     * @var string $adminPassword
+     * @access public
+     */
+    public $adminPassword;
+
+    /**
+     * @var string $adminRoleName
+     * @access public
+     */
+    public $adminRoleName;
+
+    /**
+     * @var string $adminUserName
+     * @access public
+     */
+    public $adminUserName;
+
+    /**
+     * @var string $authorizationManagerClass
+     * @access public
+     */
+    public $authorizationManagerClass;
+
+    /**
+     * @var string $authzProperties
+     * @access public
+     */
+    public $authzProperties;
+
+    /**
+     * @var string $description
+     * @access public
+     */
+    public $description;
+
+    /**
+     * @var string $everyOneRoleName
+     * @access public
+     */
+    public $everyOneRoleName;
+
+    /**
+     * @var string $multipleCredentialProps
+     * @access public
+     */
+    public $multipleCredentialProps;
+
+    /**
+     * @var boolean $passwordsExternallyManaged
+     * @access public
+     */
+    public $passwordsExternallyManaged;
+
+    /**
+     * @var string $persistedTimestamp YYYY-MM-DD
+     * @access public
+     */
+    public $persistedTimestamp;
+
+    /**
+     * @var boolean $primary
+     * @access public
+     */
+    public $primary;
+
+    /**
+     * @var string $realmClassName
+     * @access public
+     */
+    public $realmClassName;
+
+    /**
+     * @var string $realmProperties
+     * @access public
+     */
+    public $realmProperties;
+
+    /**
+     * @var RealmConfiguration $secondaryRealmConfig
+     * @access public
+     */
+    public $secondaryRealmConfig;
+
+    /**
+     * @var int $tenantId
+     * @access public
+     */
+    public $tenantId;
+
+    /**
+     * @var string $userStoreClass
+     * @access public
+     */
+    public $userStoreClass;
+
+    /**
+     * @var string $userStoreProperties
+     * @access public
+     */
+    public $userStoreProperties;
+
+}
+
+class ClaimValue {
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $value
+     * @access public
+     */
+    public $value;
+
+}
+
+class AddUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesForClaims {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesForClaimsResponse {
+
+    /**
+     * @var ClaimValue $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetTenantIdofUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetTenantIdofUserResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return; // int
+
+}
+
+class AddUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesResponse {
+
+    /**
+     * @var ClaimDTO $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetTenantId {
+    
+}
+
+class GetTenantIdResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class AddUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $credential
+     * @access public
+     */
+    public $credential;
+
+    /**
+     * @var string $roleList
+     * @access public
+     */
+    public $roleList;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+    /**
+     * @var boolean $requiredPasswordChange
+     * @access public
+     */
+    public $requirePasswordChange;
+
+}
+
+class AddRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $userList
+     * @access public
+     */
+    public $userList;
+
+    /**
+     * @var PermissionDTO $permissions
+     * @access public
+     */
+    public $permissions;
+
+}
+
+class GetUserList {
+
+    /**
+     * @var string $claimUri
+     * @access public
+     */
+    public $claimUri;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profile
+     * @access public
+     */
+    public $profile;
+
+}
+
+class GetUserListResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateCredential {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $newCredential
+     * @access public
+     */
+    public $newCredential;
+
+    /**
+     * @var string $oldCredential
+     * @access public
+     */
+    public $oldCredential;
+
+}
+
+class UpdateUserListOfRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $deletedUsers
+     * @access public
+     */
+    public $deletedUsers;
+
+    /**
+     * @var string $newUsers
+     * @access public
+     */
+    public $newUsers;
+
+}
+
+class UpdateRoleListOfUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $deletedRoles
+     * @access public
+     */
+    public $deletedRoles;
+
+    /**
+     * @var string $newRoles
+     * @access public
+     */
+    public $newRoles;
+
+}
+
+class SetUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class SetUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class DeleteUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class DeleteUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetHybridRoles {
+    
+}
+
+class GetHybridRolesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetPasswordExpirationTime {
+
+    /**
+     * @var string $username
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetPasswordExpirationTimeResponse {
+
+    /**
+     * @var long $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateRoleName {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $newRoleName
+     * @access public
+     */
+    public $newRoleName;
+
+}
+
+class ListUsers {
+
+    /**
+     * @var string $filter
+     * @access public
+     */
+    public $filter;
+
+    /**
+     * @var int $maxItemLimit
+     * @access public
+     */
+    public $maxItemLimit;
+
+}
+
+class ListUsersResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsExistingUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class IsExistingUserResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsExistingRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class IsExistingRoleResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetRoleNames {
+    
+}
+
+class GetRoleNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetProfileNames {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class GetProfileNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetUserListOfRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class GetUserListOfRoleResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claim
+     * @access public
+     */
+    public $claim;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValueResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetAllProfileNames {
+    
+}
+
+class GetAllProfileNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateCredentialByAdmin {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $newCredential
+     * @access public
+     */
+    public $newCredential;
+
+}
+
+class DeleteUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class DeleteRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class GetUserId {
+
+    /**
+     * @var string $username
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetUserIdResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetRoleListOfUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class getRoleListOfUserResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetProperties {
+
+    /**
+     * @var Tenant $tenant
+     * @access public
+     */
+    public $tenant;
+
+}
+
+class GetPropertiesResponse {
+
+    /**
+     * @var Array<string> $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsReadOnly {
+    
+}
+
+class IsReadOnlyResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class Authenticate {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $credential
+     * @access public
+     */
+    public $credential;
+
+}
+
+class AuthenticateResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UserStoreException {
+    
+}
+
+/**
+ * UserStoreManagerService class
+ * 
+ */
+class UserStoreManagerStub extends SoapClient {
+
+    private static $classmap = array(
+        'ClaimDTO' => 'ClaimDTO',
+        'PermissionDTO' => 'PermissionDTO',
+        'Tenant' => 'Tenant',
+        'RealmConfiguration' => 'RealmConfiguration',
+        'ClaimValue' => 'ClaimValue',
+        'addUserClaimValues' => 'AddUserClaimValues',
+        'getUserClaimValuesForClaims' => 'GetUserClaimValuesForClaims',
+        'getUserClaimValuesForClaimsResponse' => 'GetUserClaimValuesForClaimsResponse',
+        'getTenantIdofUser' => 'GetTenantIdofUser',
+        'getTenantIdofUserResponse' => 'GetTenantIdofUserResponse',
+        'addUserClaimValue' => 'AddUserClaimValue',
+        'getUserClaimValues' => 'GetUserClaimValues',
+        'getUserClaimValuesResponse' => 'GetUserClaimValuesResponse',
+        'getTenantId' => 'GetTenantId',
+        'getTenantIdResponse' => 'GetTenantIdResponse',
+        'addUser' => 'AddUser',
+        'addRole' => 'AddRole',
+        'getUserList' => 'GetUserList',
+        'getUserListResponse' => 'GetUserListResponse',
+        'updateCredential' => 'UpdateCredential',
+        'updateUserListOfRole' => 'UpdateUserListOfRole',
+        'updateRoleListOfUser' => 'UpdateRoleListOfUser',
+        'setUserClaimValue' => 'SetUserClaimValue',
+        'setUserClaimValues' => 'SetUserClaimValues',
+        'deleteUserClaimValue' => 'DeleteUserClaimValue',
+        'deleteUserClaimValues' => 'DeleteUserClaimValues',
+        'getHybridRoles' => 'GetHybridRoles',
+        'getHybridRolesResponse' => 'GetHybridRolesResponse',
+        'getPasswordExpirationTime' => 'GetPasswordExpirationTime',
+        'getPasswordExpirationTimeResponse' => 'GetPasswordExpirationTimeResponse',
+        'updateRoleName' => 'UpdateRoleName',
+        'listUsers' => 'ListUsers',
+        'listUsersResponse' => 'ListUsersResponse',
+        'isExistingUser' => 'IsExistingUser',
+        'isExistingUserResponse' => 'IsExistingUserResponse',
+        'isExistingRole' => 'IsExistingRole',
+        'isExistingRoleResponse' => 'IsExistingRoleResponse',
+        'getRoleNames' => 'GetRoleNames',
+        'getRoleNamesResponse' => 'GetRoleNamesResponse',
+        'getProfileNames' => 'GetProfileNames',
+        'getProfileNamesResponse' => 'GetProfileNamesResponse',
+        'getUserListOfRole' => 'GetUserListOfRole',
+        'getUserListOfRoleResponse' => 'GetUserListOfRoleResponse',
+        'getUserClaimValue' => 'GetUserClaimValue',
+        'getUserClaimValueResponse' => 'GetUserClaimValueResponse',
+        'getAllProfileNames' => 'GetAllProfileNames',
+        'getAllProfileNamesResponse' => 'GetAllProfileNamesResponse',
+        'updateCredentialByAdmin' => 'UpdateCredentialByAdmin',
+        'deleteUser' => 'DeleteUser',
+        'deleteRole' => 'DeleteRole',
+        'getUserId' => 'GetUserId',
+        'getUserIdResponse' => 'GetUserIdResponse',
+        'getRoleListOfUser' => 'GetRoleListOfUser',
+        'getRoleListOfUserResponse' => 'GetRoleListOfUserResponse',
+        'getProperties' => 'GetProperties',
+        'getPropertiesResponse' => 'GetPropertiesResponse',
+        'isReadOnly' => 'IsReadOnly',
+        'isReadOnlyResponse' => 'IsReadOnlyResponse',
+        'authenticate' => 'Authenticate',
+        'authenticateResponse' => 'AuthenticateResponse',
+        'Tenant' => 'Tenant'
+    );
+
+    public function RemoteUserStoreManagerStub($wsdl, $options = array()) {
+        foreach (self::$classmap as $key => $value) {
+            if (!isset($options['classmap'][$key])) {
+                $options['classmap'][$key] = $value;
+            }
+        }
+        parent::__construct($wsdl, $options);
+    }
+
+    /**
+     * Function to authenticate 
+     *
+     * @param Authenticate $parameters
+     * @return AuthenticateResponse
+     */
+    public function authenticate(Authenticate $parameters) {
+        return $this->__soapCall('authenticate', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function get user list
+     *
+     * @param GetUserList $parameters
+     * @return GetUserListResponse
+     */
+    public function getUserList(GetUserList $parameters) {
+        return $this->__soapCall('getUserList', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the user claim value
+     *
+     * @param GetUserClaimValue $parameters
+     * @return GetUserClaimValueResponse
+     */
+    public function getUserClaimValue(GetUserClaimValue $parameters) {
+        return $this->__soapCall('getUserClaimValue', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the user list of role
+     *
+     * @param GetUserListOfRole $parameters
+     * @return GetUserListOfRoleResponse
+     */
+    public function getUserListOfRole(GetUserListOfRole $parameters) {
+        return $this->__soapCall('getUserListOfRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether the service is read only 
+     *
+     * @param IsReadOnly $parameters
+     * @return IsReadOnlyResponse
+     */
+    public function isReadOnly(IsReadOnly $parameters) {
+        return $this->__soapCall('isReadOnly', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update the credentials
+     *
+     * @param UpdateCredential $parameters
+     * @return void
+     */
+    public function updateCredential(UpdateCredential $parameters) {
+        return $this->__soapCall('updateCredential', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to set user claim value 
+     *
+     * @param SetUserClaimValue $parameters
+     * @return void
+     */
+    public function setUserClaimValue(setUserClaimValue $parameters) {
+        return $this->__soapCall('setUserClaimValue', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the claim values for claims
+     *
+     * @param GetUserClaimValuesForClaims $parameters
+     * @return GetUserClaimValuesForClaimsResponse
+     */
+    public function getUserClaimValuesForClaims(GetUserClaimValuesForClaims $parameters) {
+        return $this->__soapCall('getUserClaimValuesForClaims', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user claim values 
+     *
+     * @param DeleteUserClaimValues $parameters
+     * @return void
+     */
+    public function deleteUserClaimValues(DeleteUserClaimValues $parameters) {
+        return $this->__soapCall('deleteUserClaimValues', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user claim value 
+     *
+     * @param DeleteUserClaimValue $parameters
+     * @return void
+     */
+    public function deleteUserClaimValue(DeleteUserClaimValue $parameters) {
+        return $this->__soapCall('deleteUserClaimValue', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether use is existing 
+     *
+     * @param IsExistingUser $parameters
+     * @return IsExistingUserResponse
+     */
+    public function isExistingUser(IsExistingUser $parameters) {
+        return $this->__soapCall('isExistingUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update credential by admin
+     *
+     * @param UpdateCredentialByAdmin $parameters
+     * @return void
+     */
+    public function updateCredentialByAdmin(UpdateCredentialByAdmin $parameters) {
+        return $this->__soapCall('updateCredentialByAdmin', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the tenant id
+     *
+     * @param GetTenantId $parameters
+     * @return GetTenantIdResponse
+     */
+    public function getTenantId(GetTenantId $parameters) {
+        return $this->__soapCall('getTenantId', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get role names 
+     *
+     * @param GetRoleNames $parameters
+     * @return GetRoleNamesResponse
+     */
+    public function getRoleNames(GetRoleNames $parameters) {
+        return $this->__soapCall('getRoleNames', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Funtion to get properties
+     *
+     * @param GetProperties $parameters
+     * @return GetPropertiesResponse
+     */
+    public function getProperties(GetProperties $parameters) {
+        return $this->__soapCall('getProperties', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get user id
+     *
+     * @param GetUserId $parameters
+     * @return GetUserIdResponse
+     */
+    public function getUserId(GetUserId $parameters) {
+        return $this->__soapCall('getUserId', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get all the profile names  
+     *
+     * @param GetAllProfileNames $parameters
+     * @return GetAllProfileNamesResponse
+     */
+    public function getAllProfileNames(GetAllProfileNames $parameters) {
+        return $this->__soapCall('getAllProfileNames', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the password expiration time 
+     *
+     * @param GetPasswordExpirationTime $parameters
+     * @return GetPasswordExpirationTimeResponse
+     */
+    public function getPasswordExpirationTime(GetPasswordExpirationTime $parameters) {
+        return $this->__soapCall('getPasswordExpirationTime', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to list users
+     *
+     * @param ListUsers $parameters
+     * @return ListUsersResponse
+     */
+    public function listUsers(ListUsers $parameters) {
+        return $this->__soapCall('listUsers', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete role 
+     *
+     * @param DeleteRole $parameters
+     * @return void
+     */
+    public function deleteRole(DeleteRole $parameters) {
+        return $this->__soapCall('deleteRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user 
+     *
+     * @param DeleteUser $parameters
+     * @return void
+     */
+    public function deleteUser(DeleteUser $parameters) {
+        return $this->__soapCall('deleteUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function get the role list of the user 
+     *
+     * @param GetRoleListOfUser $parameters
+     * @return GetRoleListOfUserResponse
+     */
+    public function getRoleListOfUser(GetRoleListOfUser $parameters) {
+        return $this->__soapCall('getRoleListOfUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update the role name
+     *
+     * @param UpdateRoleName $parameters
+     * @return void
+     */
+    public function updateRoleName(UpdateRoleName $parameters) {
+        return $this->__soapCall('updateRoleName', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether a role is existing 
+     *
+     * @param IsExistingRole $parameters
+     * @return IsExistingRoleResponse
+     */
+    public function isExistingRole(IsExistingRole $parameters) {
+        return $this->__soapCall('isExistingRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update role list of user 
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function updateRoleListOfUser(UpdateRoleListOfUser $parameters) {
+        return $this->__soapCall('updateRoleListOfUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get user claim values 
+     *
+     * @param GetUserClaimValues $parameters
+     * @return GetUserClaimValuesResponse
+     */
+    public function getUserClaimValues(GetUserClaimValues $parameters) {
+        return $this->__soapCall('getUserClaimValues', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get hybrid roles
+     *
+     * @param GetHybridRoles $parameters
+     * @return GetHybridRolesResponse
+     */
+    public function getHybridRoles(GetHybridRoles $parameters) {
+        return $this->__soapCall('getHybridRoles', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user claim values 
+     *
+     * @param AddUserClaimValues $parameters
+     * @return void
+     */
+    public function addUserClaimValues(AddUserClaimValues $parameters) {
+        return $this->__soapCall('addUserClaimValues', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user 
+     *
+     * @param AddUser $parameters
+     * @return void
+     */
+    public function addUser(AddUser $parameters) {
+        return $this->__soapCall('addUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add role 
+     *
+     * @param AddRole $parameters
+     * @return void
+     */
+    public function addRole(AddRole $parameters) {
+        return $this->__soapCall('addRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update user list of roles 
+     *
+     * @param UpdateUserListOfRole $parameters
+     * @return void
+     */
+    public function updateUserListOfRole(UpdateUserListOfRole $parameters) {
+        return $this->__soapCall('updateUserListOfRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the tenant Id 
+     *
+     * @param GetTenantIdofUser $parameters
+     * @return GetTenantIdofUserResponse
+     */
+    public function getTenantIdofUser(GetTenantIdofUser $parameters) {
+        return $this->__soapCall('getTenantIdofUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to set user claim values 
+     *
+     * @param SetUserClaimValues $parameters
+     * @return void
+     */
+    public function setUserClaimValues(SetUserClaimValues $parameters) {
+        return $this->__soapCall('setUserClaimValues', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user claim value 
+     *
+     * @param AddUserClaimValue $parameters
+     * @return void
+     */
+    public function addUserClaimValue(AddUserClaimValue $parameters) {
+        return $this->__soapCall('addUserClaimValue', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the profile names
+     *
+     * @param GetProfileNames $parameters
+     * @return GetProfileNamesResponse
+     */
+    public function getProfileNames(GetProfileNames $parameters) {
+        return $this->__soapCall('getProfileNames', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+}
+
+?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/Wsis.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/Wsis.php b/workbench/airavata/wsis/src/Airavata/Wsis/Wsis.php
new file mode 100755
index 0000000..e4cbb6e
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/Wsis.php
@@ -0,0 +1,280 @@
+<?php
+
+namespace Airavata\Wsis;
+
+use Illuminate\Support\Facades\Config;
+use Airavata\Wsis\Stubs\UserStoreManager;
+
+class Wsis {
+
+    /**
+     * @var UserStoreManager
+     * @access private
+     */
+    private $userStoreManager;
+
+    /**
+     * @var string
+     * @access private
+     */
+    private $server;
+
+    /**
+     * @var string
+     * @access private
+     */
+    private $service_url;
+
+
+    /**
+     * Constructor
+     *
+     * @param string $admin_username
+     * @param string $admin_password
+     * @param string $server
+     * @param string $service_url
+     * @param string $cafile_path
+     * @param bool   $verify_peer
+     * @param bool   $allow_selfsigned_cer
+     * @throws Exception
+     */
+    public function __construct($admin_username, $admin_password = null, $server,
+                                $service_url,$cafile_path, $verify_peer, $allow_selfsigned_cert) {
+
+        $context = stream_context_create(array(
+            'ssl' => array(
+                'verify_peer' => $verify_peer,
+                "allow_self_signed"=> $allow_selfsigned_cert,
+                'cafile' => $cafile_path,
+                'CN_match' => $server,
+            )
+        ));
+
+        $parameters = array(
+            'login' => $admin_username,
+            'password' => $admin_password,
+            'stream_context' => $context,
+            'trace' => 1,
+            'features' => SOAP_WAIT_ONE_WAY_CALLS
+        );
+
+        $this->server = $server;
+        $this->service_url = $service_url;
+
+        try {
+            $this->userStoreManager = new UserStoreManager($service_url, $parameters);
+        } catch (Exception $ex) {
+            print_r( $ex); exit;
+            throw new Exception("Unable to instantiate client", 0, $ex);
+        }
+    }
+
+
+    /**
+     * Function to add new user
+     *
+     * @param string $userName
+     * @param string $password
+     * @return void
+     * @throws Exception
+     */
+    public function addUser($userName, $password, $fullName) {
+        try {
+            $this->userStoreManager->addUser($userName, $password, $fullName);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to add new user", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to delete existing user
+     *
+     * @param string $username
+     * @return void
+     * @throws Exception
+     */
+    public function deleteUser($username) {
+        try {
+            $this->userStoreManager->deleteUser($username);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to delete user", 0, $ex);
+        }
+    }
+
+
+    /**
+     * Function to authenticate user
+     *
+     * @param string $username
+     * @param string $password
+     * @return boolean
+     * @throws Exception
+     */
+    public function authenticate($username, $password){
+        try {
+            return $this->userStoreManager->authenticate($username, $password);
+        } catch (Exception $ex) {
+            var_dump( $ex); exit;
+            throw new Exception("Unable to authenticate user", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to check whether username exists
+     *
+     * @param string $username
+     * @return boolean
+     * @throws Exception
+     */
+    public function username_exists($username){
+        try {
+            return $this->userStoreManager->isExistingUser($username);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to verify username exists", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to check whether a role is existing
+     *
+     * @param string $roleName
+     * @return IsExistingRoleResponse
+     */
+    public function is_existing_role( $roleName){
+        try {
+            return $this->userStoreManager->isExistingRole( $roleName);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to check if the role exists", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to add new role by providing the role name.
+     *
+     * @param string $roleName
+     */
+    public function add_role($roleName){
+        try {
+            return $this->userStoreManager->addRole( $roleName);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to add this role", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to delete existing role
+     *
+     * @param string $roleName
+     * @return void
+     * @throws Exception
+     */
+    public function delete_role($roleName) {
+        try {
+            $this->userStoreManager->deleteRole($roleName);
+        } catch (Exception $ex) {
+            var_dump( $ex); exit;
+
+            throw new Exception("Unable to delete role", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to get the list of all existing roles
+     *
+     * @return roles list
+     */
+    public function get_all_roles(){
+        try {
+            return $this->userStoreManager->getRoleNames();
+        } catch (Exception $ex) {
+            throw new Exception("Unable to get all roles", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to get role of a user
+     *
+     * @return user role
+     */
+    public function get_user_roles( $username){
+        try {
+            return $this->userStoreManager->getRoleListOfUser( $username);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to get User roles.", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to get the user list of role
+     *
+     * @param GetUserListOfRole $parameters
+     * @return GetUserListOfRoleResponse
+     */
+    public function get_userlist_of_role( $role){
+        try {
+            return $this->userStoreManager->getUserListOfRole( $role);
+        } catch (Exception $ex) {
+            var_dump( $ex); exit;
+            throw new Exception("Unable to get user list of roles.", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to update role list of user
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function update_user_roles( $username, $roles){
+        try {
+            return $this->userStoreManager->updateRoleListOfUser( $username, $roles);
+        } catch (Exception $ex) {
+            throw new Exception("Unable to update role of the user.", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to list users
+     *
+     * @param void
+     * @return void
+     */
+    public function list_users(){
+        try {
+            return $this->userStoreManager->listUsers();
+        } catch (Exception $ex) {
+            var_dump( $ex->debug_message);
+            throw new Exception("Unable to list users.", 0, $ex);
+        }
+    }
+
+    /**
+     * Function to get the tenant id
+     *
+     * @param GetTenantId $parameters
+     * @return GetTenantIdResponse
+     */
+    public function get_tenant_id(){
+        try {
+            return $this->userStoreManager->getTenantId();
+        } catch (Exception $ex) {
+            var_dump( $ex->debug_message);
+            throw new Exception("Unable to get the tenant Id.", 0, $ex);
+        }
+    }
+
+    /**
+     * Function create a new Tenant
+     *
+     * @param Tenant $parameters
+     * @return void
+     */
+    public function create_tenant( $inputs){
+        try {
+            return $this->userStoreManager->createTenant( $inputs);
+        } catch (Exception $ex) {
+            var_dump( $ex);
+            throw new Exception("Unable to create Tenant.", 0, $ex);
+        }
+    }
+} 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/Airavata/Wsis/WsisServiceProvider.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/Airavata/Wsis/WsisServiceProvider.php b/workbench/airavata/wsis/src/Airavata/Wsis/WsisServiceProvider.php
new file mode 100755
index 0000000..e5a2cf4
--- /dev/null
+++ b/workbench/airavata/wsis/src/Airavata/Wsis/WsisServiceProvider.php
@@ -0,0 +1,64 @@
+<?php namespace Airavata\Wsis;
+
+use Illuminate\Support\ServiceProvider;
+use Illuminate\Support\Facades\Config;
+
+class WsisServiceProvider extends ServiceProvider {
+
+	/**
+	 * Indicates if loading of the provider is deferred.
+	 *
+	 * @var bool
+	 */
+	protected $defer = false;
+
+    /**
+     * Bootstrap the application events.
+     *
+     * @return void
+     */
+    public function boot()
+    {
+        $this->package('airavata/wsis');
+    }
+
+	/**
+	 * Register the service provider.
+	 *
+	 * @return void
+	 */
+	public function register()
+	{
+        //registering service provider
+        $this->app['wsis'] = $this->app->share(function($app)
+        {
+            return new Wsis(
+                Config::get('wsis::admin-username'),
+                Config::get('wsis::admin-password'),
+                Config::get('wsis::server'),
+                Config::get('wsis::service-url'),
+                Config::get('wsis::cafile-path'),
+                Config::get('wsis::verify-peer'),
+                Config::get('wsis::allow-selfsigned-cert')
+            );
+        });
+
+        //registering alis
+        $this->app->booting(function()
+        {
+            $loader = \Illuminate\Foundation\AliasLoader::getInstance();
+            $loader->alias('WSIS', 'Airavata\Wsis\Facades\Wsis');
+        });
+	}
+
+	/**
+	 * Get the services provided by the provider.
+	 *
+	 * @return array
+	 */
+	public function provides()
+	{
+		return array('wsis');
+	}
+
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/src/config/config.php
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/src/config/config.php b/workbench/airavata/wsis/src/config/config.php
new file mode 100644
index 0000000..69f61cf
--- /dev/null
+++ b/workbench/airavata/wsis/src/config/config.php
@@ -0,0 +1,52 @@
+<?php
+return array(
+    /**
+     * Admin Role Name
+     */
+    'admin-role-name' => 'admin',
+
+    /**
+     * Gateway user role
+     */
+    'gateway-admin' => 'Internal/everyone',
+
+    /**
+     * Tenant admin's username
+     */
+    'admin-username' => 'admin-username',
+
+    /**
+     * Tenant admin's password
+     */
+    'admin-password' => 'admin-password',
+
+    /**
+     * Identity server domain
+     */
+    'server' => 'idp.scigap.org',
+
+    /**
+     * Identity server web services endpoint
+     */
+    'service-url' => 'https://idp.scigap.org:7443/services/',
+
+    /**
+     * Gateway domain name
+     */
+    'gateway-id' => 'default',
+
+    /**
+     * Path to the server certificate file
+     */
+    'cafile-path' => app_path() . '/resources/security/idp_scigap_org.pem',
+
+    /**
+     * Enable HTTPS server verification
+     */
+    'verify-peer' => true,
+
+    /**
+     * Allow self signed server certificates
+     */
+    'allow-self-signed' => false
+);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/workbench/airavata/wsis/tests/.gitkeep
----------------------------------------------------------------------
diff --git a/workbench/airavata/wsis/tests/.gitkeep b/workbench/airavata/wsis/tests/.gitkeep
new file mode 100755
index 0000000..e69de29


[2/4] airavata-php-gateway git commit: Wrapping Identitiy Server Code as a Laravel package

Posted by sm...@apache.org.
Wrapping Identitiy Server Code as a Laravel package


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/2040a6d4
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2040a6d4
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2040a6d4

Branch: refs/heads/master
Commit: 2040a6d4e69d80d297f26bf2374d218116190980
Parents: 39a110e
Author: Supun Nakandala <su...@gmail.com>
Authored: Sun May 3 14:42:20 2015 +0530
Committer: Supun Nakandala <su...@gmail.com>
Committed: Sun May 3 14:42:20 2015 +0530

----------------------------------------------------------------------
 app/config/app.php                              |    4 +-
 app/config/app_config.ini.template              |   33 +-
 app/config/workbench.php                        |    4 +-
 app/controllers/AccountController.php           |    3 +-
 app/controllers/AdminController.php             |    4 +-
 app/libraries/CRUtilities.php                   |    3 +-
 .../UserStoreManager/TenantManager.php          |  138 --
 .../UserStoreManager/TenantMgtAdmin.stub.php    |  304 ----
 .../UserStoreManager/UserStoreManager.php       |  202 ---
 .../UserStoreManager/UserStoreManager.stub.php  | 1568 -----------------
 app/libraries/WSISClient.php                    |  282 ----
 app/libraries/userapi_config.ini                |   14 -
 app/libraries/userapi_utilities.php             |  394 -----
 app/libraries/utilities.php                     |    3 -
 app/libraries/wsis_config.ini                   |   27 -
 app/libraries/wsis_utilities.php                |   88 +-
 app/libraries/xml_id_utilities.php              |   42 +
 workbench/airavata/wsis/.gitignore              |    4 +
 workbench/airavata/wsis/.travis.yml             |   13 +
 workbench/airavata/wsis/composer.json           |   20 +
 workbench/airavata/wsis/phpunit.xml             |   18 +
 .../wsis/src/Airavata/Wsis/Facades/Wsis.php     |   16 +
 .../src/Airavata/Wsis/Stubs/TenantManager.php   |  139 ++
 .../Airavata/Wsis/Stubs/TenantMgtAdminStub.php  |  306 ++++
 .../Airavata/Wsis/Stubs/UserStoreManager.php    |  203 +++
 .../Wsis/Stubs/UserStoreManagerStub.php         | 1570 ++++++++++++++++++
 .../airavata/wsis/src/Airavata/Wsis/Wsis.php    |  280 ++++
 .../src/Airavata/Wsis/WsisServiceProvider.php   |   64 +
 workbench/airavata/wsis/src/config/config.php   |   52 +
 workbench/airavata/wsis/tests/.gitkeep          |    0
 30 files changed, 2758 insertions(+), 3040 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/config/app.php
----------------------------------------------------------------------
diff --git a/app/config/app.php b/app/config/app.php
index 39aee38..1b4c90f 100755
--- a/app/config/app.php
+++ b/app/config/app.php
@@ -121,7 +121,7 @@ return array(
 		'Illuminate\Validation\ValidationServiceProvider',
 		'Illuminate\View\ViewServiceProvider',
 		'Illuminate\Workbench\WorkbenchServiceProvider',
-
+        'Airavata\Wsis\WsisServiceProvider',
 	),
 
 	/*
@@ -188,7 +188,7 @@ return array(
 		'URL'             => 'Illuminate\Support\Facades\URL',
 		'Validator'       => 'Illuminate\Support\Facades\Validator',
 		'View'            => 'Illuminate\Support\Facades\View',
-
+        'WSIS'            => 'Airavata\Wsis\Facades\Wsis',
 	),
 
 );

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/config/app_config.ini.template
----------------------------------------------------------------------
diff --git a/app/config/app_config.ini.template b/app/config/app_config.ini.template
old mode 100644
new mode 100755
index 3ec74f0..0d7c97b
--- a/app/config/app_config.ini.template
+++ b/app/config/app_config.ini.template
@@ -1,34 +1,3 @@
-;--------------------------------------- Identity Server Constants ----------------------
-
-;Admin Role Name
-admin-role-name = "admin"
-;Gateway User Role
-gateway-admin = "Internal/everyone"
-
-;Tenant admin's username
-admin-username = “$username”
-
-;Tenant admin's password
-admin-password = “$password”
-
-;Identity server domain
-server = "idp.scigap.org"
-
-;Identity server web services endpoint
-service-url = "https://idp.scigap.org:7443/services/"
-
-;Gateway Domain Name 
-gateway-id = “$gatewayname”
-
-;Path the to server certificate file
-cafile-path = "/resources/security/idp_scigap_org.pem"
-
-;Enable HTTPS server verification
-verify-peer = true
-
-;Allow self signed server certificates
-allow-self-signed = false
-
 ;--------------------------------------- Airavata Constants ----------------------
 
 
@@ -45,7 +14,7 @@ experiment-data-root = '/../experimentData/'
 ssh-user = 'root'
 data-path = 'file://home/pga/production/experimentData/'
 experiment-data-root-absolute = '/var/www/experimentData/'
-;USER_STORE = 'WSO2','XML','USER_API'
+;USER_STORE = 'WSO2','XML'
 user-store = "WSO2"
 admin-role = "admin"
 gateway-admin-role = "gateway_admin"

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/config/workbench.php
----------------------------------------------------------------------
diff --git a/app/config/workbench.php b/app/config/workbench.php
index 87c5e38..f4a663b 100755
--- a/app/config/workbench.php
+++ b/app/config/workbench.php
@@ -13,7 +13,7 @@ return array(
 	|
 	*/
 
-	'name' => '',
+	'name' => 'Apache Airavata',
 
 	/*
 	|--------------------------------------------------------------------------
@@ -26,6 +26,6 @@ return array(
 	|
 	*/
 
-	'email' => '',
+	'email' => 'dev@airavata.apache.org',
 
 );

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index c80672f..752c05d 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -80,8 +80,7 @@ class AccountController extends BaseController {
                 	
                     Utilities::store_id_in_session($username);
                     Utilities::print_success_message('Login successful! You will be redirected to your home page shortly.');
-                	$app_config = Utilities::read_config();
-                	Session::put("gateway_id", $app_config["gateway-id"]);
+                	Session::put("gateway_id", Config::get('wsis::gateway-id'));
                 	//TODO::If this option is not safe, have to find a better method to send credentials to identity server on every connection.
                 	Session::put("password", $_POST["password"]);
                 	

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
old mode 100644
new mode 100755
index c55718e..5f0b51c
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -73,9 +73,9 @@ class AdminController extends BaseController {
 		{
 			//add user to admin role
 			$app_config = Utilities::read_config();
-			$idStore->updateRoleListOfUser( Input::get("username"), array( "new"=>array( $app_config["admin-role-name"]), "deleted"=>array() ) );
+			$idStore->updateRoleListOfUser( Input::get("username"), array( "new"=>array( Config::get('wsis::admin-role-name')), "deleted"=>array() ) );
 
-			return Redirect::to("admin/dashboard/users?role=" . $app_config["admin-role-name"])->with("Gateway Admin has been added.");
+			return Redirect::to("admin/dashboard/users?role=" . Config::get('wsis::admin-role-name'))->with("Gateway Admin has been added.");
 
 		}
 		else

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/CRUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CRUtilities.php b/app/libraries/CRUtilities.php
old mode 100644
new mode 100755
index 8f55099..98fa54e
--- a/app/libraries/CRUtilities.php
+++ b/app/libraries/CRUtilities.php
@@ -406,8 +406,7 @@ public static function getAllGatewayProfilesData(){
         $gateways = $airavataclient->getAllGateways();
     else
     {
-        $app_config = Utilities::read_config();
-        $gateways[0] = $airavataclient->getGateway( $app_config["gateway-id"]);
+        $gateways[0] = $airavataclient->getGateway( Config::get('wsis::gateway-id'));
     }
 
     $gatewayProfiles = $airavataclient->getAllGatewayComputeResources();

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/UserStoreManager/TenantManager.php
----------------------------------------------------------------------
diff --git a/app/libraries/UserStoreManager/TenantManager.php b/app/libraries/UserStoreManager/TenantManager.php
deleted file mode 100755
index 1cdef20..0000000
--- a/app/libraries/UserStoreManager/TenantManager.php
+++ /dev/null
@@ -1,138 +0,0 @@
-<?php
-
-require_once 'TenantMgtAdmin.stub.php';
-
-/**
- * TenantManager class
- * 
- * This class provide an easy to use interface for
- * WSO2 IS 5.0.0 TenantMgtAdmin service.
- */
-class TenantManager {
-    /**
-     * @var TenantMgtAdminStub $serviceStub
-     * @access private
-     */
-    private $serviceStub;
-
-    public function __construct($server_url, $options) {
-        $this->serviceStub = new TenantMgtAdminStub(
-                $server_url . "TenantMgtAdminService?wsdl", $options
-        );
-    }
-    
-    /**
-     * Function to get the soap client
-     * 
-     * @return SoapClient
-     */
-    public function getSoapClient(){
-        return $this->serviceStub;
-    }
-
-    /**
-     * Method to retrieve all  tenant information. Some tenant information
-     * such as admin name are not returned by wso2 IS
-     * @return mixed
-     */
-    public function retrieveTenants(){
-        $parameters = new retrieveTenants();
-        return $this->serviceStub->retrieveTenants($parameters)->return;
-    }
-
-    /**
-     * Method to get tenant information giving tenant domain
-     * @param $domain domain of the tenant
-     * @return mixed
-     */
-    public function getTenant($domain){
-        $parameters = new getTenant();
-        $parameters->tenantDomain = $domain;
-        return $this->serviceStub->getTenant($parameters)->return;
-    }
-
-    /**
-     * Method to create a new tenant
-     * @param $active whether tenant active or not
-     * @param $adminUsername
-     * @param $adminPassword
-     * @param $email
-     * @param $firstName Admin's first name
-     * @param $lastName Admin's last name
-     * @param $tenantDomain
-     */
-    public function addTenant($active, $adminUsername, $adminPassword, $email,
-                              $firstName, $lastName, $tenantDomain){
-        $tenantInfoBean = new TenantInfoBean();
-        $tenantInfoBean->active = $active;
-        $tenantInfoBean->admin = $adminUsername;
-        $tenantInfoBean->adminPassword = $adminPassword;
-        $tenantInfoBean->email = $email;
-        $tenantInfoBean->firstName = $firstName;
-        $tenantInfoBean->lastName = $lastName;
-        $tenantInfoBean->tenantDomain = $tenantDomain;
-
-        $addTenant  = new addTenant();
-        $addTenant->tenantInfoBean = $tenantInfoBean;
-        $this->serviceStub->addTenant($addTenant);
-    }
-
-    /**
-     * Method to remove an existing tenant giving tenant domain
-     * @param $tenantDomain
-     */
-    public function deleteTenant($tenantDomain){
-        $parameters = new deleteTenant();
-        $parameters->tenantDomain = $tenantDomain;
-        $this->serviceStub->deleteTenant($parameters);
-    }
-
-    /**
-     * Method to activate a tenant
-     * @param $tenantDomain
-     */
-    public function activateTenant($tenantDomain){
-        $parameters = new activateTenant();
-        $parameters->tenantDomain = $tenantDomain;
-        $this->serviceStub->activateTenant($parameters);
-    }
-
-    /**
-     * Method to deactivate a tenant
-     * @param $tenantDomain
-     */
-    public function deactivateTenant($tenantDomain){
-        $parameters = new deactivateTenant();
-        $parameters->tenantDomain = $tenantDomain;
-        $this->serviceStub->deactivateTenant($parameters);
-    }
-
-    /**
-     * Method to update an existing tenant
-     * @param $tenantId
-     * @param $active
-     * @param $adminUsername
-     * @param $adminPassword
-     * @param $email
-     * @param $firstName
-     * @param $lastName
-     * @param $tenantDomain
-     */
-    public function updateTenant($tenantId, $active, $adminUsername, $adminPassword, $email,
-                              $firstName, $lastName, $tenantDomain){
-        $tenantInfoBean = new TenantInfoBean();
-        $tenantInfoBean->tenantId = $tenantId;
-        $tenantInfoBean->active = $active;
-        $tenantInfoBean->admin = $adminUsername;
-        $tenantInfoBean->adminPassword = $adminPassword;
-        $tenantInfoBean->email = $email;
-        $tenantInfoBean->firstName = $firstName;
-        $tenantInfoBean->lastName = $lastName;
-        $tenantInfoBean->tenantDomain = $tenantDomain;
-
-        $updateTenant  = new updateTenant();
-        $updateTenant->tenantInfoBean = $tenantInfoBean;
-        $this->serviceStub->updateTenant($updateTenant);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/UserStoreManager/TenantMgtAdmin.stub.php
----------------------------------------------------------------------
diff --git a/app/libraries/UserStoreManager/TenantMgtAdmin.stub.php b/app/libraries/UserStoreManager/TenantMgtAdmin.stub.php
deleted file mode 100644
index 247687f..0000000
--- a/app/libraries/UserStoreManager/TenantMgtAdmin.stub.php
+++ /dev/null
@@ -1,304 +0,0 @@
-<?php
-/**
- * This file contains the DTOs and the method stubs for
- * WSO2 IS 5.0.0 TenantMgtAdmin service.
- */
-class TenantMgtAdminServiceException {
-  public $TenantMgtAdminServiceException; // Exception
-}
-
-
-class deleteTenant {
-  public $tenantDomain; // string
-}
-
-class updateTenant {
-  public $tenantInfoBean; // TenantInfoBean
-}
-
-class addTenant {
-  public $tenantInfoBean; // TenantInfoBean
-}
-
-class addTenantResponse {
-  public $return; // string
-}
-
-class activateTenant {
-  public $tenantDomain; // string
-}
-
-class deactivateTenant {
-  public $tenantDomain; // string
-}
-
-class getTenant {
-  public $tenantDomain; // string
-}
-
-class getTenantResponse {
-  public $return; // TenantInfoBean
-}
-
-class retrievePaginatedTenants {
-  public $pageNumber; // int
-}
-
-class retrievePaginatedTenantsResponse {
-  public $return; // PaginatedTenantInfoBean
-}
-
-class retrieveTenants {
-}
-
-class retrieveTenantsResponse {
-  public $return; // TenantInfoBean
-}
-
-class retrievePartialSearchTenants {
-  public $domain; // string
-}
-
-class retrievePartialSearchTenantsResponse {
-  public $return; // TenantInfoBean
-}
-
-class addSkeletonTenant {
-  public $tenantInfoBean; // TenantInfoBean
-}
-
-class addSkeletonTenantResponse {
-  public $return; // string
-}
-
-class retrievePaginatedPartialSearchTenants {
-  public $domain; // string
-  public $pageNumber; // int
-}
-
-class retrievePaginatedPartialSearchTenantsResponse {
-  public $return; // PaginatedTenantInfoBean
-}
-
-class TenantInfoBean {
-  public $active; // boolean
-  public $admin; // string
-  public $adminPassword; // string
-  public $createdDate; // dateTime
-  public $email; // string
-  public $firstname; // string
-  public $lastname; // string
-  public $originatedService; // string
-  public $successKey; // string
-  public $tenantDomain; // string
-  public $tenantId; // int
-  public $usagePlan; // string
-}
-
-class PaginatedTenantInfoBean {
-  public $numberOfPages; // int
-  public $tenantInfoBeans; // TenantInfoBean
-}
-
-
-/**
- * TenantMgtAdminStub class
- * 
- *  
- * 
- * @author    {author}
- * @copyright {copyright}
- * @package   {package}
- */
-class TenantMgtAdminStub extends SoapClient {
-
-  private static $classmap = array(
-                                    'TenantMgtAdminServiceException' => 'TenantMgtAdminServiceException',
-                                    'deleteTenant' => 'deleteTenant',
-                                    'updateTenant' => 'updateTenant',
-                                    'addTenant' => 'addTenant',
-                                    'addTenantResponse' => 'addTenantResponse',
-                                    'activateTenant' => 'activateTenant',
-                                    'deactivateTenant' => 'deactivateTenant',
-                                    'getTenant' => 'getTenant',
-                                    'getTenantResponse' => 'getTenantResponse',
-                                    'retrievePaginatedTenants' => 'retrievePaginatedTenants',
-                                    'retrievePaginatedTenantsResponse' => 'retrievePaginatedTenantsResponse',
-                                    'retrieveTenants' => 'retrieveTenants',
-                                    'retrieveTenantsResponse' => 'retrieveTenantsResponse',
-                                    'retrievePartialSearchTenants' => 'retrievePartialSearchTenants',
-                                    'retrievePartialSearchTenantsResponse' => 'retrievePartialSearchTenantsResponse',
-                                    'addSkeletonTenant' => 'addSkeletonTenant',
-                                    'addSkeletonTenantResponse' => 'addSkeletonTenantResponse',
-                                    'retrievePaginatedPartialSearchTenants' => 'retrievePaginatedPartialSearchTenants',
-                                    'retrievePaginatedPartialSearchTenantsResponse' => 'retrievePaginatedPartialSearchTenantsResponse',
-                                    'TenantInfoBean' => 'TenantInfoBean',
-                                    'PaginatedTenantInfoBean' => 'PaginatedTenantInfoBean',
-                                   );
-
-  public function TenantMgtAdminStub($wsdl, $options = array()) {
-    foreach(self::$classmap as $key => $value) {
-      if(!isset($options['classmap'][$key])) {
-        $options['classmap'][$key] = $value;
-      }
-    }
-    parent::__construct($wsdl, $options);
-  }
-
-  /**
-   *  
-   *
-   * @param retrieveTenants $parameters
-   * @return retrieveTenantsResponse
-   */
-  public function retrieveTenants(retrieveTenants $parameters) {
-    return $this->__soapCall('retrieveTenants', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param getTenant $parameters
-   * @return getTenantResponse
-   */
-  public function getTenant(getTenant $parameters) {
-    return $this->__soapCall('getTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param deactivateTenant $parameters
-   * @return void
-   */
-  public function deactivateTenant(deactivateTenant $parameters) {
-    return $this->__soapCall('deactivateTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param retrievePartialSearchTenants $parameters
-   * @return retrievePartialSearchTenantsResponse
-   */
-  public function retrievePartialSearchTenants(retrievePartialSearchTenants $parameters) {
-    return $this->__soapCall('retrievePartialSearchTenants', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param retrievePaginatedTenants $parameters
-   * @return retrievePaginatedTenantsResponse
-   */
-  public function retrievePaginatedTenants(retrievePaginatedTenants $parameters) {
-    return $this->__soapCall('retrievePaginatedTenants', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param updateTenant $parameters
-   * @return void
-   */
-  public function updateTenant(updateTenant $parameters) {
-    return $this->__soapCall('updateTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param addSkeletonTenant $parameters
-   * @return addSkeletonTenantResponse
-   */
-  public function addSkeletonTenant(addSkeletonTenant $parameters) {
-    return $this->__soapCall('addSkeletonTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param addTenant $parameters
-   * @return addTenantResponse
-   */
-  public function addTenant(addTenant $parameters) {
-    return $this->__soapCall('addTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param retrievePaginatedPartialSearchTenants $parameters
-   * @return retrievePaginatedPartialSearchTenantsResponse
-   */
-  public function retrievePaginatedPartialSearchTenants(retrievePaginatedPartialSearchTenants $parameters) {
-    return $this->__soapCall('retrievePaginatedPartialSearchTenants', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param activateTenant $parameters
-   * @return void
-   */
-  public function activateTenant(activateTenant $parameters) {
-    return $this->__soapCall('activateTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-  /**
-   *  
-   *
-   * @param deleteTenant $parameters
-   * @return void
-   */
-  public function deleteTenant(deleteTenant $parameters) {
-    return $this->__soapCall('deleteTenant', array($parameters),       array(
-            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
-            'soapaction' => ''
-           )
-      );
-  }
-
-}
-
-?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/UserStoreManager/UserStoreManager.php
----------------------------------------------------------------------
diff --git a/app/libraries/UserStoreManager/UserStoreManager.php b/app/libraries/UserStoreManager/UserStoreManager.php
deleted file mode 100755
index 7da0ae0..0000000
--- a/app/libraries/UserStoreManager/UserStoreManager.php
+++ /dev/null
@@ -1,202 +0,0 @@
-<?php
-
-require_once 'UserStoreManager.stub.php';
-
-/**
- * UsersStoreManager class
- * 
- * This class provide an easy to use interface for
- * WSO2 IS 5.0.0 RemoteUserStoreManager service.
- */
-class UserStoreManager {
-    /**
-     * @var RemoteUserManagerStub $serviceStub
-     * @access private
-     */
-    private $serviceStub;
-
-    public function __construct($server_url, $options) {
-        $this->serviceStub = new UserStoreManagerStub(
-                $server_url . "RemoteUserStoreManagerService?wsdl", $options
-        );
-    }
-    
-    /**
-     * Function to get the soap client
-     * 
-     * @return SoapClient
-     */
-    public function getSoapClient(){
-        return $this->serviceStub;
-    }
-    
-    /**
-     * Function to authenticate the user with RemoteUserStoreManager Service
-     * @param type $username
-     * @param type $password
-     */
-    public function authenticate($username, $password){
-        $parameters = new Authenticate();
-        $parameters->userName = $username;
-        $parameters->credential = $password;        
-        return $this->serviceStub->authenticate($parameters)->return;
-    }
-    
-    /**
-     * Function to add new user by providing username and password
-     * 
-     * @param type $userName
-     * @param type $password
-     */
-    public function addUser($userName, $password, $fullName){
-        $parameters = new AddUser();
-        $parameters->userName = $userName;
-        $parameters->credential = $password;
-        $parameters->claims = null;
-        $parameters->profileName = $fullName;
-        $parameters->requirePasswordChange = false;
-        $parameters->roleList = null;
-        $this->serviceStub->addUser($parameters);
-    }
-    /**
-     * Function to delete existing user by providing the username.
-     * 
-     * @param string $username
-     */
-    public function deleteUser($username){
-        $parameters = new DeleteUser();
-        $parameters->userName = $username;
-        $this->serviceStub->deleteUser($parameters);
-    }
-    
-    /**
-     * Function to check whether a role is existing 
-     *
-     * @param string $roleName 
-     * @return IsExistingRoleResponse
-     */
-    public function isExistingRole( $roleName) {
-        $parameters = new IsExistingRole();
-        $parameters->roleName = $roleName;
-        $this->serviceStub->isExistingRole( $parameters)->return;
-    }
-    /**
-     * Function to add new role by providing the role name.
-     * 
-     * @param string $roleName
-     */
-    public function addRole($roleName){
-        $paramerters = new AddRole();
-        $paramerters->roleName=$roleName;
-        $paramerters->userList=null;
-        $paramerters->permissions=null;
-        $this->serviceStub->addRole($paramerters);
-    }
-    
-    /**
-     * Function to delete an existing role
-     * 
-     * @param string $roleName
-     */
-    public function deleteRole($roleName){
-        $parameters = new DeleteRole();
-        $parameters->roleName = $roleName;
-        $this->serviceStub->deleteRole($parameters);
-    }
-    
-    /**
-     * Function to get a list of users
-     * 
-     * @return username list
-     */
-    public function listUsers(){
-        $parameters = new ListUsers();
-        $parameters->filter = "*";
-        $parameters->maxItemLimit = -1;
-        
-        return $this->serviceStub->listUsers($parameters)->return;
-    }
-
-     /**
-     * Function get user list
-     *
-     * @param GetUserList $parameters
-     * @return GetUserListResponse
-     */
-     public function getUserList(){
-        $parameters = new GetUserList();
-    }
-
-        
-    /**
-     * Function to check whether the given username already exists
-     * 
-     * @param string $username
-     * @return boolean
-     */
-    public function isExistingUser($username) {
-        $parameters = new IsExistingUser();
-        $parameters->userName = $username;
-        
-        return $this->serviceStub->isExistingUser($parameters)->return;
-    }
-
-    /**
-    * Function to get the list of all existing roles
-    *
-    * @return roles list
-    */
-    public function getRoleNames( $parameters = null){
-        $parameters = new GetRoleNames();
-        return $this->serviceStub->getRoleNames( $parameters)->return;
-    }
-
-    /**
-    * Function to get role of a user
-    *
-    * @return User Role
-    */
-    public function getRoleListOfUser( $username){
-        $parameters = new GetRoleListOfUser();
-        $parameters->userName = $username;
-        return $this->serviceStub->GetRoleListOfUser( $parameters)->return;
-    }
-
-    /**
-     * Function to get the user list of role
-     *
-     * @param GetUserListOfRole $parameters
-     * @return GetUserListOfRoleResponse
-     */
-    public function getUserListOfRole( $roleName){
-        $parameters = new GetUserListOfRole();
-        $parameters->roleName = $roleName;
-        return $this->serviceStub->getUserListOfRole( $parameters);
-    }
-    
-    /**
-     * Function to update role list of user 
-     *
-     * @param UpdateRoleListOfUser $parameters
-     * @return void
-     */
-    public function updateRoleListOfUser( $username, $roles){
-        $parameters = new UpdateRoleListOfUser();
-        $parameters->userName = $username;
-        $parameters->deletedRoles = $roles["deleted"];
-        $parameters->newRoles = $roles["new"];
-        return $this->serviceStub->updateRoleListOfUser( $parameters);
-    }
-
-    /**
-     * Function to get the tenant id
-     *
-     * @param GetTenantId $parameters
-     * @return GetTenantIdResponse
-     */
-    public function getTenantId(){
-        $parameters = new GetTenantId();
-
-        return $this->serviceStub->getTenantId( $parameters);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/UserStoreManager/UserStoreManager.stub.php
----------------------------------------------------------------------
diff --git a/app/libraries/UserStoreManager/UserStoreManager.stub.php b/app/libraries/UserStoreManager/UserStoreManager.stub.php
deleted file mode 100755
index d92ccb9..0000000
--- a/app/libraries/UserStoreManager/UserStoreManager.stub.php
+++ /dev/null
@@ -1,1568 +0,0 @@
-<?php
-
-/**
- * This file contains the DTOs and the method stubs for
- * WSO2 IS 4.6.0 RemoteUserStoreManger service.
- */
-
-class ClaimDTO {
-
-    /**
-     * @var string $claimUri
-     * @access public
-     */
-    public $claimUri;
-
-    /**
-     * @var string $description
-     * @access public
-     */
-    public $description;
-
-    /**
-     * @var string $dialectURI
-     * @access public
-     */
-    public $dialectURI;
-
-    /**
-     * @var int $displayOrder
-     * @access public
-     */
-    public $displayOrder;
-
-    /**
-     * @var string $displayTag
-     * @access public
-     */
-    public $displayTag;
-
-    /**
-     * @var string $regEx
-     * @access public
-     */
-    public $regEx;
-
-    /**
-     * @var boolean $required
-     * @access public
-     */
-    public $required;
-
-    /**
-     * @var boolean $supportedByDefault
-     * @access public
-     */
-    public $supportedByDefault;
-
-    /**
-     * @var string $value
-     * @access public
-     */
-    public $value;
-
-}
-
-class PermissionDTO {
-
-    /**
-     * @var string $action
-     * @access public
-     */
-    public $action;
-
-    /**
-     * @var string $resourceId
-     * @access public
-     */
-    public $resourceId;
-
-}
-
-class Tenant {
-
-    /**
-     * @var boolean $active
-     * @access public
-     */
-    public $active;
-
-    /**
-     * @var string $adminFirstName
-     * @access public
-     */
-    public $adminFirstName;
-
-    /**
-     * @var string $adminFullName
-     * @access public
-     */
-    public $adminFullName;
-
-    /**
-     * @var string $adminLastName
-     * @access public
-     */
-    public $adminLastName;
-
-    /**
-     * @var string $adminName
-     * @access public
-     */
-    public $adminName;
-
-    /**
-     * @var string $adminPassword
-     * @access public
-     */
-    public $adminPassword;
-
-    /**
-     * @var string $createdDate YYYY-MM-DD
-     * @access public
-     */
-    public $createdDate;
-
-    /**
-     * @var string $domain
-     * @access public
-     */
-    public $domain;
-
-    /**
-     * @var string $email
-     * @access public
-     */
-    public $email;
-
-    /**
-     * @var int $id
-     * @access public
-     */
-    public $id;
-
-    /**
-     * @var RealmConfiguration $realmConfig
-     * @access public
-     */
-    public $realmConfig;
-
-}
-
-class RealmConfiguration {
-
-    /**
-     * @var string $addAdmin
-     * @access public
-     */
-    public $addAdmin;
-
-    /**
-     * @var string $adminPassword
-     * @access public
-     */
-    public $adminPassword;
-
-    /**
-     * @var string $adminRoleName
-     * @access public
-     */
-    public $adminRoleName;
-
-    /**
-     * @var string $adminUserName
-     * @access public
-     */
-    public $adminUserName;
-
-    /**
-     * @var string $authorizationManagerClass
-     * @access public
-     */
-    public $authorizationManagerClass;
-
-    /**
-     * @var string $authzProperties
-     * @access public
-     */
-    public $authzProperties;
-
-    /**
-     * @var string $description
-     * @access public
-     */
-    public $description;
-
-    /**
-     * @var string $everyOneRoleName
-     * @access public
-     */
-    public $everyOneRoleName;
-
-    /**
-     * @var string $multipleCredentialProps
-     * @access public
-     */
-    public $multipleCredentialProps;
-
-    /**
-     * @var boolean $passwordsExternallyManaged
-     * @access public
-     */
-    public $passwordsExternallyManaged;
-
-    /**
-     * @var string $persistedTimestamp YYYY-MM-DD
-     * @access public
-     */
-    public $persistedTimestamp;
-
-    /**
-     * @var boolean $primary
-     * @access public
-     */
-    public $primary;
-
-    /**
-     * @var string $realmClassName
-     * @access public
-     */
-    public $realmClassName;
-
-    /**
-     * @var string $realmProperties
-     * @access public
-     */
-    public $realmProperties;
-
-    /**
-     * @var RealmConfiguration $secondaryRealmConfig
-     * @access public
-     */
-    public $secondaryRealmConfig;
-
-    /**
-     * @var int $tenantId
-     * @access public
-     */
-    public $tenantId;
-
-    /**
-     * @var string $userStoreClass
-     * @access public
-     */
-    public $userStoreClass;
-
-    /**
-     * @var string $userStoreProperties
-     * @access public
-     */
-    public $userStoreProperties;
-
-}
-
-class ClaimValue {
-
-    /**
-     * @var string $claimURI
-     * @access public
-     */
-    public $claimURI;
-
-    /**
-     * @var string $value
-     * @access public
-     */
-    public $value;
-
-}
-
-class AddUserClaimValues {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var ClaimValue $claims
-     * @access public
-     */
-    public $claims;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetUserClaimValuesForClaims {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claims
-     * @access public
-     */
-    public $claims;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetUserClaimValuesForClaimsResponse {
-
-    /**
-     * @var ClaimValue $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetTenantIdofUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $username;
-
-}
-
-class GetTenantIdofUserResponse {
-
-    /**
-     * @var int $return
-     * @access public
-     */
-    public $return; // int
-
-}
-
-class AddUserClaimValue {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claimURI
-     * @access public
-     */
-    public $claimURI;
-
-    /**
-     * @var string $claimValue
-     * @access public
-     */
-    public $claimValue;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetUserClaimValues {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetUserClaimValuesResponse {
-
-    /**
-     * @var ClaimDTO $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetTenantId {
-    
-}
-
-class GetTenantIdResponse {
-
-    /**
-     * @var int $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class AddUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $credential
-     * @access public
-     */
-    public $credential;
-
-    /**
-     * @var string $roleList
-     * @access public
-     */
-    public $roleList;
-
-    /**
-     * @var ClaimValue $claims
-     * @access public
-     */
-    public $claims;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-    /**
-     * @var boolean $requiredPasswordChange
-     * @access public
-     */
-    public $requirePasswordChange;
-
-}
-
-class AddRole {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-    /**
-     * @var string $userList
-     * @access public
-     */
-    public $userList;
-
-    /**
-     * @var PermissionDTO $permissions
-     * @access public
-     */
-    public $permissions;
-
-}
-
-class GetUserList {
-
-    /**
-     * @var string $claimUri
-     * @access public
-     */
-    public $claimUri;
-
-    /**
-     * @var string $claimValue
-     * @access public
-     */
-    public $claimValue;
-
-    /**
-     * @var string $profile
-     * @access public
-     */
-    public $profile;
-
-}
-
-class GetUserListResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class UpdateCredential {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $newCredential
-     * @access public
-     */
-    public $newCredential;
-
-    /**
-     * @var string $oldCredential
-     * @access public
-     */
-    public $oldCredential;
-
-}
-
-class UpdateUserListOfRole {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-    /**
-     * @var string $deletedUsers
-     * @access public
-     */
-    public $deletedUsers;
-
-    /**
-     * @var string $newUsers
-     * @access public
-     */
-    public $newUsers;
-
-}
-
-class UpdateRoleListOfUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $deletedRoles
-     * @access public
-     */
-    public $deletedRoles;
-
-    /**
-     * @var string $newRoles
-     * @access public
-     */
-    public $newRoles;
-
-}
-
-class SetUserClaimValue {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claimURI
-     * @access public
-     */
-    public $claimURI;
-
-    /**
-     * @var string $claimValue
-     * @access public
-     */
-    public $claimValue;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class SetUserClaimValues {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var ClaimValue $claims
-     * @access public
-     */
-    public $claims;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class DeleteUserClaimValue {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claimURI
-     * @access public
-     */
-    public $claimURI;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class DeleteUserClaimValues {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claims
-     * @access public
-     */
-    public $claims;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetHybridRoles {
-    
-}
-
-class GetHybridRolesResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetPasswordExpirationTime {
-
-    /**
-     * @var string $username
-     * @access public
-     */
-    public $username;
-
-}
-
-class GetPasswordExpirationTimeResponse {
-
-    /**
-     * @var long $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class UpdateRoleName {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-    /**
-     * @var string $newRoleName
-     * @access public
-     */
-    public $newRoleName;
-
-}
-
-class ListUsers {
-
-    /**
-     * @var string $filter
-     * @access public
-     */
-    public $filter;
-
-    /**
-     * @var int $maxItemLimit
-     * @access public
-     */
-    public $maxItemLimit;
-
-}
-
-class ListUsersResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class IsExistingUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-}
-
-class IsExistingUserResponse {
-
-    /**
-     * @var boolean $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class IsExistingRole {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-}
-
-class IsExistingRoleResponse {
-
-    /**
-     * @var boolean $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetRoleNames {
-    
-}
-
-class GetRoleNamesResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetProfileNames {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-}
-
-class GetProfileNamesResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetUserListOfRole {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-}
-
-class GetUserListOfRoleResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetUserClaimValue {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $claim
-     * @access public
-     */
-    public $claim;
-
-    /**
-     * @var string $profileName
-     * @access public
-     */
-    public $profileName;
-
-}
-
-class GetUserClaimValueResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetAllProfileNames {
-    
-}
-
-class GetAllProfileNamesResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class UpdateCredentialByAdmin {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $newCredential
-     * @access public
-     */
-    public $newCredential;
-
-}
-
-class DeleteUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-}
-
-class DeleteRole {
-
-    /**
-     * @var string $roleName
-     * @access public
-     */
-    public $roleName;
-
-}
-
-class GetUserId {
-
-    /**
-     * @var string $username
-     * @access public
-     */
-    public $username;
-
-}
-
-class GetUserIdResponse {
-
-    /**
-     * @var int $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetRoleListOfUser {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-}
-
-class getRoleListOfUserResponse {
-
-    /**
-     * @var string $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class GetProperties {
-
-    /**
-     * @var Tenant $tenant
-     * @access public
-     */
-    public $tenant;
-
-}
-
-class GetPropertiesResponse {
-
-    /**
-     * @var Array<string> $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class IsReadOnly {
-    
-}
-
-class IsReadOnlyResponse {
-
-    /**
-     * @var boolean $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class Authenticate {
-
-    /**
-     * @var string $userName
-     * @access public
-     */
-    public $userName;
-
-    /**
-     * @var string $credential
-     * @access public
-     */
-    public $credential;
-
-}
-
-class AuthenticateResponse {
-
-    /**
-     * @var boolean $return
-     * @access public
-     */
-    public $return;
-
-}
-
-class UserStoreException {
-    
-}
-
-/**
- * UserStoreManagerService class
- * 
- */
-class UserStoreManagerStub extends SoapClient {
-
-    private static $classmap = array(
-        'ClaimDTO' => 'ClaimDTO',
-        'PermissionDTO' => 'PermissionDTO',
-        'Tenant' => 'Tenant',
-        'RealmConfiguration' => 'RealmConfiguration',
-        'ClaimValue' => 'ClaimValue',
-        'addUserClaimValues' => 'AddUserClaimValues',
-        'getUserClaimValuesForClaims' => 'GetUserClaimValuesForClaims',
-        'getUserClaimValuesForClaimsResponse' => 'GetUserClaimValuesForClaimsResponse',
-        'getTenantIdofUser' => 'GetTenantIdofUser',
-        'getTenantIdofUserResponse' => 'GetTenantIdofUserResponse',
-        'addUserClaimValue' => 'AddUserClaimValue',
-        'getUserClaimValues' => 'GetUserClaimValues',
-        'getUserClaimValuesResponse' => 'GetUserClaimValuesResponse',
-        'getTenantId' => 'GetTenantId',
-        'getTenantIdResponse' => 'GetTenantIdResponse',
-        'addUser' => 'AddUser',
-        'addRole' => 'AddRole',
-        'getUserList' => 'GetUserList',
-        'getUserListResponse' => 'GetUserListResponse',
-        'updateCredential' => 'UpdateCredential',
-        'updateUserListOfRole' => 'UpdateUserListOfRole',
-        'updateRoleListOfUser' => 'UpdateRoleListOfUser',
-        'setUserClaimValue' => 'SetUserClaimValue',
-        'setUserClaimValues' => 'SetUserClaimValues',
-        'deleteUserClaimValue' => 'DeleteUserClaimValue',
-        'deleteUserClaimValues' => 'DeleteUserClaimValues',
-        'getHybridRoles' => 'GetHybridRoles',
-        'getHybridRolesResponse' => 'GetHybridRolesResponse',
-        'getPasswordExpirationTime' => 'GetPasswordExpirationTime',
-        'getPasswordExpirationTimeResponse' => 'GetPasswordExpirationTimeResponse',
-        'updateRoleName' => 'UpdateRoleName',
-        'listUsers' => 'ListUsers',
-        'listUsersResponse' => 'ListUsersResponse',
-        'isExistingUser' => 'IsExistingUser',
-        'isExistingUserResponse' => 'IsExistingUserResponse',
-        'isExistingRole' => 'IsExistingRole',
-        'isExistingRoleResponse' => 'IsExistingRoleResponse',
-        'getRoleNames' => 'GetRoleNames',
-        'getRoleNamesResponse' => 'GetRoleNamesResponse',
-        'getProfileNames' => 'GetProfileNames',
-        'getProfileNamesResponse' => 'GetProfileNamesResponse',
-        'getUserListOfRole' => 'GetUserListOfRole',
-        'getUserListOfRoleResponse' => 'GetUserListOfRoleResponse',
-        'getUserClaimValue' => 'GetUserClaimValue',
-        'getUserClaimValueResponse' => 'GetUserClaimValueResponse',
-        'getAllProfileNames' => 'GetAllProfileNames',
-        'getAllProfileNamesResponse' => 'GetAllProfileNamesResponse',
-        'updateCredentialByAdmin' => 'UpdateCredentialByAdmin',
-        'deleteUser' => 'DeleteUser',
-        'deleteRole' => 'DeleteRole',
-        'getUserId' => 'GetUserId',
-        'getUserIdResponse' => 'GetUserIdResponse',
-        'getRoleListOfUser' => 'GetRoleListOfUser',
-        'getRoleListOfUserResponse' => 'GetRoleListOfUserResponse',
-        'getProperties' => 'GetProperties',
-        'getPropertiesResponse' => 'GetPropertiesResponse',
-        'isReadOnly' => 'IsReadOnly',
-        'isReadOnlyResponse' => 'IsReadOnlyResponse',
-        'authenticate' => 'Authenticate',
-        'authenticateResponse' => 'AuthenticateResponse',
-        'Tenant' => 'Tenant'
-    );
-
-    public function RemoteUserStoreManagerStub($wsdl, $options = array()) {
-        foreach (self::$classmap as $key => $value) {
-            if (!isset($options['classmap'][$key])) {
-                $options['classmap'][$key] = $value;
-            }
-        }
-        parent::__construct($wsdl, $options);
-    }
-
-    /**
-     * Function to authenticate 
-     *
-     * @param Authenticate $parameters
-     * @return AuthenticateResponse
-     */
-    public function authenticate(Authenticate $parameters) {
-        return $this->__soapCall('authenticate', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function get user list
-     *
-     * @param GetUserList $parameters
-     * @return GetUserListResponse
-     */
-    public function getUserList(GetUserList $parameters) {
-        return $this->__soapCall('getUserList', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the user claim value
-     *
-     * @param GetUserClaimValue $parameters
-     * @return GetUserClaimValueResponse
-     */
-    public function getUserClaimValue(GetUserClaimValue $parameters) {
-        return $this->__soapCall('getUserClaimValue', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the user list of role
-     *
-     * @param GetUserListOfRole $parameters
-     * @return GetUserListOfRoleResponse
-     */
-    public function getUserListOfRole(GetUserListOfRole $parameters) {
-        return $this->__soapCall('getUserListOfRole', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to check whether the service is read only 
-     *
-     * @param IsReadOnly $parameters
-     * @return IsReadOnlyResponse
-     */
-    public function isReadOnly(IsReadOnly $parameters) {
-        return $this->__soapCall('isReadOnly', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to update the credentials
-     *
-     * @param UpdateCredential $parameters
-     * @return void
-     */
-    public function updateCredential(UpdateCredential $parameters) {
-        return $this->__soapCall('updateCredential', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to set user claim value 
-     *
-     * @param SetUserClaimValue $parameters
-     * @return void
-     */
-    public function setUserClaimValue(setUserClaimValue $parameters) {
-        return $this->__soapCall('setUserClaimValue', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the claim values for claims
-     *
-     * @param GetUserClaimValuesForClaims $parameters
-     * @return GetUserClaimValuesForClaimsResponse
-     */
-    public function getUserClaimValuesForClaims(GetUserClaimValuesForClaims $parameters) {
-        return $this->__soapCall('getUserClaimValuesForClaims', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to delete user claim values 
-     *
-     * @param DeleteUserClaimValues $parameters
-     * @return void
-     */
-    public function deleteUserClaimValues(DeleteUserClaimValues $parameters) {
-        return $this->__soapCall('deleteUserClaimValues', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to delete user claim value 
-     *
-     * @param DeleteUserClaimValue $parameters
-     * @return void
-     */
-    public function deleteUserClaimValue(DeleteUserClaimValue $parameters) {
-        return $this->__soapCall('deleteUserClaimValue', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to check whether use is existing 
-     *
-     * @param IsExistingUser $parameters
-     * @return IsExistingUserResponse
-     */
-    public function isExistingUser(IsExistingUser $parameters) {
-        return $this->__soapCall('isExistingUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to update credential by admin
-     *
-     * @param UpdateCredentialByAdmin $parameters
-     * @return void
-     */
-    public function updateCredentialByAdmin(UpdateCredentialByAdmin $parameters) {
-        return $this->__soapCall('updateCredentialByAdmin', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the tenant id
-     *
-     * @param GetTenantId $parameters
-     * @return GetTenantIdResponse
-     */
-    public function getTenantId(GetTenantId $parameters) {
-        return $this->__soapCall('getTenantId', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get role names 
-     *
-     * @param GetRoleNames $parameters
-     * @return GetRoleNamesResponse
-     */
-    public function getRoleNames(GetRoleNames $parameters) {
-        return $this->__soapCall('getRoleNames', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Funtion to get properties
-     *
-     * @param GetProperties $parameters
-     * @return GetPropertiesResponse
-     */
-    public function getProperties(GetProperties $parameters) {
-        return $this->__soapCall('getProperties', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get user id
-     *
-     * @param GetUserId $parameters
-     * @return GetUserIdResponse
-     */
-    public function getUserId(GetUserId $parameters) {
-        return $this->__soapCall('getUserId', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get all the profile names  
-     *
-     * @param GetAllProfileNames $parameters
-     * @return GetAllProfileNamesResponse
-     */
-    public function getAllProfileNames(GetAllProfileNames $parameters) {
-        return $this->__soapCall('getAllProfileNames', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the password expiration time 
-     *
-     * @param GetPasswordExpirationTime $parameters
-     * @return GetPasswordExpirationTimeResponse
-     */
-    public function getPasswordExpirationTime(GetPasswordExpirationTime $parameters) {
-        return $this->__soapCall('getPasswordExpirationTime', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to list users
-     *
-     * @param ListUsers $parameters
-     * @return ListUsersResponse
-     */
-    public function listUsers(ListUsers $parameters) {
-        return $this->__soapCall('listUsers', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to delete role 
-     *
-     * @param DeleteRole $parameters
-     * @return void
-     */
-    public function deleteRole(DeleteRole $parameters) {
-        return $this->__soapCall('deleteRole', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to delete user 
-     *
-     * @param DeleteUser $parameters
-     * @return void
-     */
-    public function deleteUser(DeleteUser $parameters) {
-        return $this->__soapCall('deleteUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function get the role list of the user 
-     *
-     * @param GetRoleListOfUser $parameters
-     * @return GetRoleListOfUserResponse
-     */
-    public function getRoleListOfUser(GetRoleListOfUser $parameters) {
-        return $this->__soapCall('getRoleListOfUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to update the role name
-     *
-     * @param UpdateRoleName $parameters
-     * @return void
-     */
-    public function updateRoleName(UpdateRoleName $parameters) {
-        return $this->__soapCall('updateRoleName', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to check whether a role is existing 
-     *
-     * @param IsExistingRole $parameters
-     * @return IsExistingRoleResponse
-     */
-    public function isExistingRole(IsExistingRole $parameters) {
-        return $this->__soapCall('isExistingRole', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to update role list of user 
-     *
-     * @param UpdateRoleListOfUser $parameters
-     * @return void
-     */
-    public function updateRoleListOfUser(UpdateRoleListOfUser $parameters) {
-        return $this->__soapCall('updateRoleListOfUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get user claim values 
-     *
-     * @param GetUserClaimValues $parameters
-     * @return GetUserClaimValuesResponse
-     */
-    public function getUserClaimValues(GetUserClaimValues $parameters) {
-        return $this->__soapCall('getUserClaimValues', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get hybrid roles
-     *
-     * @param GetHybridRoles $parameters
-     * @return GetHybridRolesResponse
-     */
-    public function getHybridRoles(GetHybridRoles $parameters) {
-        return $this->__soapCall('getHybridRoles', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to add user claim values 
-     *
-     * @param AddUserClaimValues $parameters
-     * @return void
-     */
-    public function addUserClaimValues(AddUserClaimValues $parameters) {
-        return $this->__soapCall('addUserClaimValues', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to add user 
-     *
-     * @param AddUser $parameters
-     * @return void
-     */
-    public function addUser(AddUser $parameters) {
-        return $this->__soapCall('addUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to add role 
-     *
-     * @param AddRole $parameters
-     * @return void
-     */
-    public function addRole(AddRole $parameters) {
-        return $this->__soapCall('addRole', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to update user list of roles 
-     *
-     * @param UpdateUserListOfRole $parameters
-     * @return void
-     */
-    public function updateUserListOfRole(UpdateUserListOfRole $parameters) {
-        return $this->__soapCall('updateUserListOfRole', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the tenant Id 
-     *
-     * @param GetTenantIdofUser $parameters
-     * @return GetTenantIdofUserResponse
-     */
-    public function getTenantIdofUser(GetTenantIdofUser $parameters) {
-        return $this->__soapCall('getTenantIdofUser', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to set user claim values 
-     *
-     * @param SetUserClaimValues $parameters
-     * @return void
-     */
-    public function setUserClaimValues(SetUserClaimValues $parameters) {
-        return $this->__soapCall('setUserClaimValues', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to add user claim value 
-     *
-     * @param AddUserClaimValue $parameters
-     * @return void
-     */
-    public function addUserClaimValue(AddUserClaimValue $parameters) {
-        return $this->__soapCall('addUserClaimValue', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-    /**
-     * Function to get the profile names
-     *
-     * @param GetProfileNames $parameters
-     * @return GetProfileNamesResponse
-     */
-    public function getProfileNames(GetProfileNames $parameters) {
-        return $this->__soapCall('getProfileNames', array($parameters), array(
-                    'uri' => 'http://service.ws.um.carbon.wso2.org',
-                    'soapaction' => ''
-        ));
-    }
-
-}
-
-?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/WSISClient.php
----------------------------------------------------------------------
diff --git a/app/libraries/WSISClient.php b/app/libraries/WSISClient.php
deleted file mode 100755
index 47e242d..0000000
--- a/app/libraries/WSISClient.php
+++ /dev/null
@@ -1,282 +0,0 @@
-<?php
-
-require_once 'UserStoreManager/UserStoreManager.php';
-
-/**
- * WSISClient class
- * 
- * This class provides a unified interface for the
- * WSO2 IS 4.6.0 service APIs.
- */
-class WSISClient {
-
-    /**
-     * @var UserStoreManager
-     * @access private
-     */
-    private $userStoreManager;
-
-    /**
-     * @var string
-     * @access private
-     */
-    private $server;
-    
-    /**
-     * @var string
-     * @access private
-     */
-    private $service_url;
-
-
-    /**
-     * Constructor
-     * 
-     * @param string $admin_username
-     * @param string $admin_password
-     * @param string $server
-     * @param string $service_url
-     * @param string $cafile_path
-     * @param bool   $verify_peer
-     * @param bool   $allow_selfsigned_cer
-     * @throws Exception
-     */
-    public function __construct($admin_username, $admin_password = null, $server,
-            $service_url,$cafile_path, $verify_peer, $allow_selfsigned_cert) {
-        
-        $context = stream_context_create(array(
-            'ssl' => array(
-                'verify_peer' => $verify_peer,
-                "allow_self_signed"=> $allow_selfsigned_cert,
-                'cafile' => $cafile_path,
-                'CN_match' => $server,
-        )));
-
-        $parameters = array(
-            'login' => $admin_username,
-            'password' => $admin_password,
-            'stream_context' => $context,
-            'trace' => 1,
-            'features' => SOAP_WAIT_ONE_WAY_CALLS
-        );
-
-        $this->server = $server;
-        $this->service_url = $service_url;
-        
-        try {
-            $this->userStoreManager = new UserStoreManager($service_url, $parameters);
-        } catch (Exception $ex) {
-            print_r( $ex); exit;
-            throw new Exception("Unable to instantiate client", 0, $ex);
-        }
-    }
-
-    
-    /**
-     * Function to add new user
-     * 
-     * @param string $userName
-     * @param string $password
-     * @return void
-     * @throws Exception
-     */
-    public function addUser($userName, $password, $fullName) {
-        try {
-            $this->userStoreManager->addUser($userName, $password, $fullName);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to add new user", 0, $ex);
-        }
-    }
-    
-    /**
-     * Function to delete existing user
-     * 
-     * @param string $username
-     * @return void
-     * @throws Exception
-     */
-    public function deleteUser($username) {
-        try {
-            $this->userStoreManager->deleteUser($username);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to delete user", 0, $ex);
-        }
-    }
-
-    
-    /**
-     * Function to authenticate user
-     * 
-     * @param string $username
-     * @param string $password
-     * @return boolean
-     * @throws Exception
-     */
-    public function authenticate($username, $password){
-        try {
-            return $this->userStoreManager->authenticate($username, $password);
-        } catch (Exception $ex) {
-            var_dump( $ex); exit;
-            throw new Exception("Unable to authenticate user", 0, $ex);
-        }
-    }
-    
-    /**
-     * Function to check whether username exists
-     * 
-     * @param string $username
-     * @return boolean
-     * @throws Exception
-     */
-    public function username_exists($username){
-        try {
-            return $this->userStoreManager->isExistingUser($username);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to verify username exists", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to check whether a role is existing 
-     *
-     * @param string $roleName 
-     * @return IsExistingRoleResponse
-     */
-    public function is_existing_role( $roleName){
-        try {
-            return $this->userStoreManager->isExistingRole( $roleName);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to check if the role exists", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to add new role by providing the role name.
-     * 
-     * @param string $roleName
-     */
-    public function add_role($roleName){
-        try {
-            return $this->userStoreManager->addRole( $roleName);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to add this role", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to delete existing role
-     * 
-     * @param string $roleName
-     * @return void
-     * @throws Exception
-     */
-    public function delete_role($roleName) {
-        try {
-            $this->userStoreManager->deleteRole($roleName);
-        } catch (Exception $ex) {
-                        var_dump( $ex); exit;
-
-            throw new Exception("Unable to delete role", 0, $ex);
-        }
-    }
-    
-    /**
-    * Function to get the list of all existing roles
-    *
-    * @return roles list
-    */
-    public function get_all_roles(){
-        try {
-            return $this->userStoreManager->getRoleNames();
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get all roles", 0, $ex);
-        }
-    }
-
-    /**
-    * Function to get role of a user
-    *
-    * @return user role
-    */
-    public function get_user_roles( $username){
-        try {
-            return $this->userStoreManager->getRoleListOfUser( $username);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get User roles.", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to get the user list of role
-     *
-     * @param GetUserListOfRole $parameters
-     * @return GetUserListOfRoleResponse
-     */
-    public function get_userlist_of_role( $role){
-        try {
-            return $this->userStoreManager->getUserListOfRole( $role);
-        } catch (Exception $ex) {
-            var_dump( $ex); exit;
-            throw new Exception("Unable to get user list of roles.", 0, $ex);
-        }   
-    }
-
-    /**
-     * Function to update role list of user 
-     *
-     * @param UpdateRoleListOfUser $parameters
-     * @return void
-     */
-    public function update_user_roles( $username, $roles){
-        try {
-            return $this->userStoreManager->updateRoleListOfUser( $username, $roles);
-        } catch (Exception $ex) {
-            throw new Exception("Unable to update role of the user.", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to list users
-     *
-     * @param void
-     * @return void
-     */
-    public function list_users(){
-        try {
-            return $this->userStoreManager->listUsers();
-        } catch (Exception $ex) {
-            var_dump( $ex->debug_message); 
-            throw new Exception("Unable to list users.", 0, $ex);
-        }
-    }
-
-    /**
-     * Function to get the tenant id
-     *
-     * @param GetTenantId $parameters
-     * @return GetTenantIdResponse
-     */
-    public function get_tenant_id(){
-        try {
-            return $this->userStoreManager->getTenantId();
-        } catch (Exception $ex) {
-            var_dump( $ex->debug_message); 
-            throw new Exception("Unable to get the tenant Id.", 0, $ex);
-        }
-    }
-
-    /**
-    * Function create a new Tenant
-    *
-    * @param Tenant $parameters
-    * @return void
-    */
-    public function create_tenant( $inputs){
-        try {
-            return $this->userStoreManager->createTenant( $inputs);
-        } catch (Exception $ex) {
-            var_dump( $ex); 
-            throw new Exception("Unable to create Tenant.", 0, $ex);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/userapi_config.ini
----------------------------------------------------------------------
diff --git a/app/libraries/userapi_config.ini b/app/libraries/userapi_config.ini
deleted file mode 100755
index ad96b5d..0000000
--- a/app/libraries/userapi_config.ini
+++ /dev/null
@@ -1,14 +0,0 @@
-;Tenant admin's username
-admin-username = "admin@phprg.scigap.org"
-
-;Tenant admin's password
-admin-password = "prodphprgadmin@scigap.org"
-
-;user api server host
-server-host = "gw127.iu.xsede.org"
-
-;user api server port
-server-port = "9930"
-
-;thrift transport timeout
-thrift-timeout = "5000"

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/userapi_utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/userapi_utilities.php b/app/libraries/userapi_utilities.php
deleted file mode 100755
index 31cf1f7..0000000
--- a/app/libraries/userapi_utilities.php
+++ /dev/null
@@ -1,394 +0,0 @@
-<?php
-/**
- * Basic Airavata UserAPI utility functions
- */
-/**
- * Import Thrift and Airavata
- */
-/*$GLOBALS['THRIFT_ROOT'] = './lib/Thrift/';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Transport/TTransport.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Transport/TSocket.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Protocol/TProtocol.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Protocol/TBinaryProtocol.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Exception/TException.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Exception/TApplicationException.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Exception/TProtocolException.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Base/TBase.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Type/TType.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Type/TMessageType.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'Factory/TStringFuncFactory.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'StringFunc/TStringFunc.php';
-require_once $GLOBALS['THRIFT_ROOT'] . 'StringFunc/Core.php';
-
-$GLOBALS['AIRAVATA_ROOT'] = './lib/Airavata/';
-require_once $GLOBALS['AIRAVATA_ROOT'] . 'UserAPI/UserAPI.php';
-require_once $GLOBALS['AIRAVATA_ROOT'] . 'UserAPI/Models/Types.php';
-require_once $GLOBALS['AIRAVATA_ROOT'] . 'UserAPI/Error/Types.php';
-require_once $GLOBALS['AIRAVATA_ROOT'] . 'UserAPI/Types.php';
-
-require_once './lib/UserAPIClientFactory.php';
-require_once './id_utilities.php';
-require_once './wsis_utilities.php';
-
-use \Airavata\UserAPI\UserAPIClient;
-use \Airavata\UserAPI\UserAPIClientFactory;
-use \Airavata\UserAPI\Models\UserProfile;
-use \Airavata\UserAPI\Models\APIPermissions;
-use \Airavata\UserAPI\Models\AuthenticationResponse;
-
-/**
- * Utilities for ID management with Airavata UserAPI*/
- */
-
-class UserAPIUtilities implements IdUtilities{
-
-    const USER_API_CONFIG_PATH = 'userapi_config.ini';
-
-    /**
-     * UserAPI client
-     *
-     * @var UserAPIClient
-     * @access private
-     */
-    private $userapi_client;
-
-
-    /**
-     * UserAPI client factory
-     *
-     * @var UserAPIClientFactory
-     * @access private
-     */
-    private $userapi_client_factory;
-
-    /**
-     * Path to the user api token file
-     */
-    const USERAPI_TOKEN_DB_PATH = 'userapi_tokens.xml';
-
-    /**
-     * Connect to the identity store.
-     * @return mixed|void
-     */
-    public function connect() {
-        try {
-            global $userapi_config;
-
-            if (file_exists(self::USER_API_CONFIG_PATH)) {
-                $userapi_config = parse_ini_file(self::USER_API_CONFIG_PATH);
-            } else {
-                throw new Exception("Error: Cannot open userapi_config.xml file!");
-            }
-
-            if (!$userapi_config) {
-                throw new Exception('Error: Unable to read userapi_config.xml!');
-            }
-
-            $properties = array();
-            $properties['userapiServerHost'] = $userapi_config['server-host'];
-            $properties['userapiServerPort'] = $userapi_config['server-port'];
-            $properties['thriftTimeout'] = $userapi_config['thrift-timeout'];
-
-            $this->userapi_client_factory = new UserAPIClientFactory($properties);
-            $this->userapi_client = $this->userapi_client_factory->getUserAPIClient();
-            //testing the API
-            $this->userapi_client->getAPIVersion();
-        } catch (Exception $ex) {
-            print_r( $ex); exit;
-            throw new Exception('Unable to instantiate UserAPI client.', 0, NULL);
-        }
-    }
-
-    /**
-     * Return true if the given username exists in the identity server.
-     * @param $username
-     * @return bool
-     */
-    public function username_exists($username) {
-        try{
-            return $this->userapi_client->checkUsernameExists($username,$this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to check whether username exists", 0, NULL);
-        }
-
-    }
-
-    /**
-     * authenticate a given user
-     * @param $username
-     * @param $password
-     * @return boolean
-     */
-    public function authenticate($username, $password) {
-        try{
-            $apiPermissions = $this->userapi_client->authenticateUser($username, $password, $this->getAPIToken());
-            return true;
-        } catch (Exception $ex) {
-            throw new Exception("Unable to authenticate user", 0, NULL);
-        }
-    }
-
-    /**
-     * Add a new user to the identity server.
-     * @param $username
-     * @param $password
-     * @return void
-     */
-    public function add_user($username, $password, $first_name, $last_name, $email, $organization,
-                             $address, $country,$telephone, $mobile, $im, $url) {
-        try{
-            $profile = new UserProfile();
-            $profile->firstName = $first_name;
-            $profile->lastName = $last_name;
-            $profile->emailAddress = $email;
-            $profile->organization = $organization;
-            $profile->address = $address;
-            $profile->country = $country;
-            $profile->telephone = $telephone;
-            $profile->mobile = $mobile;
-            $profile->im = $im;
-            $profile->url = $url;
-
-            $this->userapi_client->createNewUser($username, $password, $profile, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to add new user", 0, NULL);
-        }
-    }
-
-    /**
-     * Get the user profile
-     * @param $username
-     * @return mixed|void
-     */
-    public function get_user_profile($username)
-    {
-        try{
-            $profile_obj = $this->userapi_client->getUserProfile($username, $this->getAPIToken());
-            $profile_arr = array();
-            $profile_arr['first_name'] = $profile_obj->firstName;
-            $profile_arr['last_name'] = $profile_obj->lastName;
-            $profile_arr['email_address'] = $profile_obj->emailAddress;
-            $profile_arr['organization'] = $profile_obj->organization;
-            $profile_arr['address'] = $profile_obj->address;
-            $profile_arr['country'] = $profile_obj->country;
-            $profile_arr['telephone'] = $profile_obj->telephone;
-            $profile_arr['mobile'] = $profile_obj->mobile;
-            $profile_arr['im'] = $profile_obj->im;
-            $profile_arr['url'] = $profile_obj->url;
-            return $profile_arr;
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get user profile", 0, NULL);
-        }
-    }
-
-    /**
-     * Update the user profile
-     *
-     * @param $username
-     * @param $first_name
-     * @param $last_name
-     * @param $email
-     * @param $organization
-     * @param $address
-     * @param $country
-     * @param $telephone
-     * @param $mobile
-     * @param $im
-     * @param $url
-     * @return mixed
-     */
-    public function update_user_profile($username, $first_name, $last_name, $email, $organization, $address,
-                                        $country, $telephone, $mobile, $im, $url)
-    {
-        try{
-            $profile = new UserProfile();
-            $profile->firstName = $first_name;
-            $profile->lastName = $last_name;
-            $profile->emailAddress = $email;
-            $profile->organization = $organization;
-            $profile->address = $address;
-            $profile->country = $country;
-            $profile->telephone = $telephone;
-            $profile->mobile = $mobile;
-            $profile->im = $im;
-            $profile->url = $url;
-            $this->userapi_client->updateUserProfile($username, $profile, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to update user profile", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to update user password
-     *
-     * @param $username
-     * @param $current_password
-     * @param $new_password
-     * @return mixed
-     */
-    public function change_password($username, $current_password, $new_password)
-    {
-        try{
-            $this->userapi_client->updateUserPassword($username, $new_password, $current_password, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to update user password", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to get the API token for the gateway
-     * @throws Exception
-     */
-    private function getAPIToken(){
-        $userapi_token_db = simplexml_load_file(self::USERAPI_TOKEN_DB_PATH);
-        $userapi_config = parse_ini_file(self::USER_API_CONFIG_PATH);
-        $token = $userapi_token_db->userapi_token[0]->token_string;
-        $issue_time = $userapi_token_db->userapi_token[0]->issue_time;
-        $life_time = $userapi_token_db->userapi_token[0]->life_time;
-        if (file_exists(self::USER_API_CONFIG_PATH)) {
-            if(empty($token) || (time()-$issue_time )>($life_time-5000)){
-                $authenticationResponse  = $this->userapi_client->authenticateGateway($userapi_config['admin-username'],
-                    $userapi_config['admin-password']);
-                $userapi_token_db->userapi_token[0]->token_string = $authenticationResponse->accessToken;
-                $token = $authenticationResponse->accessToken;
-                $userapi_token_db->userapi_token[0]->issue_time = time();
-                $userapi_token_db->userapi_token[0]->life_time = $authenticationResponse->expiresIn;
-
-                //Format XML to save indented tree rather than one line
-                $dom = new DOMDocument('1.0');
-                $dom->preserveWhiteSpace = false;
-                $dom->formatOutput = true;
-                $dom->loadXML($userapi_token_db->asXML());
-                $dom->save(self::USERAPI_TOKEN_DB_PATH);
-            }
-        } else {
-            throw new Exception("Error: Cannot open userapi_config.xml file!");
-        }
-        return $token;
-    }
-
-    /**
-     * Function to remove an existing user
-     *
-     * @param $username
-     * @return void
-     */
-    public function remove_user($username)
-    {
-        try{
-            $this->userapi_client->removeUser($username, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to remove user", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to check whether a user has permission for a particular permission string(api method).
-     *
-     * @param $username
-     * @param $permission_string
-     * @return bool
-     */
-    public function checkPermissionForUser($username, $permission_string)
-    {
-        try{
-            return $this->userapi_client->checkPermission($username,$permission_string, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to check permission for user", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to get all the permissions that a particular user has.
-     *
-     * @param $username
-     * @return mixed
-     */
-    public function getUserPermissions($username)
-    {
-        try{
-            $apiPermissions = $this->userapi_client->getUserPermissions($username, $this->getAPIToken());
-            $result['airavata-api'] = $apiPermissions->airavataAPIPermissions;
-            $result['app-catalog'] = $apiPermissions->airavataAppCatalogPermissions;
-            return $result;
-        } catch (Exception $ex) {
-            throw new Exception("Unable add user to role", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to get the entire list of roles in the application
-     *
-     * @return mixed
-     */
-    public function getRoleList()
-    {
-        try{
-            return $this->userapi_client->getAllRoleNames($this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get roles list", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to get the role list of a user
-     *
-     * @param $username
-     * @return mixed
-     */
-    public function getRoleListOfUser($username)
-    {
-        try{
-            return $this->userapi_client->getRoleListOfUser($username, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get role list of user", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to get the user list of a particular role
-     *
-     * @param $role
-     * @return mixed
-     */
-    public function getUserListOfRole($role)
-    {
-        try{
-            return $this->userapi_client->getUserListOfRole($role, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to get user list of role", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to add a role to a user
-     *
-     * @param $username
-     * @param $role
-     * @return mixed
-     */
-    public function addUserToRole($username, $role)
-    {
-        try{
-            return $this->userapi_client->addUserToRole($username,$role, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to add user to role", 0, NULL);
-        }
-    }
-
-    /**
-     * Function to role from user
-     *
-     * @param $username
-     * @param $role
-     * @return mixed
-     */
-    public function removeUserFromRole($username, $role)
-    {
-        try{
-            return $this->userapi_client->removeUserFromRole($username,$role, $this->getAPIToken());
-        } catch (Exception $ex) {
-            throw new Exception("Unable to remove user from role", 0, NULL);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/utilities.php b/app/libraries/utilities.php
index a456673..56d460e 100644
--- a/app/libraries/utilities.php
+++ b/app/libraries/utilities.php
@@ -207,9 +207,6 @@ public static function connect_to_id_store()
         case 'XML':
             $idStore = new XmlIdUtilities(); // XML user database
             break;
-        case 'USER_API':
-            $idStore = new UserAPIUtilities(); // Airavata UserAPI
-            break;
     }
 
     try

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2040a6d4/app/libraries/wsis_config.ini
----------------------------------------------------------------------
diff --git a/app/libraries/wsis_config.ini b/app/libraries/wsis_config.ini
deleted file mode 100755
index 6afe638..0000000
--- a/app/libraries/wsis_config.ini
+++ /dev/null
@@ -1,27 +0,0 @@
-;Tenant admin's username
-;admin-username = "test@testphprg.scigap.org"
-;Super Tenant Admin's username
-admin-username = "scigap_admin"
-
-;Tenant admin's password
-;admin-password = "testadmin@scigap.org"
-;Super Tenant Admin's username
-admin-password = "sci9067@min"
-
-;Identity server domain
-server = "idp.scigap.org"
-
-;Identity server web services endpoint
-service-url = "https://idp.scigap.org:7443/services/"
-
-;Gateway Domain Name 
-gateway-id = "airavata.org"
-
-;Path the to server certificate file
-cafile-path = "/resources/security/idp_scigap_org.pem"
-
-;Enable HTTPS server verification
-verify-peer = true
-
-;Allow self signed server certificates
-allow-self-signed = false
\ No newline at end of file


[3/4] airavata-php-gateway git commit: adding package configurations

Posted by sm...@apache.org.
adding package configurations


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/244cb4b8
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/244cb4b8
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/244cb4b8

Branch: refs/heads/master
Commit: 244cb4b8f214c3a844a67d217207b5900f742678
Parents: 2040a6d
Author: Supun Nakandala <su...@gmail.com>
Authored: Sun May 3 14:43:29 2015 +0530
Committer: Supun Nakandala <su...@gmail.com>
Committed: Sun May 3 14:43:29 2015 +0530

----------------------------------------------------------------------
 app/config/packages/airavata/wsis/config.php | 52 +++++++++++++++++++++++
 1 file changed, 52 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/244cb4b8/app/config/packages/airavata/wsis/config.php
----------------------------------------------------------------------
diff --git a/app/config/packages/airavata/wsis/config.php b/app/config/packages/airavata/wsis/config.php
new file mode 100644
index 0000000..9041036
--- /dev/null
+++ b/app/config/packages/airavata/wsis/config.php
@@ -0,0 +1,52 @@
+<?php
+return array(
+    /**
+     * Admin Role Name
+     */
+    'admin-role-name' => 'admin',
+
+    /**
+     * Gateway user role
+     */
+    'gateway-admin' => 'Internal/everyone',
+
+    /**
+     * Tenant admin's username
+     */
+    'admin-username' => 'test@testphprg.scigap.org',
+
+    /**
+     * Tenant admin's password
+     */
+    'admin-password' => 'testadmin@scigap.org',
+
+    /**
+     * Identity server domain
+     */
+    'server' => 'idp.scigap.org',
+
+    /**
+     * Identity server web services endpoint
+     */
+    'service-url' => 'https://idp.scigap.org:7443/services/',
+
+    /**
+     * Gateway domain name
+     */
+    'gateway-id' => 'default',
+
+    /**
+     * Path to the server certificate file
+     */
+    'cafile-path' => app_path() . '/resources/security/idp_scigap_org.pem',
+
+    /**
+     * Enable HTTPS server verification
+     */
+    'verify-peer' => true,
+
+    /**
+     * Allow self signed server certificates
+     */
+    'allow-self-signed' => false
+);
\ No newline at end of file


[4/4] airavata-php-gateway git commit: Merge branch 'master' of https://github.com/apache/airavata-php-gateway

Posted by sm...@apache.org.
Merge branch 'master' of https://github.com/apache/airavata-php-gateway


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/e3fce17c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/e3fce17c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/e3fce17c

Branch: refs/heads/master
Commit: e3fce17c27e9f3270acb264601c08c25e7aa3647
Parents: 244cb4b 71079c5
Author: Supun Nakandala <su...@gmail.com>
Authored: Sun May 3 14:59:39 2015 +0530
Committer: Supun Nakandala <su...@gmail.com>
Committed: Sun May 3 14:59:39 2015 +0530

----------------------------------------------------------------------
 app/config/app_config.ini                       |   91 +
 app/controllers/ExperimentController.php        |   42 +-
 app/controllers/ResourceController.php          |  238 +
 app/libraries/Utilities.php                     | 2098 ++++++++
 app/routes.php                                  |    7 +-
 app/storage/.gitignore                          |    0
 app/storage/cache/.gitignore                    |    0
 app/storage/logs/.gitignore                     |    0
 app/storage/meta/.gitignore                     |    0
 app/storage/sessions/.gitignore                 |    0
 app/storage/views/.gitignore                    |    0
 app/views/experiment/create-complete.blade.php  |   18 +-
 app/views/layout/basic.blade.php                |   15 +-
 app/views/partials/experiment-inputs.blade.php  |   53 +-
 .../partials/experiment-queue-block.blade.php   |  107 +
 composer.lock                                   | 1701 +++++++
 vendor/apache/thrift                            |    1 +
 vendor/autoload.php                             |    7 +
 vendor/bin/boris                                |    1 +
 vendor/bin/classpreloader.php                   |    1 +
 vendor/classpreloader/classpreloader/.gitignore |    2 +
 vendor/classpreloader/classpreloader/LICENSE.md |   19 +
 vendor/classpreloader/classpreloader/README.md  |  108 +
 .../classpreloader/classpreloader.php           |   10 +
 .../classpreloader/classpreloader/composer.json |   28 +
 .../src/ClassPreloader/Application.php          |   33 +
 .../src/ClassPreloader/ClassList.php            |   87 +
 .../src/ClassPreloader/ClassLoader.php          |  110 +
 .../src/ClassPreloader/ClassNode.php            |   36 +
 .../Command/PreCompileCommand.php               |  216 +
 .../src/ClassPreloader/Config.php               |  133 +
 .../Parser/AbstractNodeVisitor.php              |   48 +
 .../src/ClassPreloader/Parser/DirVisitor.php    |   16 +
 .../src/ClassPreloader/Parser/FileVisitor.php   |   16 +
 .../src/ClassPreloader/Parser/NodeTraverser.php |   21 +
 vendor/composer/ClassLoader.php                 |  413 ++
 vendor/composer/autoload_classmap.php           | 2121 ++++++++
 vendor/composer/autoload_files.php              |   13 +
 vendor/composer/autoload_namespaces.php         |   41 +
 vendor/composer/autoload_psr4.php               |   10 +
 vendor/composer/autoload_real.php               |   59 +
 vendor/composer/include_paths.php               |   10 +
 vendor/composer/installed.json                  | 1743 +++++++
 vendor/d11wtq/boris/.gitignore                  |    4 +
 vendor/d11wtq/boris/CONTRIBUTING.md             |   14 +
 vendor/d11wtq/boris/LICENSE                     |   20 +
 vendor/d11wtq/boris/README.md                   |   63 +
 vendor/d11wtq/boris/bin/boris                   |   18 +
 vendor/d11wtq/boris/box.json                    |   14 +
 vendor/d11wtq/boris/composer.json               |   17 +
 vendor/d11wtq/boris/lib/Boris/Boris.php         |  178 +
 .../boris/lib/Boris/CLIOptionsHandler.php       |   92 +
 .../d11wtq/boris/lib/Boris/ColoredInspector.php |  241 +
 vendor/d11wtq/boris/lib/Boris/Config.php        |   88 +
 vendor/d11wtq/boris/lib/Boris/DumpInspector.php |   16 +
 vendor/d11wtq/boris/lib/Boris/EvalWorker.php    |  275 ++
 .../d11wtq/boris/lib/Boris/ExportInspector.php  |   14 +
 vendor/d11wtq/boris/lib/Boris/Inspector.php     |   18 +
 .../d11wtq/boris/lib/Boris/ReadlineClient.php   |  106 +
 vendor/d11wtq/boris/lib/Boris/ShallowParser.php |  258 +
 vendor/d11wtq/boris/lib/autoload.php            |   17 +
 vendor/d11wtq/boris/release.php                 |  150 +
 vendor/filp/whoops/LICENSE.md                   |   19 +
 vendor/filp/whoops/composer.json                |   33 +
 .../src/Whoops/Exception/ErrorException.php     |   17 +
 .../whoops/src/Whoops/Exception/Formatter.php   |   74 +
 .../filp/whoops/src/Whoops/Exception/Frame.php  |  269 +
 .../src/Whoops/Exception/FrameCollection.php    |  191 +
 .../whoops/src/Whoops/Exception/Inspector.php   |  161 +
 .../src/Whoops/Handler/CallbackHandler.php      |   52 +
 .../filp/whoops/src/Whoops/Handler/Handler.php  |   89 +
 .../src/Whoops/Handler/HandlerInterface.php     |   37 +
 .../src/Whoops/Handler/JsonResponseHandler.php  |   90 +
 .../src/Whoops/Handler/PlainTextHandler.php     |  331 ++
 .../src/Whoops/Handler/PrettyPageHandler.php    |  468 ++
 .../src/Whoops/Handler/SoapResponseHandler.php  |   49 +
 .../src/Whoops/Handler/XmlResponseHandler.php   |   99 +
 .../Provider/Phalcon/WhoopsServiceProvider.php  |   78 +
 .../Provider/Silex/WhoopsServiceProvider.php    |  111 +
 .../src/Whoops/Resources/css/whoops.base.css    |  423 ++
 .../src/Whoops/Resources/js/whoops.base.js      |   79 +
 .../whoops/src/Whoops/Resources/js/zepto.min.js |    2 +
 .../Whoops/Resources/views/env_details.html.php |   39 +
 .../Whoops/Resources/views/frame_code.html.php  |   52 +
 .../Whoops/Resources/views/frame_list.html.php  |   17 +
 .../src/Whoops/Resources/views/header.html.php  |   34 +
 .../src/Whoops/Resources/views/layout.html.php  |   37 +
 vendor/filp/whoops/src/Whoops/Run.php           |  408 ++
 vendor/filp/whoops/src/Whoops/Util/Misc.php     |   44 +
 .../whoops/src/Whoops/Util/TemplateHelper.php   |  154 +
 .../src/deprecated/Zend/ExceptionStrategy.php   |   63 +
 .../filp/whoops/src/deprecated/Zend/Module.php  |  107 +
 .../deprecated/Zend/RouteNotFoundStrategy.php   |   67 +
 .../deprecated/Zend/module.config.example.php   |   20 +
 vendor/ircmaxell/password-compat/LICENSE.md     |    7 +
 vendor/ircmaxell/password-compat/composer.json  |   20 +
 .../ircmaxell/password-compat/lib/password.php  |  314 ++
 .../ircmaxell/password-compat/version-test.php  |    6 +
 vendor/jeremeamia/SuperClosure/.gitignore       |    8 +
 vendor/jeremeamia/SuperClosure/.travis.yml      |   20 +
 vendor/jeremeamia/SuperClosure/LICENSE.md       |   18 +
 vendor/jeremeamia/SuperClosure/README.md        |  124 +
 vendor/jeremeamia/SuperClosure/composer.json    |   23 +
 .../jeremeamia/SuperClosure/demo/factorial.php  |   23 +
 .../SuperClosure/demo/hello-world.php           |   23 +
 vendor/jeremeamia/SuperClosure/phpunit.xml.dist |   34 +
 .../Jeremeamia/SuperClosure/ClosureLocation.php |   77 +
 .../Jeremeamia/SuperClosure/ClosureParser.php   |  195 +
 .../SuperClosure/SerializableClosure.php        |  114 +
 .../Visitor/ClosureFinderVisitor.php            |  109 +
 .../Visitor/MagicConstantVisitor.php            |   50 +
 .../SuperClosure/Test/ClosureLocationTest.php   |   33 +
 .../SuperClosure/Test/ClosureParserTest.php     |  115 +
 .../Test/SerializableClosureTest.php            |  115 +
 .../Test/Visitor/ClosureFinderVisitorTest.php   |   57 +
 .../Test/Visitor/MagicConstantVisitorTest.php   |   54 +
 .../jeremeamia/SuperClosure/tests/bootstrap.php |    4 +
 vendor/laravel/framework/.gitattributes         |    2 +
 vendor/laravel/framework/.gitignore             |    5 +
 vendor/laravel/framework/.scrutinizer.yml       |   55 +
 vendor/laravel/framework/.travis.yml            |   13 +
 vendor/laravel/framework/CONTRIBUTING.md        |    3 +
 vendor/laravel/framework/LICENSE.txt            |   21 +
 vendor/laravel/framework/composer.json          |   96 +
 vendor/laravel/framework/phpunit.php            |   30 +
 vendor/laravel/framework/phpunit.xml            |   30 +
 vendor/laravel/framework/readme.md              |   27 +
 .../src/Illuminate/Auth/AuthManager.php         |  116 +
 .../src/Illuminate/Auth/AuthServiceProvider.php |   42 +
 .../Auth/Console/ClearRemindersCommand.php      |   33 +
 .../Auth/Console/RemindersControllerCommand.php |   93 +
 .../Auth/Console/RemindersTableCommand.php      |   94 +
 .../Auth/Console/stubs/controller.stub          |   75 +
 .../Auth/Console/stubs/reminders.stub           |   33 +
 .../Illuminate/Auth/DatabaseUserProvider.php    |  140 +
 .../Illuminate/Auth/EloquentUserProvider.php    |  123 +
 .../src/Illuminate/Auth/GenericUser.php         |  119 +
 .../framework/src/Illuminate/Auth/Guard.php     |  752 +++
 .../Reminders/DatabaseReminderRepository.php    |  195 +
 .../Auth/Reminders/PasswordBroker.php           |  282 ++
 .../Auth/Reminders/RemindableInterface.php      |   12 +
 .../Auth/Reminders/RemindableTrait.php          |   15 +
 .../Reminders/ReminderRepositoryInterface.php   |   37 +
 .../Auth/Reminders/ReminderServiceProvider.php  |  122 +
 .../src/Illuminate/Auth/UserInterface.php       |   41 +
 .../Illuminate/Auth/UserProviderInterface.php   |   48 +
 .../framework/src/Illuminate/Auth/UserTrait.php |   56 +
 .../framework/src/Illuminate/Auth/composer.json |   35 +
 .../framework/src/Illuminate/Cache/ApcStore.php |  128 +
 .../src/Illuminate/Cache/ApcWrapper.php         |   91 +
 .../src/Illuminate/Cache/ArrayStore.php         |  108 +
 .../src/Illuminate/Cache/CacheManager.php       |  182 +
 .../Illuminate/Cache/CacheServiceProvider.php   |   71 +
 .../Cache/Console/CacheTableCommand.php         |   72 +
 .../Illuminate/Cache/Console/ClearCommand.php   |   70 +
 .../Illuminate/Cache/Console/stubs/cache.stub   |   33 +
 .../src/Illuminate/Cache/DatabaseStore.php      |  223 +
 .../src/Illuminate/Cache/FileStore.php          |  257 +
 .../src/Illuminate/Cache/MemcachedConnector.php |   47 +
 .../src/Illuminate/Cache/MemcachedStore.php     |  138 +
 .../src/Illuminate/Cache/NullStore.php          |  103 +
 .../src/Illuminate/Cache/RedisStore.php         |  185 +
 .../src/Illuminate/Cache/RedisTaggedCache.php   |   90 +
 .../src/Illuminate/Cache/Repository.php         |  284 ++
 .../src/Illuminate/Cache/StoreInterface.php     |   72 +
 .../framework/src/Illuminate/Cache/TagSet.php   |   97 +
 .../src/Illuminate/Cache/TaggableStore.php      |   27 +
 .../src/Illuminate/Cache/TaggedCache.php        |  244 +
 .../src/Illuminate/Cache/WinCacheStore.php      |  119 +
 .../src/Illuminate/Cache/XCacheStore.php        |  119 +
 .../src/Illuminate/Cache/composer.json          |   31 +
 .../Illuminate/Config/EnvironmentVariables.php  |   45 +
 .../EnvironmentVariablesLoaderInterface.php     |   13 +
 .../Config/FileEnvironmentVariablesLoader.php   |   68 +
 .../src/Illuminate/Config/FileLoader.php        |  259 +
 .../src/Illuminate/Config/LoaderInterface.php   |   52 +
 .../src/Illuminate/Config/Repository.php        |  415 ++
 .../src/Illuminate/Config/composer.json         |   25 +
 .../src/Illuminate/Console/Application.php      |  243 +
 .../src/Illuminate/Console/Command.php          |  384 ++
 .../src/Illuminate/Console/ConfirmableTrait.php |   50 +
 .../src/Illuminate/Console/composer.json        |   26 +
 .../Container/BindingResolutionException.php    |    3 +
 .../src/Illuminate/Container/Container.php      |  866 ++++
 .../src/Illuminate/Container/composer.json      |   25 +
 .../src/Illuminate/Cookie/CookieJar.php         |  167 +
 .../Illuminate/Cookie/CookieServiceProvider.php |   22 +
 .../framework/src/Illuminate/Cookie/Guard.php   |  141 +
 .../framework/src/Illuminate/Cookie/Queue.php   |   57 +
 .../src/Illuminate/Cookie/composer.json         |   29 +
 .../src/Illuminate/Database/Capsule/Manager.php |  227 +
 .../src/Illuminate/Database/Connection.php      | 1173 +++++
 .../Illuminate/Database/ConnectionInterface.php |  148 +
 .../Illuminate/Database/ConnectionResolver.php  |   90 +
 .../Database/ConnectionResolverInterface.php    |   28 +
 .../Database/Connectors/ConnectionFactory.php   |  230 +
 .../Database/Connectors/Connector.php           |   71 +
 .../Database/Connectors/ConnectorInterface.php  |   13 +
 .../Database/Connectors/MySqlConnector.php      |  101 +
 .../Database/Connectors/PostgresConnector.php   |   86 +
 .../Database/Connectors/SQLiteConnector.php     |   38 +
 .../Database/Connectors/SqlServerConnector.php  |   69 +
 .../Database/Console/Migrations/BaseCommand.php |   49 +
 .../Console/Migrations/InstallCommand.php       |   69 +
 .../Console/Migrations/MigrateCommand.php       |  130 +
 .../Console/Migrations/MigrateMakeCommand.php   |  127 +
 .../Console/Migrations/RefreshCommand.php       |   96 +
 .../Console/Migrations/ResetCommand.php         |   91 +
 .../Console/Migrations/RollbackCommand.php      |   86 +
 .../Illuminate/Database/Console/SeedCommand.php |  100 +
 .../src/Illuminate/Database/DatabaseManager.php |  324 ++
 .../Database/DatabaseServiceProvider.php        |   45 +
 .../Illuminate/Database/Eloquent/Builder.php    |  987 ++++
 .../Illuminate/Database/Eloquent/Collection.php |  253 +
 .../Eloquent/MassAssignmentException.php        |    3 +
 .../src/Illuminate/Database/Eloquent/Model.php  | 3148 ++++++++++++
 .../Eloquent/ModelNotFoundException.php         |   37 +
 .../Database/Eloquent/Relations/BelongsTo.php   |  275 ++
 .../Eloquent/Relations/BelongsToMany.php        | 1055 ++++
 .../Database/Eloquent/Relations/HasMany.php     |   47 +
 .../Eloquent/Relations/HasManyThrough.php       |  263 +
 .../Database/Eloquent/Relations/HasOne.php      |   47 +
 .../Eloquent/Relations/HasOneOrMany.php         |  291 ++
 .../Database/Eloquent/Relations/MorphMany.php   |   47 +
 .../Database/Eloquent/Relations/MorphOne.php    |   47 +
 .../Eloquent/Relations/MorphOneOrMany.php       |  159 +
 .../Database/Eloquent/Relations/MorphPivot.php  |   79 +
 .../Database/Eloquent/Relations/MorphTo.php     |  246 +
 .../Database/Eloquent/Relations/MorphToMany.php |  158 +
 .../Database/Eloquent/Relations/Pivot.php       |  171 +
 .../Database/Eloquent/Relations/Relation.php    |  288 ++
 .../Database/Eloquent/ScopeInterface.php        |   21 +
 .../Database/Eloquent/SoftDeletingScope.php     |  170 +
 .../Database/Eloquent/SoftDeletingTrait.php     |  170 +
 .../src/Illuminate/Database/Grammar.php         |  179 +
 .../Database/MigrationServiceProvider.php       |  217 +
 .../Migrations/DatabaseMigrationRepository.php  |  181 +
 .../Database/Migrations/Migration.php           |   22 +
 .../Database/Migrations/MigrationCreator.php    |  183 +
 .../Migrations/MigrationRepositoryInterface.php |   65 +
 .../Illuminate/Database/Migrations/Migrator.php |  384 ++
 .../Database/Migrations/stubs/blank.stub        |   28 +
 .../Database/Migrations/stubs/create.stub       |   32 +
 .../Database/Migrations/stubs/update.stub       |   34 +
 .../src/Illuminate/Database/MySqlConnection.php |   62 +
 .../Illuminate/Database/PostgresConnection.php  |   50 +
 .../src/Illuminate/Database/Query/Builder.php   | 2187 +++++++++
 .../Illuminate/Database/Query/Expression.php    |   43 +
 .../Database/Query/Grammars/Grammar.php         |  759 +++
 .../Database/Query/Grammars/MySqlGrammar.php    |  130 +
 .../Database/Query/Grammars/PostgresGrammar.php |  174 +
 .../Database/Query/Grammars/SQLiteGrammar.php   |  130 +
 .../Query/Grammars/SqlServerGrammar.php         |  224 +
 .../Illuminate/Database/Query/JoinClause.php    |  117 +
 .../Query/Processors/MySqlProcessor.php         |   16 +
 .../Query/Processors/PostgresProcessor.php      |   40 +
 .../Database/Query/Processors/Processor.php     |   48 +
 .../Query/Processors/SQLiteProcessor.php        |   16 +
 .../Query/Processors/SqlServerProcessor.php     |   36 +
 .../src/Illuminate/Database/QueryException.php  |   78 +
 .../framework/src/Illuminate/Database/README.md |   71 +
 .../Illuminate/Database/SQLiteConnection.php    |   49 +
 .../Illuminate/Database/Schema/Blueprint.php    |  837 ++++
 .../src/Illuminate/Database/Schema/Builder.php  |  223 +
 .../Database/Schema/Grammars/Grammar.php        |  270 ++
 .../Database/Schema/Grammars/MySqlGrammar.php   |  595 +++
 .../Schema/Grammars/PostgresGrammar.php         |  489 ++
 .../Database/Schema/Grammars/SQLiteGrammar.php  |  553 +++
 .../Schema/Grammars/SqlServerGrammar.php        |  483 ++
 .../Illuminate/Database/Schema/MySqlBuilder.php |   41 +
 .../Illuminate/Database/SeedServiceProvider.php |   55 +
 .../src/Illuminate/Database/Seeder.php          |   98 +
 .../Illuminate/Database/SqlServerConnection.php |   91 +
 .../src/Illuminate/Database/composer.json       |   36 +
 .../Illuminate/Encryption/DecryptException.php  |    3 +
 .../src/Illuminate/Encryption/Encrypter.php     |  308 ++
 .../Encryption/EncryptionServiceProvider.php    |   27 +
 .../Encryption/InvalidKeyException.php          |    3 +
 .../src/Illuminate/Encryption/composer.json     |   27 +
 .../src/Illuminate/Events/Dispatcher.php        |  351 ++
 .../Illuminate/Events/EventServiceProvider.php  |   20 +
 .../src/Illuminate/Events/composer.json         |   27 +
 .../Exception/ExceptionDisplayerInterface.php   |   14 +
 .../Exception/ExceptionServiceProvider.php      |  162 +
 .../src/Illuminate/Exception/Handler.php        |  385 ++
 .../src/Illuminate/Exception/PlainDisplayer.php |   24 +
 .../Illuminate/Exception/SymfonyDisplayer.php   |   56 +
 .../Illuminate/Exception/WhoopsDisplayer.php    |   52 +
 .../src/Illuminate/Exception/composer.json      |   33 +
 .../Illuminate/Exception/resources/plain.html   |   71 +
 .../Filesystem/FileNotFoundException.php        |    3 +
 .../src/Illuminate/Filesystem/Filesystem.php    |  412 ++
 .../Filesystem/FilesystemServiceProvider.php    |   17 +
 .../src/Illuminate/Filesystem/composer.json     |   27 +
 .../src/Illuminate/Foundation/AliasLoader.php   |  158 +
 .../src/Illuminate/Foundation/Application.php   | 1141 +++++
 .../src/Illuminate/Foundation/Artisan.php       |   60 +
 .../Illuminate/Foundation/AssetPublisher.php    |   94 +
 .../src/Illuminate/Foundation/Composer.php      |   98 +
 .../Illuminate/Foundation/ConfigPublisher.php   |  144 +
 .../Foundation/Console/AssetPublishCommand.php  |  170 +
 .../Foundation/Console/AutoloadCommand.php      |   91 +
 .../Foundation/Console/ChangesCommand.php       |  112 +
 .../Foundation/Console/ClearCompiledCommand.php |   39 +
 .../Foundation/Console/CommandMakeCommand.php   |  156 +
 .../Foundation/Console/ConfigPublishCommand.php |  116 +
 .../Foundation/Console/DownCommand.php          |   33 +
 .../Foundation/Console/EnvironmentCommand.php   |   31 +
 .../Foundation/Console/KeyGenerateCommand.php   |   80 +
 .../Console/MigratePublishCommand.php           |   63 +
 .../Foundation/Console/Optimize/config.php      |  120 +
 .../Foundation/Console/OptimizeCommand.php      |  163 +
 .../Foundation/Console/RoutesCommand.php        |  217 +
 .../Foundation/Console/ServeCommand.php         |   73 +
 .../Foundation/Console/TailCommand.php          |  165 +
 .../Foundation/Console/TinkerCommand.php        |  125 +
 .../Illuminate/Foundation/Console/UpCommand.php |   33 +
 .../Foundation/Console/ViewPublishCommand.php   |  104 +
 .../Foundation/Console/stubs/command.stub       |   67 +
 .../Foundation/EnvironmentDetector.php          |   99 +
 .../Foundation/MigrationPublisher.php           |  131 +
 .../Foundation/ProviderRepository.php           |  230 +
 .../Providers/ArtisanServiceProvider.php        |   58 +
 .../Providers/CommandCreatorServiceProvider.php |   42 +
 .../Providers/ComposerServiceProvider.php       |   46 +
 .../Providers/ConsoleSupportServiceProvider.php |   73 +
 .../Providers/KeyGeneratorServiceProvider.php   |   40 +
 .../Providers/MaintenanceServiceProvider.php    |   46 +
 .../Providers/OptimizeServiceProvider.php       |   66 +
 .../Providers/PublisherServiceProvider.php      |  201 +
 .../Providers/RouteListServiceProvider.php      |   40 +
 .../Providers/ServerServiceProvider.php         |   40 +
 .../Providers/TinkerServiceProvider.php         |   40 +
 .../Foundation/Testing/ApplicationTrait.php     |  190 +
 .../Foundation/Testing/AssertionsTrait.php      |  223 +
 .../Illuminate/Foundation/Testing/Client.php    |   38 +
 .../Illuminate/Foundation/Testing/TestCase.php  |   29 +
 .../src/Illuminate/Foundation/ViewPublisher.php |  117 +
 .../src/Illuminate/Foundation/changes.json      |  215 +
 .../src/Illuminate/Foundation/start.php         |  271 ++
 .../src/Illuminate/Hashing/BcryptHasher.php     |   73 +
 .../Illuminate/Hashing/HashServiceProvider.php  |   34 +
 .../src/Illuminate/Hashing/HasherInterface.php  |   33 +
 .../src/Illuminate/Hashing/composer.json        |   27 +
 .../src/Illuminate/Html/FormBuilder.php         |  985 ++++
 .../src/Illuminate/Html/HtmlBuilder.php         |  375 ++
 .../src/Illuminate/Html/HtmlServiceProvider.php |   64 +
 .../framework/src/Illuminate/Html/composer.json |   28 +
 .../src/Illuminate/Http/FrameGuard.php          |   45 +
 .../src/Illuminate/Http/JsonResponse.php        |   78 +
 .../src/Illuminate/Http/RedirectResponse.php    |  224 +
 .../framework/src/Illuminate/Http/Request.php   |  608 +++
 .../framework/src/Illuminate/Http/Response.php  |   85 +
 .../src/Illuminate/Http/ResponseTrait.php       |   35 +
 .../framework/src/Illuminate/Http/composer.json |   29 +
 .../src/Illuminate/Log/LogServiceProvider.php   |   55 +
 .../framework/src/Illuminate/Log/Writer.php     |  311 ++
 .../framework/src/Illuminate/Log/composer.json  |   30 +
 .../src/Illuminate/Mail/MailServiceProvider.php |  261 +
 .../framework/src/Illuminate/Mail/Mailer.php    |  504 ++
 .../framework/src/Illuminate/Mail/Message.php   |  295 ++
 .../Illuminate/Mail/Transport/LogTransport.php  |   87 +
 .../Mail/Transport/MailgunTransport.php         |  168 +
 .../Mail/Transport/MandrillTransport.php        |  107 +
 .../framework/src/Illuminate/Mail/composer.json |   33 +
 .../Pagination/BootstrapPresenter.php           |   42 +
 .../src/Illuminate/Pagination/Factory.php       |  289 ++
 .../Pagination/PaginationServiceProvider.php    |   43 +
 .../src/Illuminate/Pagination/Paginator.php     |  544 +++
 .../src/Illuminate/Pagination/Presenter.php     |  277 ++
 .../src/Illuminate/Pagination/composer.json     |   30 +
 .../src/Illuminate/Pagination/views/simple.php  |   15 +
 .../Illuminate/Pagination/views/slider-3.php    |    9 +
 .../src/Illuminate/Pagination/views/slider.php  |   11 +
 .../src/Illuminate/Queue/BeanstalkdQueue.php    |  142 +
 .../src/Illuminate/Queue/Capsule/Manager.php    |  182 +
 .../Queue/Connectors/BeanstalkdConnector.php    |   24 +
 .../Queue/Connectors/ConnectorInterface.php     |   13 +
 .../Queue/Connectors/IronConnector.php          |   59 +
 .../Queue/Connectors/RedisConnector.php         |   52 +
 .../Queue/Connectors/SqsConnector.php           |   21 +
 .../Queue/Connectors/SyncConnector.php          |   18 +
 .../Queue/Console/FailedTableCommand.php        |   70 +
 .../Queue/Console/FlushFailedCommand.php        |   33 +
 .../Queue/Console/ForgetFailedCommand.php       |   51 +
 .../Queue/Console/ListFailedCommand.php         |   62 +
 .../Illuminate/Queue/Console/ListenCommand.php  |  145 +
 .../Illuminate/Queue/Console/RestartCommand.php |   33 +
 .../Illuminate/Queue/Console/RetryCommand.php   |   74 +
 .../Queue/Console/SubscribeCommand.php          |  153 +
 .../Illuminate/Queue/Console/WorkCommand.php    |  175 +
 .../Queue/Console/stubs/failed_jobs.stub        |   35 +
 .../Queue/FailConsoleServiceProvider.php        |   69 +
 .../Queue/Failed/DatabaseFailedJobProvider.php  |  111 +
 .../Queue/Failed/FailedJobProviderInterface.php |   45 +
 .../Illuminate/Queue/IlluminateQueueClosure.php |   39 +
 .../src/Illuminate/Queue/IronQueue.php          |  258 +
 .../src/Illuminate/Queue/Jobs/BeanstalkdJob.php |  150 +
 .../src/Illuminate/Queue/Jobs/IronJob.php       |  171 +
 .../framework/src/Illuminate/Queue/Jobs/Job.php |  179 +
 .../src/Illuminate/Queue/Jobs/RedisJob.php      |  134 +
 .../src/Illuminate/Queue/Jobs/SqsJob.php        |  139 +
 .../src/Illuminate/Queue/Jobs/SyncJob.php       |   97 +
 .../framework/src/Illuminate/Queue/Listener.php |  238 +
 .../framework/src/Illuminate/Queue/Queue.php    |  139 +
 .../src/Illuminate/Queue/QueueInterface.php     |   44 +
 .../src/Illuminate/Queue/QueueManager.php       |  223 +
 .../Illuminate/Queue/QueueServiceProvider.php   |  305 ++
 .../framework/src/Illuminate/Queue/README.md    |   34 +
 .../src/Illuminate/Queue/RedisQueue.php         |  319 ++
 .../framework/src/Illuminate/Queue/SqsQueue.php |  126 +
 .../src/Illuminate/Queue/SyncQueue.php          |   67 +
 .../framework/src/Illuminate/Queue/Worker.php   |  362 ++
 .../src/Illuminate/Queue/composer.json          |   44 +
 .../framework/src/Illuminate/Redis/Database.php |   98 +
 .../Illuminate/Redis/RedisServiceProvider.php   |   37 +
 .../src/Illuminate/Redis/composer.json          |   27 +
 .../src/Illuminate/Remote/Connection.php        |  262 +
 .../Illuminate/Remote/ConnectionInterface.php   |   52 +
 .../src/Illuminate/Remote/GatewayInterface.php  |   60 +
 .../src/Illuminate/Remote/MultiConnection.php   |  100 +
 .../src/Illuminate/Remote/RemoteManager.php     |  199 +
 .../Illuminate/Remote/RemoteServiceProvider.php |   37 +
 .../src/Illuminate/Remote/SecLibGateway.php     |  321 ++
 .../src/Illuminate/Remote/composer.json         |   31 +
 .../Routing/Console/MakeControllerCommand.php   |  181 +
 .../src/Illuminate/Routing/Controller.php       |  271 ++
 .../Illuminate/Routing/ControllerDispatcher.php |  243 +
 .../Illuminate/Routing/ControllerInspector.php  |  131 +
 .../Routing/ControllerServiceProvider.php       |   60 +
 .../Routing/Generators/ControllerGenerator.php  |  207 +
 .../Routing/Generators/stubs/controller.stub    |    7 +
 .../Routing/Generators/stubs/create.stub        |    9 +
 .../Routing/Generators/stubs/destroy.stub       |   10 +
 .../Routing/Generators/stubs/edit.stub          |   10 +
 .../Routing/Generators/stubs/index.stub         |    9 +
 .../Routing/Generators/stubs/show.stub          |   10 +
 .../Routing/Generators/stubs/store.stub         |    9 +
 .../Routing/Generators/stubs/update.stub        |   10 +
 .../Routing/Matching/HostValidator.php          |   22 +
 .../Routing/Matching/MethodValidator.php        |   20 +
 .../Routing/Matching/SchemeValidator.php        |   29 +
 .../Routing/Matching/UriValidator.php           |   22 +
 .../Routing/Matching/ValidatorInterface.php     |   17 +
 .../src/Illuminate/Routing/Redirector.php       |  219 +
 .../framework/src/Illuminate/Routing/Route.php  |  814 ++++
 .../src/Illuminate/Routing/RouteCollection.php  |  305 ++
 .../Routing/RouteFiltererInterface.php          |   26 +
 .../framework/src/Illuminate/Routing/Router.php | 1748 +++++++
 .../Routing/RoutingServiceProvider.php          |   88 +
 .../src/Illuminate/Routing/UrlGenerator.php     |  527 ++
 .../src/Illuminate/Routing/composer.json        |   36 +
 .../Session/CacheBasedSessionHandler.php        |   92 +
 .../Session/CommandsServiceProvider.php         |   39 +
 .../Session/Console/SessionTableCommand.php     |   72 +
 .../Session/Console/stubs/database.stub         |   32 +
 .../Illuminate/Session/CookieSessionHandler.php |   94 +
 .../Session/DatabaseSessionHandler.php          |  132 +
 .../Session/ExistenceAwareInterface.php         |   13 +
 .../Illuminate/Session/FileSessionHandler.php   |   97 +
 .../src/Illuminate/Session/Middleware.php       |  258 +
 .../src/Illuminate/Session/SessionInterface.php |   30 +
 .../src/Illuminate/Session/SessionManager.php   |  199 +
 .../Session/SessionServiceProvider.php          |   65 +
 .../framework/src/Illuminate/Session/Store.php  |  630 +++
 .../Session/TokenMismatchException.php          |    3 +
 .../src/Illuminate/Session/composer.json        |   35 +
 .../framework/src/Illuminate/Support/Arr.php    |  386 ++
 .../src/Illuminate/Support/ClassLoader.php      |  107 +
 .../src/Illuminate/Support/Collection.php       |  851 ++++
 .../Support/Contracts/ArrayableInterface.php    |   12 +
 .../Support/Contracts/JsonableInterface.php     |   13 +
 .../Contracts/MessageProviderInterface.php      |   12 +
 .../Support/Contracts/RenderableInterface.php   |   12 +
 .../Contracts/ResponsePreparerInterface.php     |   20 +
 .../src/Illuminate/Support/Facades/App.php      |   15 +
 .../src/Illuminate/Support/Facades/Artisan.php  |   15 +
 .../src/Illuminate/Support/Facades/Auth.php     |   16 +
 .../src/Illuminate/Support/Facades/Blade.php    |   18 +
 .../src/Illuminate/Support/Facades/Cache.php    |   16 +
 .../src/Illuminate/Support/Facades/Config.php   |   15 +
 .../src/Illuminate/Support/Facades/Cookie.php   |   38 +
 .../src/Illuminate/Support/Facades/Crypt.php    |   15 +
 .../src/Illuminate/Support/Facades/DB.php       |   16 +
 .../src/Illuminate/Support/Facades/Event.php    |   15 +
 .../src/Illuminate/Support/Facades/Facade.php   |  224 +
 .../src/Illuminate/Support/Facades/File.php     |   15 +
 .../src/Illuminate/Support/Facades/Form.php     |   15 +
 .../src/Illuminate/Support/Facades/HTML.php     |   15 +
 .../src/Illuminate/Support/Facades/Hash.php     |   15 +
 .../src/Illuminate/Support/Facades/Input.php    |   29 +
 .../src/Illuminate/Support/Facades/Lang.php     |   15 +
 .../src/Illuminate/Support/Facades/Log.php      |   15 +
 .../src/Illuminate/Support/Facades/Mail.php     |   15 +
 .../Illuminate/Support/Facades/Paginator.php    |   15 +
 .../src/Illuminate/Support/Facades/Password.php |   50 +
 .../src/Illuminate/Support/Facades/Queue.php    |   16 +
 .../src/Illuminate/Support/Facades/Redirect.php |   15 +
 .../src/Illuminate/Support/Facades/Redis.php    |   15 +
 .../src/Illuminate/Support/Facades/Request.php  |   15 +
 .../src/Illuminate/Support/Facades/Response.php |  112 +
 .../src/Illuminate/Support/Facades/Route.php    |   15 +
 .../src/Illuminate/Support/Facades/SSH.php      |   16 +
 .../src/Illuminate/Support/Facades/Schema.php   |   29 +
 .../src/Illuminate/Support/Facades/Session.php  |   16 +
 .../src/Illuminate/Support/Facades/URL.php      |   15 +
 .../Illuminate/Support/Facades/Validator.php    |   15 +
 .../src/Illuminate/Support/Facades/View.php     |   15 +
 .../framework/src/Illuminate/Support/Fluent.php |  193 +
 .../src/Illuminate/Support/Manager.php          |  141 +
 .../src/Illuminate/Support/MessageBag.php       |  305 ++
 .../Support/NamespacedItemResolver.php          |  109 +
 .../src/Illuminate/Support/Pluralizer.php       |  269 +
 .../Illuminate/Support/SerializableClosure.php  |   59 +
 .../src/Illuminate/Support/ServiceProvider.php  |  192 +
 .../framework/src/Illuminate/Support/Str.php    |  366 ++
 .../Support/Traits/CapsuleManagerTrait.php      |   69 +
 .../Support/Traits/MacroableTrait.php           |   68 +
 .../src/Illuminate/Support/ViewErrorBag.php     |  105 +
 .../src/Illuminate/Support/composer.json        |   32 +
 .../src/Illuminate/Support/helpers.php          | 1033 ++++
 .../src/Illuminate/Translation/FileLoader.php   |  130 +
 .../Illuminate/Translation/LoaderInterface.php  |   24 +
 .../Translation/TranslationServiceProvider.php  |   63 +
 .../src/Illuminate/Translation/Translator.php   |  365 ++
 .../src/Illuminate/Translation/composer.json    |   28 +
 .../Validation/DatabasePresenceVerifier.php     |  127 +
 .../src/Illuminate/Validation/Factory.php       |  237 +
 .../Validation/PresenceVerifierInterface.php    |   29 +
 .../Validation/ValidationServiceProvider.php    |   62 +
 .../src/Illuminate/Validation/Validator.php     | 2567 ++++++++++
 .../src/Illuminate/Validation/composer.json     |   32 +
 .../Illuminate/View/Compilers/BladeCompiler.php |  727 +++
 .../src/Illuminate/View/Compilers/Compiler.php  |   68 +
 .../View/Compilers/CompilerInterface.php        |   29 +
 .../Illuminate/View/Engines/CompilerEngine.php  |  100 +
 .../src/Illuminate/View/Engines/Engine.php      |   22 +
 .../Illuminate/View/Engines/EngineInterface.php |   14 +
 .../Illuminate/View/Engines/EngineResolver.php  |   57 +
 .../src/Illuminate/View/Engines/PhpEngine.php   |   66 +
 .../framework/src/Illuminate/View/Factory.php   |  842 ++++
 .../src/Illuminate/View/FileViewFinder.php      |  280 ++
 .../framework/src/Illuminate/View/View.php      |  391 ++
 .../src/Illuminate/View/ViewFinderInterface.php |   47 +
 .../src/Illuminate/View/ViewServiceProvider.php |  182 +
 .../framework/src/Illuminate/View/composer.json |   29 +
 .../Workbench/Console/WorkbenchMakeCommand.php  |  144 +
 .../src/Illuminate/Workbench/Package.php        |   76 +
 .../src/Illuminate/Workbench/PackageCreator.php |  376 ++
 .../src/Illuminate/Workbench/Starter.php        |   33 +
 .../Workbench/WorkbenchServiceProvider.php      |   45 +
 .../src/Illuminate/Workbench/composer.json      |   31 +
 .../src/Illuminate/Workbench/stubs/.travis.yml  |   13 +
 .../Illuminate/Workbench/stubs/composer.json    |   23 +
 .../Illuminate/Workbench/stubs/gitignore.txt    |    4 +
 .../src/Illuminate/Workbench/stubs/phpunit.xml  |   18 +
 .../Workbench/stubs/plain.composer.json         |   20 +
 .../Workbench/stubs/plain.provider.stub         |   34 +
 .../Illuminate/Workbench/stubs/provider.stub    |   44 +
 vendor/monolog/monolog/.php_cs                  |   15 +
 vendor/monolog/monolog/CHANGELOG.mdown          |  217 +
 vendor/monolog/monolog/LICENSE                  |   19 +
 vendor/monolog/monolog/README.mdown             |  292 ++
 vendor/monolog/monolog/composer.json            |   54 +
 vendor/monolog/monolog/doc/extending.md         |   76 +
 vendor/monolog/monolog/doc/sockets.md           |   37 +
 vendor/monolog/monolog/doc/usage.md             |  162 +
 vendor/monolog/monolog/phpunit.xml.dist         |   15 +
 .../monolog/src/Monolog/ErrorHandler.php        |  208 +
 .../Monolog/Formatter/ChromePHPFormatter.php    |   79 +
 .../src/Monolog/Formatter/ElasticaFormatter.php |   87 +
 .../src/Monolog/Formatter/FlowdockFormatter.php |  104 +
 .../Monolog/Formatter/FormatterInterface.php    |   36 +
 .../Monolog/Formatter/GelfMessageFormatter.php  |  111 +
 .../src/Monolog/Formatter/HtmlFormatter.php     |  140 +
 .../src/Monolog/Formatter/JsonFormatter.php     |  116 +
 .../src/Monolog/Formatter/LineFormatter.php     |  159 +
 .../src/Monolog/Formatter/LogglyFormatter.php   |   47 +
 .../src/Monolog/Formatter/LogstashFormatter.php |  165 +
 .../src/Monolog/Formatter/MongoDBFormatter.php  |  105 +
 .../Monolog/Formatter/NormalizerFormatter.php   |  150 +
 .../src/Monolog/Formatter/ScalarFormatter.php   |   48 +
 .../src/Monolog/Formatter/WildfireFormatter.php |  113 +
 .../src/Monolog/Handler/AbstractHandler.php     |  184 +
 .../Handler/AbstractProcessingHandler.php       |   66 +
 .../Monolog/Handler/AbstractSyslogHandler.php   |   92 +
 .../monolog/src/Monolog/Handler/AmqpHandler.php |   98 +
 .../Monolog/Handler/BrowserConsoleHandler.php   |  184 +
 .../src/Monolog/Handler/BufferHandler.php       |  117 +
 .../src/Monolog/Handler/ChromePHPHandler.php    |  204 +
 .../src/Monolog/Handler/CouchDBHandler.php      |   72 +
 .../monolog/src/Monolog/Handler/CubeHandler.php |  145 +
 .../Monolog/Handler/DoctrineCouchDBHandler.php  |   45 +
 .../src/Monolog/Handler/DynamoDbHandler.php     |   89 +
 .../Monolog/Handler/ElasticSearchHandler.php    |  128 +
 .../src/Monolog/Handler/ErrorLogHandler.php     |   82 +
 .../src/Monolog/Handler/FilterHandler.php       |  140 +
 .../ActivationStrategyInterface.php             |   28 +
 .../ChannelLevelActivationStrategy.php          |   59 +
 .../ErrorLevelActivationStrategy.php            |   34 +
 .../Monolog/Handler/FingersCrossedHandler.php   |  150 +
 .../src/Monolog/Handler/FirePHPHandler.php      |  195 +
 .../src/Monolog/Handler/FleepHookHandler.php    |  126 +
 .../src/Monolog/Handler/FlowdockHandler.php     |  103 +
 .../monolog/src/Monolog/Handler/GelfHandler.php |   72 +
 .../src/Monolog/Handler/GroupHandler.php        |   80 +
 .../src/Monolog/Handler/HandlerInterface.php    |   90 +
 .../src/Monolog/Handler/HipChatHandler.php      |  306 ++
 .../src/Monolog/Handler/LogEntriesHandler.php   |   55 +
 .../src/Monolog/Handler/LogglyHandler.php       |   98 +
 .../monolog/src/Monolog/Handler/MailHandler.php |   55 +
 .../src/Monolog/Handler/MandrillHandler.php     |   69 +
 .../Handler/MissingExtensionException.php       |   21 +
 .../src/Monolog/Handler/MongoDBHandler.php      |   55 +
 .../src/Monolog/Handler/NativeMailerHandler.php |  176 +
 .../src/Monolog/Handler/NewRelicHandler.php     |  176 +
 .../monolog/src/Monolog/Handler/NullHandler.php |   45 +
 .../monolog/src/Monolog/Handler/PsrHandler.php  |   56 +
 .../src/Monolog/Handler/PushoverHandler.php     |  172 +
 .../src/Monolog/Handler/RavenHandler.php        |  187 +
 .../src/Monolog/Handler/RedisHandler.php        |   58 +
 .../src/Monolog/Handler/RollbarHandler.php      |   73 +
 .../src/Monolog/Handler/RotatingFileHandler.php |  153 +
 .../src/Monolog/Handler/SamplingHandler.php     |   82 +
 .../src/Monolog/Handler/SlackHandler.php        |  280 ++
 .../src/Monolog/Handler/SocketHandler.php       |  284 ++
 .../src/Monolog/Handler/StreamHandler.php       |  104 +
 .../src/Monolog/Handler/SwiftMailerHandler.php  |   87 +
 .../src/Monolog/Handler/SyslogHandler.php       |   67 +
 .../src/Monolog/Handler/SyslogUdp/UdpSocket.php |   46 +
 .../src/Monolog/Handler/SyslogUdpHandler.php    |   80 +
 .../monolog/src/Monolog/Handler/TestHandler.php |  140 +
 .../Monolog/Handler/WhatFailureGroupHandler.php |   57 +
 .../src/Monolog/Handler/ZendMonitorHandler.php  |   95 +
 vendor/monolog/monolog/src/Monolog/Logger.php   |  615 +++
 .../src/Monolog/Processor/GitProcessor.php      |   64 +
 .../Processor/IntrospectionProcessor.php        |   82 +
 .../Processor/MemoryPeakUsageProcessor.php      |   40 +
 .../src/Monolog/Processor/MemoryProcessor.php   |   63 +
 .../Monolog/Processor/MemoryUsageProcessor.php  |   40 +
 .../Monolog/Processor/ProcessIdProcessor.php    |   31 +
 .../Processor/PsrLogMessageProcessor.php        |   48 +
 .../src/Monolog/Processor/TagProcessor.php      |   34 +
 .../src/Monolog/Processor/UidProcessor.php      |   38 +
 .../src/Monolog/Processor/WebProcessor.php      |  105 +
 vendor/monolog/monolog/src/Monolog/Registry.php |  134 +
 .../monolog/tests/Monolog/ErrorHandlerTest.php  |   31 +
 .../Formatter/ChromePHPFormatterTest.php        |  158 +
 .../Monolog/Formatter/ElasticaFormatterTest.php |   79 +
 .../Monolog/Formatter/FlowdockFormatterTest.php |   55 +
 .../Formatter/GelfMessageFormatterTest.php      |  204 +
 .../Monolog/Formatter/JsonFormatterTest.php     |   78 +
 .../Monolog/Formatter/LineFormatterTest.php     |  208 +
 .../Monolog/Formatter/LogglyFormatterTest.php   |   40 +
 .../Monolog/Formatter/LogstashFormatterTest.php |  289 ++
 .../Monolog/Formatter/MongoDBFormatterTest.php  |  253 +
 .../Formatter/NormalizerFormatterTest.php       |  253 +
 .../Monolog/Formatter/ScalarFormatterTest.php   |   98 +
 .../Monolog/Formatter/WildfireFormatterTest.php |  142 +
 .../Monolog/Handler/AbstractHandlerTest.php     |  115 +
 .../Handler/AbstractProcessingHandlerTest.php   |   80 +
 .../tests/Monolog/Handler/AmqpHandlerTest.php   |  137 +
 .../Handler/BrowserConsoleHandlerTest.php       |  130 +
 .../tests/Monolog/Handler/BufferHandlerTest.php |  158 +
 .../Monolog/Handler/ChromePHPHandlerTest.php    |  141 +
 .../Monolog/Handler/CouchDBHandlerTest.php      |   41 +
 .../Handler/DoctrineCouchDBHandlerTest.php      |   52 +
 .../Monolog/Handler/DynamoDbHandlerTest.php     |   73 +
 .../Handler/ElasticSearchHandlerTest.php        |  239 +
 .../Monolog/Handler/ErrorLogHandlerTest.php     |   66 +
 .../tests/Monolog/Handler/FilterHandlerTest.php |  170 +
 .../Handler/FingersCrossedHandlerTest.php       |  240 +
 .../Monolog/Handler/FirePHPHandlerTest.php      |   96 +
 .../tests/Monolog/Handler/Fixtures/.gitkeep     |    0
 .../Monolog/Handler/FleepHookHandlerTest.php    |   85 +
 .../Monolog/Handler/FlowdockHandlerTest.php     |   88 +
 .../Monolog/Handler/GelfHandlerLegacyTest.php   |   95 +
 .../tests/Monolog/Handler/GelfHandlerTest.php   |  117 +
 .../Handler/GelfMockMessagePublisher.php        |   25 +
 .../tests/Monolog/Handler/GroupHandlerTest.php  |   89 +
 .../Monolog/Handler/HipChatHandlerTest.php      |  178 +
 .../Monolog/Handler/LogEntriesHandlerTest.php   |   84 +
 .../tests/Monolog/Handler/MailHandlerTest.php   |   75 +
 .../tests/Monolog/Handler/MockRavenClient.php   |   26 +
 .../Monolog/Handler/MongoDBHandlerTest.php      |   65 +
 .../Monolog/Handler/NativeMailerHandlerTest.php |   61 +
 .../Monolog/Handler/NewRelicHandlerTest.php     |  192 +
 .../tests/Monolog/Handler/NullHandlerTest.php   |   33 +
 .../tests/Monolog/Handler/PsrHandlerTest.php    |   50 +
 .../Monolog/Handler/PushoverHandlerTest.php     |  141 +
 .../tests/Monolog/Handler/RavenHandlerTest.php  |  170 +
 .../tests/Monolog/Handler/RedisHandlerTest.php  |   71 +
 .../Monolog/Handler/RotatingFileHandlerTest.php |   99 +
 .../Monolog/Handler/SamplingHandlerTest.php     |   33 +
 .../tests/Monolog/Handler/SlackHandlerTest.php  |  133 +
 .../tests/Monolog/Handler/SocketHandlerTest.php |  282 ++
 .../tests/Monolog/Handler/StreamHandlerTest.php |  118 +
 .../Monolog/Handler/SwiftMailerHandlerTest.php  |   65 +
 .../tests/Monolog/Handler/SyslogHandlerTest.php |   44 +
 .../Monolog/Handler/SyslogUdpHandlerTest.php    |   49 +
 .../tests/Monolog/Handler/TestHandlerTest.php   |   56 +
 .../tests/Monolog/Handler/UdpSocketTest.php     |   46 +
 .../Handler/WhatFailureGroupHandlerTest.php     |  121 +
 .../Monolog/Handler/ZendMonitorHandlerTest.php  |   69 +
 .../monolog/tests/Monolog/LoggerTest.php        |  409 ++
 .../Monolog/Processor/GitProcessorTest.php      |   29 +
 .../Processor/IntrospectionProcessorTest.php    |  123 +
 .../Processor/MemoryPeakUsageProcessorTest.php  |   42 +
 .../Processor/MemoryUsageProcessorTest.php      |   42 +
 .../Processor/ProcessIdProcessorTest.php        |   30 +
 .../Processor/PsrLogMessageProcessorTest.php    |   43 +
 .../Monolog/Processor/TagProcessorTest.php      |   29 +
 .../Monolog/Processor/UidProcessorTest.php      |   27 +
 .../Monolog/Processor/WebProcessorTest.php      |   98 +
 .../monolog/tests/Monolog/PsrLogCompatTest.php  |   47 +
 .../monolog/tests/Monolog/RegistryTest.php      |   63 +
 .../monolog/monolog/tests/Monolog/TestCase.php  |   58 +
 vendor/monolog/monolog/tests/bootstrap.php      |   15 +
 vendor/nesbot/carbon/.editorconfig              |   14 +
 vendor/nesbot/carbon/LICENSE                    |   19 +
 vendor/nesbot/carbon/composer.json              |   30 +
 vendor/nesbot/carbon/phpunit.xml.dist           |   25 +
 vendor/nesbot/carbon/readme.md                  |   81 +
 vendor/nesbot/carbon/src/Carbon/Carbon.php      | 2267 +++++++++
 vendor/nesbot/carbon/tests/AddTest.php          |  201 +
 vendor/nesbot/carbon/tests/ComparisonTest.php   |  200 +
 vendor/nesbot/carbon/tests/ConstructTest.php    |  105 +
 vendor/nesbot/carbon/tests/CopyTest.php         |   38 +
 .../nesbot/carbon/tests/CreateFromDateTest.php  |   59 +
 .../carbon/tests/CreateFromFormatTest.php       |   42 +
 .../nesbot/carbon/tests/CreateFromTimeTest.php  |   61 +
 .../carbon/tests/CreateFromTimestampTest.php    |   52 +
 vendor/nesbot/carbon/tests/CreateTest.php       |  142 +
 .../carbon/tests/DayOfWeekModifiersTest.php     |  288 ++
 vendor/nesbot/carbon/tests/DiffTest.php         |  953 ++++
 vendor/nesbot/carbon/tests/FluidSettersTest.php |  113 +
 vendor/nesbot/carbon/tests/GettersTest.php      |  285 ++
 vendor/nesbot/carbon/tests/InstanceTest.php     |   35 +
 vendor/nesbot/carbon/tests/IsTest.php           |  133 +
 vendor/nesbot/carbon/tests/IssetTest.php        |   49 +
 .../tests/NowAndOtherStaticHelpersTest.php      |   79 +
 vendor/nesbot/carbon/tests/RelativeTest.php     |   45 +
 vendor/nesbot/carbon/tests/SettersTest.php      |  253 +
 vendor/nesbot/carbon/tests/StartEndOfTest.php   |  236 +
 vendor/nesbot/carbon/tests/StringsTest.php      |  157 +
 vendor/nesbot/carbon/tests/SubTest.php          |  175 +
 vendor/nesbot/carbon/tests/TestFixture.php      |   56 +
 vendor/nesbot/carbon/tests/TestingAidsTest.php  |  124 +
 vendor/nikic/php-parser/.travis.yml             |   13 +
 vendor/nikic/php-parser/CHANGELOG.md            |  168 +
 vendor/nikic/php-parser/LICENSE                 |   31 +
 vendor/nikic/php-parser/README.md               |   78 +
 vendor/nikic/php-parser/composer.json           |   24 +
 .../php-parser/doc/0_Introduction.markdown      |   81 +
 .../php-parser/doc/1_Installation.markdown      |   48 +
 .../doc/2_Usage_of_basic_components.markdown    |  394 ++
 .../3_Other_node_tree_representations.markdown  |  201 +
 .../php-parser/doc/4_Code_generation.markdown   |  267 +
 .../php-parser/doc/component/Lexer.markdown     |  114 +
 vendor/nikic/php-parser/grammar/README.md       |   29 +
 vendor/nikic/php-parser/grammar/analyze.php     |   96 +
 .../nikic/php-parser/grammar/kmyacc.php.parser  |  361 ++
 .../nikic/php-parser/grammar/rebuildParser.php  |  225 +
 .../grammar/zend_language_parser.phpy           |  906 ++++
 .../php-parser/lib/PHPParser/Autoloader.php     |   33 +
 .../nikic/php-parser/lib/PHPParser/Builder.php  |   11 +
 .../php-parser/lib/PHPParser/Builder/Class.php  |  137 +
 .../lib/PHPParser/Builder/Function.php          |  109 +
 .../lib/PHPParser/Builder/Interface.php         |   92 +
 .../php-parser/lib/PHPParser/Builder/Method.php |  187 +
 .../php-parser/lib/PHPParser/Builder/Param.php  |   75 +
 .../lib/PHPParser/Builder/Property.php          |   92 +
 .../lib/PHPParser/BuilderAbstract.php           |   94 +
 .../php-parser/lib/PHPParser/BuilderFactory.php |   87 +
 .../nikic/php-parser/lib/PHPParser/Comment.php  |  117 +
 .../php-parser/lib/PHPParser/Comment/Doc.php    |    5 +
 vendor/nikic/php-parser/lib/PHPParser/Error.php |   70 +
 vendor/nikic/php-parser/lib/PHPParser/Lexer.php |  199 +
 .../lib/PHPParser/Lexer/Emulative.php           |  200 +
 vendor/nikic/php-parser/lib/PHPParser/Node.php  |   75 +
 .../nikic/php-parser/lib/PHPParser/Node/Arg.php |   25 +
 .../php-parser/lib/PHPParser/Node/Const.php     |   25 +
 .../php-parser/lib/PHPParser/Node/Expr.php      |    5 +
 .../lib/PHPParser/Node/Expr/Array.php           |   22 +
 .../lib/PHPParser/Node/Expr/ArrayDimFetch.php   |   25 +
 .../lib/PHPParser/Node/Expr/ArrayItem.php       |   28 +
 .../lib/PHPParser/Node/Expr/Assign.php          |   25 +
 .../PHPParser/Node/Expr/AssignBitwiseAnd.php    |   25 +
 .../lib/PHPParser/Node/Expr/AssignBitwiseOr.php |   25 +
 .../PHPParser/Node/Expr/AssignBitwiseXor.php    |   25 +
 .../lib/PHPParser/Node/Expr/AssignConcat.php    |   25 +
 .../lib/PHPParser/Node/Expr/AssignDiv.php       |   25 +
 .../lib/PHPParser/Node/Expr/AssignMinus.php     |   25 +
 .../lib/PHPParser/Node/Expr/AssignMod.php       |   25 +
 .../lib/PHPParser/Node/Expr/AssignMul.php       |   25 +
 .../lib/PHPParser/Node/Expr/AssignPlus.php      |   25 +
 .../lib/PHPParser/Node/Expr/AssignRef.php       |   25 +
 .../lib/PHPParser/Node/Expr/AssignShiftLeft.php |   25 +
 .../PHPParser/Node/Expr/AssignShiftRight.php    |   25 +
 .../lib/PHPParser/Node/Expr/BitwiseAnd.php      |   25 +
 .../lib/PHPParser/Node/Expr/BitwiseNot.php      |   22 +
 .../lib/PHPParser/Node/Expr/BitwiseOr.php       |   25 +
 .../lib/PHPParser/Node/Expr/BitwiseXor.php      |   25 +
 .../lib/PHPParser/Node/Expr/BooleanAnd.php      |   25 +
 .../lib/PHPParser/Node/Expr/BooleanNot.php      |   22 +
 .../lib/PHPParser/Node/Expr/BooleanOr.php       |   25 +
 .../php-parser/lib/PHPParser/Node/Expr/Cast.php |   22 +
 .../lib/PHPParser/Node/Expr/Cast/Array.php      |    5 +
 .../lib/PHPParser/Node/Expr/Cast/Bool.php       |    5 +
 .../lib/PHPParser/Node/Expr/Cast/Double.php     |    5 +
 .../lib/PHPParser/Node/Expr/Cast/Int.php        |    5 +
 .../lib/PHPParser/Node/Expr/Cast/Object.php     |    5 +
 .../lib/PHPParser/Node/Expr/Cast/String.php     |    5 +
 .../lib/PHPParser/Node/Expr/Cast/Unset.php      |    5 +
 .../lib/PHPParser/Node/Expr/ClassConstFetch.php |   25 +
 .../lib/PHPParser/Node/Expr/Clone.php           |   22 +
 .../lib/PHPParser/Node/Expr/Closure.php         |   35 +
 .../lib/PHPParser/Node/Expr/ClosureUse.php      |   25 +
 .../lib/PHPParser/Node/Expr/Concat.php          |   25 +
 .../lib/PHPParser/Node/Expr/ConstFetch.php      |   22 +
 .../php-parser/lib/PHPParser/Node/Expr/Div.php  |   25 +
 .../lib/PHPParser/Node/Expr/Empty.php           |   22 +
 .../lib/PHPParser/Node/Expr/Equal.php           |   25 +
 .../lib/PHPParser/Node/Expr/ErrorSuppress.php   |   22 +
 .../php-parser/lib/PHPParser/Node/Expr/Eval.php |   22 +
 .../php-parser/lib/PHPParser/Node/Expr/Exit.php |   22 +
 .../lib/PHPParser/Node/Expr/FuncCall.php        |   25 +
 .../lib/PHPParser/Node/Expr/Greater.php         |   25 +
 .../lib/PHPParser/Node/Expr/GreaterOrEqual.php  |   25 +
 .../lib/PHPParser/Node/Expr/Identical.php       |   25 +
 .../lib/PHPParser/Node/Expr/Include.php         |   30 +
 .../lib/PHPParser/Node/Expr/Instanceof.php      |   25 +
 .../lib/PHPParser/Node/Expr/Isset.php           |   22 +
 .../php-parser/lib/PHPParser/Node/Expr/List.php |   22 +
 .../lib/PHPParser/Node/Expr/LogicalAnd.php      |   25 +
 .../lib/PHPParser/Node/Expr/LogicalOr.php       |   25 +
 .../lib/PHPParser/Node/Expr/LogicalXor.php      |   25 +
 .../lib/PHPParser/Node/Expr/MethodCall.php      |   28 +
 .../lib/PHPParser/Node/Expr/Minus.php           |   25 +
 .../php-parser/lib/PHPParser/Node/Expr/Mod.php  |   25 +
 .../php-parser/lib/PHPParser/Node/Expr/Mul.php  |   25 +
 .../php-parser/lib/PHPParser/Node/Expr/New.php  |   25 +
 .../lib/PHPParser/Node/Expr/NotEqual.php        |   25 +
 .../lib/PHPParser/Node/Expr/NotIdentical.php    |   25 +
 .../php-parser/lib/PHPParser/Node/Expr/Plus.php |   25 +
 .../lib/PHPParser/Node/Expr/PostDec.php         |   22 +
 .../lib/PHPParser/Node/Expr/PostInc.php         |   22 +
 .../lib/PHPParser/Node/Expr/PreDec.php          |   22 +
 .../lib/PHPParser/Node/Expr/PreInc.php          |   22 +
 .../lib/PHPParser/Node/Expr/Print.php           |   22 +
 .../lib/PHPParser/Node/Expr/PropertyFetch.php   |   25 +
 .../lib/PHPParser/Node/Expr/ShellExec.php       |   22 +
 .../lib/PHPParser/Node/Expr/ShiftLeft.php       |   25 +
 .../lib/PHPParser/Node/Expr/ShiftRight.php      |   25 +
 .../lib/PHPParser/Node/Expr/Smaller.php         |   25 +
 .../lib/PHPParser/Node/Expr/SmallerOrEqual.php  |   25 +
 .../lib/PHPParser/Node/Expr/StaticCall.php      |   28 +
 .../PHPParser/Node/Expr/StaticPropertyFetch.php |   25 +
 .../lib/PHPParser/Node/Expr/Ternary.php         |   28 +
 .../lib/PHPParser/Node/Expr/UnaryMinus.php      |   22 +
 .../lib/PHPParser/Node/Expr/UnaryPlus.php       |   22 +
 .../lib/PHPParser/Node/Expr/Variable.php        |   22 +
 .../lib/PHPParser/Node/Expr/Yield.php           |   25 +
 .../php-parser/lib/PHPParser/Node/Name.php      |  168 +
 .../lib/PHPParser/Node/Name/FullyQualified.php  |   40 +
 .../lib/PHPParser/Node/Name/Relative.php        |   40 +
 .../php-parser/lib/PHPParser/Node/Param.php     |   31 +
 .../php-parser/lib/PHPParser/Node/Scalar.php    |    5 +
 .../lib/PHPParser/Node/Scalar/ClassConst.php    |   13 +
 .../lib/PHPParser/Node/Scalar/DNumber.php       |   58 +
 .../lib/PHPParser/Node/Scalar/DirConst.php      |   13 +
 .../lib/PHPParser/Node/Scalar/Encapsed.php      |   22 +
 .../lib/PHPParser/Node/Scalar/FileConst.php     |   13 +
 .../lib/PHPParser/Node/Scalar/FuncConst.php     |   13 +
 .../lib/PHPParser/Node/Scalar/LNumber.php       |   55 +
 .../lib/PHPParser/Node/Scalar/LineConst.php     |   13 +
 .../lib/PHPParser/Node/Scalar/MethodConst.php   |   13 +
 .../lib/PHPParser/Node/Scalar/NSConst.php       |   13 +
 .../lib/PHPParser/Node/Scalar/String.php        |  109 +
 .../lib/PHPParser/Node/Scalar/TraitConst.php    |   13 +
 .../php-parser/lib/PHPParser/Node/Stmt.php      |    5 +
 .../lib/PHPParser/Node/Stmt/Break.php           |   22 +
 .../php-parser/lib/PHPParser/Node/Stmt/Case.php |   25 +
 .../lib/PHPParser/Node/Stmt/Catch.php           |   28 +
 .../lib/PHPParser/Node/Stmt/Class.php           |  102 +
 .../lib/PHPParser/Node/Stmt/ClassConst.php      |   22 +
 .../lib/PHPParser/Node/Stmt/ClassMethod.php     |   71 +
 .../lib/PHPParser/Node/Stmt/Const.php           |   22 +
 .../lib/PHPParser/Node/Stmt/Continue.php        |   22 +
 .../lib/PHPParser/Node/Stmt/Declare.php         |   25 +
 .../lib/PHPParser/Node/Stmt/DeclareDeclare.php  |   25 +
 .../php-parser/lib/PHPParser/Node/Stmt/Do.php   |   25 +
 .../php-parser/lib/PHPParser/Node/Stmt/Echo.php |   22 +
 .../php-parser/lib/PHPParser/Node/Stmt/Else.php |   22 +
 .../lib/PHPParser/Node/Stmt/ElseIf.php          |   25 +
 .../php-parser/lib/PHPParser/Node/Stmt/For.php  |   32 +
 .../lib/PHPParser/Node/Stmt/Foreach.php         |   35 +
 .../lib/PHPParser/Node/Stmt/Function.php        |   32 +
 .../lib/PHPParser/Node/Stmt/Global.php          |   22 +
 .../php-parser/lib/PHPParser/Node/Stmt/Goto.php |   22 +
 .../lib/PHPParser/Node/Stmt/HaltCompiler.php    |   22 +
 .../php-parser/lib/PHPParser/Node/Stmt/If.php   |   33 +
 .../lib/PHPParser/Node/Stmt/InlineHTML.php      |   22 +
 .../lib/PHPParser/Node/Stmt/Interface.php       |   45 +
 .../lib/PHPParser/Node/Stmt/Label.php           |   22 +
 .../lib/PHPParser/Node/Stmt/Namespace.php       |  122 +
 .../lib/PHPParser/Node/Stmt/Property.php        |   41 +
 .../PHPParser/Node/Stmt/PropertyProperty.php    |   25 +
 .../lib/PHPParser/Node/Stmt/Return.php          |   22 +
 .../lib/PHPParser/Node/Stmt/Static.php          |   22 +
 .../lib/PHPParser/Node/Stmt/StaticVar.php       |   25 +
 .../lib/PHPParser/Node/Stmt/Switch.php          |   25 +
 .../lib/PHPParser/Node/Stmt/Throw.php           |   22 +
 .../lib/PHPParser/Node/Stmt/Trait.php           |   25 +
 .../lib/PHPParser/Node/Stmt/TraitUse.php        |   25 +
 .../PHPParser/Node/Stmt/TraitUseAdaptation.php  |    5 +
 .../Node/Stmt/TraitUseAdaptation/Alias.php      |   31 +
 .../Node/Stmt/TraitUseAdaptation/Precedence.php |   28 +
 .../lib/PHPParser/Node/Stmt/TryCatch.php        |   32 +
 .../lib/PHPParser/Node/Stmt/Unset.php           |   22 +
 .../php-parser/lib/PHPParser/Node/Stmt/Use.php  |   22 +
 .../lib/PHPParser/Node/Stmt/UseUse.php          |   36 +
 .../lib/PHPParser/Node/Stmt/While.php           |   25 +
 .../php-parser/lib/PHPParser/NodeAbstract.php   |  125 +
 .../php-parser/lib/PHPParser/NodeDumper.php     |   39 +
 .../php-parser/lib/PHPParser/NodeTraverser.php  |  132 +
 .../lib/PHPParser/NodeTraverserInterface.php    |   21 +
 .../php-parser/lib/PHPParser/NodeVisitor.php    |   58 +
 .../lib/PHPParser/NodeVisitor/NameResolver.php  |  139 +
 .../lib/PHPParser/NodeVisitorAbstract.php       |   12 +
 .../nikic/php-parser/lib/PHPParser/Parser.php   | 2721 +++++++++++
 .../lib/PHPParser/PrettyPrinter/Default.php     |  725 +++
 .../lib/PHPParser/PrettyPrinter/Zend.php        |   10 +
 .../lib/PHPParser/PrettyPrinterAbstract.php     |  262 +
 .../php-parser/lib/PHPParser/Serializer.php     |   13 +
 .../php-parser/lib/PHPParser/Serializer/XML.php |   78 +
 .../nikic/php-parser/lib/PHPParser/Template.php |   75 +
 .../php-parser/lib/PHPParser/TemplateLoader.php |   51 +
 .../php-parser/lib/PHPParser/Unserializer.php   |   13 +
 .../lib/PHPParser/Unserializer/XML.php          |  133 +
 vendor/nikic/php-parser/lib/bootstrap.php       |   14 +
 vendor/nikic/php-parser/phpunit.xml.dist        |   24 +
 .../test/PHPParser/Tests/Builder/ClassTest.php  |   91 +
 .../PHPParser/Tests/Builder/FunctionTest.php    |   70 +
 .../PHPParser/Tests/Builder/InterfaceTest.php   |   91 +
 .../test/PHPParser/Tests/Builder/MethodTest.php |  137 +
 .../test/PHPParser/Tests/Builder/ParamTest.php  |  118 +
 .../PHPParser/Tests/Builder/PropertyTest.php    |  123 +
 .../test/PHPParser/Tests/BuilderFactoryTest.php |   23 +
 .../test/PHPParser/Tests/CodeTestAbstract.php   |   51 +
 .../test/PHPParser/Tests/CommentTest.php        |   69 +
 .../test/PHPParser/Tests/ErrorTest.php          |   33 +
 .../PHPParser/Tests/Lexer/EmulativeTest.php     |  103 +
 .../test/PHPParser/Tests/LexerTest.php          |  145 +
 .../test/PHPParser/Tests/Node/NameTest.php      |  130 +
 .../PHPParser/Tests/Node/Scalar/StringTest.php  |   59 +
 .../Tests/Node/Stmt/ClassMethodTest.php         |   35 +
 .../PHPParser/Tests/Node/Stmt/ClassTest.php     |   40 +
 .../PHPParser/Tests/Node/Stmt/PropertyTest.php  |   34 +
 .../test/PHPParser/Tests/NodeAbstractTest.php   |   96 +
 .../test/PHPParser/Tests/NodeDumperTest.php     |   66 +
 .../test/PHPParser/Tests/NodeTraverserTest.php  |  144 +
 .../Tests/NodeVisitor/NameResolverTest.php      |  246 +
 .../test/PHPParser/Tests/ParserTest.php         |   44 +
 .../test/PHPParser/Tests/PrettyPrinterTest.php  |   42 +
 .../test/PHPParser/Tests/Serializer/XMLTest.php |  152 +
 .../test/PHPParser/Tests/TemplateLoaderTest.php |   48 +
 .../test/PHPParser/Tests/TemplateTest.php       |   59 +
 .../PHPParser/Tests/Unserializer/XMLTest.php    |  141 +
 .../test/code/parser/expr/arrayDef.test         |  139 +
 .../test/code/parser/expr/assign.test           |  225 +
 .../php-parser/test/code/parser/expr/cast.test  |   72 +
 .../php-parser/test/code/parser/expr/clone.test |   13 +
 .../test/code/parser/expr/closure.test          |   94 +
 .../test/code/parser/expr/comparison.test       |   98 +
 .../test/code/parser/expr/errorSuppress.test    |   12 +
 .../php-parser/test/code/parser/expr/exit.test  |   34 +
 .../code/parser/expr/fetchAndCall/args.test     |   71 +
 .../parser/expr/fetchAndCall/constFetch.test    |   33 +
 .../parser/expr/fetchAndCall/constantDeref.test |  181 +
 .../code/parser/expr/fetchAndCall/funcCall.test |  117 +
 .../code/parser/expr/fetchAndCall/newDeref.test |   70 +
 .../parser/expr/fetchAndCall/objectAccess.test  |  118 +
 .../expr/fetchAndCall/simpleArrayAccess.test    |   62 +
 .../parser/expr/fetchAndCall/staticCall.test    |  151 +
 .../expr/fetchAndCall/staticPropertyFetch.test  |   71 +
 .../test/code/parser/expr/includeAndEval.test   |   40 +
 .../test/code/parser/expr/issetAndEmpty.test    |   75 +
 .../php-parser/test/code/parser/expr/logic.test |  138 +
 .../php-parser/test/code/parser/expr/math.test  |  187 +
 .../php-parser/test/code/parser/expr/new.test   |  139 +
 .../php-parser/test/code/parser/expr/print.test |   12 +
 .../test/code/parser/expr/shellExec.test        |   38 +
 .../test/code/parser/expr/ternary.test          |   72 +
 .../test/code/parser/expr/variable.test         |   54 +
 .../test/code/parser/scalar/constantString.test |   53 +
 .../test/code/parser/scalar/docString.test      |   67 +
 .../test/code/parser/scalar/encapsedString.test |  148 +
 .../test/code/parser/scalar/float.test          |   70 +
 .../php-parser/test/code/parser/scalar/int.test |   47 +
 .../test/code/parser/scalar/magicConst.test     |   31 +
 .../code/parser/stmt/blocklessStatement.test    |  112 +
 .../test/code/parser/stmt/class/abstract.test   |   37 +
 .../code/parser/stmt/class/conditional.test     |   33 +
 .../test/code/parser/stmt/class/final.test      |   17 +
 .../test/code/parser/stmt/class/interface.test  |   35 +
 .../code/parser/stmt/class/modifier.test-fail   |   29 +
 .../test/code/parser/stmt/class/name.test-fail  |   61 +
 .../test/code/parser/stmt/class/php4Style.test  |   38 +
 .../test/code/parser/stmt/class/simple.test     |  139 +
 .../parser/stmt/class/staticMethod.test-fail    |   25 +
 .../test/code/parser/stmt/class/trait.test      |  159 +
 .../php-parser/test/code/parser/stmt/const.test |   40 +
 .../test/code/parser/stmt/controlFlow.test      |   55 +
 .../test/code/parser/stmt/declare.test          |   47 +
 .../php-parser/test/code/parser/stmt/echo.test  |   32 +
 .../test/code/parser/stmt/function/byRef.test   |   37 +
 .../code/parser/stmt/function/conditional.test  |   32 +
 .../parser/stmt/function/defaultValues.test     |  138 +
 .../code/parser/stmt/function/generator.test    |  227 +
 .../code/parser/stmt/function/specialVars.test  |   50 +
 .../code/parser/stmt/function/typeHints.test    |   44 +
 .../test/code/parser/stmt/haltCompiler.test     |   55 +
 .../stmt/haltCompilerInvalidSyntax.test-fail    |    6 +
 .../stmt/haltCompilerOutermostScope.test-fail   |    8 +
 .../php-parser/test/code/parser/stmt/if.test    |   95 +
 .../test/code/parser/stmt/inlineHTML.test       |   27 +
 .../test/code/parser/stmt/loop/do.test          |   17 +
 .../test/code/parser/stmt/loop/for.test         |   86 +
 .../test/code/parser/stmt/loop/foreach.test     |  139 +
 .../test/code/parser/stmt/loop/while.test       |   25 +
 .../test/code/parser/stmt/namespace/alias.test  |   85 +
 .../test/code/parser/stmt/namespace/braced.test |   42 +
 .../code/parser/stmt/namespace/mix.test-fail    |   13 +
 .../test/code/parser/stmt/namespace/name.test   |   42 +
 .../code/parser/stmt/namespace/name.test-fail   |   25 +
 .../code/parser/stmt/namespace/nested.test-fail |   10 +
 .../code/parser/stmt/namespace/notBraced.test   |   45 +
 .../code/parser/stmt/namespace/outsideStmt.test |   37 +
 .../parser/stmt/namespace/outsideStmt.test-fail |   13 +
 .../test/code/parser/stmt/switch.test           |   67 +
 .../test/code/parser/stmt/tryCatch.test         |  114 +
 .../test/code/parser/stmt/tryCatch.test-fail    |    7 +
 .../php-parser/test/code/parser/stmt/unset.test |   26 +
 .../test/code/prettyPrinter/closure.test        |   18 +
 .../test/code/prettyPrinter/comments.test       |   56 +
 .../test/code/prettyPrinter/include.test        |    7 +
 .../inlineHTMLandPHPtest.file-test              |   52 +
 .../test/code/prettyPrinter/namespaces.test     |   58 +
 .../code/prettyPrinter/onlyInlineHTML.file-test |   11 +
 .../test/code/prettyPrinter/onlyPHP.file-test   |   11 +
 .../test/code/prettyPrinter/parentheses.test    |   45 +
 .../test/code/prettyPrinter/switch.test         |   35 +
 vendor/nikic/php-parser/test_old/run.php        |  189 +
 vendor/patchwork/utf8/.travis.yml               |   18 +
 vendor/patchwork/utf8/CHANGELOG.md              |  172 +
 vendor/patchwork/utf8/README.md                 |  153 +
 vendor/patchwork/utf8/class/Normalizer.php      |   17 +
 .../utf8/class/Patchwork/PHP/Shim/Iconv.php     |  646 +++
 .../utf8/class/Patchwork/PHP/Shim/Intl.php      |  156 +
 .../utf8/class/Patchwork/PHP/Shim/Mbstring.php  |  523 ++
 .../class/Patchwork/PHP/Shim/Normalizer.php     |  295 ++
 .../utf8/class/Patchwork/PHP/Shim/Xml.php       |   61 +
 .../Patchwork/PHP/Shim/charset/from.big5.ser    |    1 +
 .../Patchwork/PHP/Shim/charset/from.cp037.ser   |  Bin 0 -> 4192 bytes
 .../Patchwork/PHP/Shim/charset/from.cp1006.ser  |  Bin 0 -> 4273 bytes
 .../Patchwork/PHP/Shim/charset/from.cp1026.ser  |  Bin 0 -> 4192 bytes
 .../Patchwork/PHP/Shim/charset/from.cp424.ser   |  Bin 0 -> 3547 bytes
 .../Patchwork/PHP/Shim/charset/from.cp437.ser   |  Bin 0 -> 4254 bytes
 .../Patchwork/PHP/Shim/charset/from.cp500.ser   |  Bin 0 -> 4192 bytes
 .../Patchwork/PHP/Shim/charset/from.cp737.ser   |  Bin 0 -> 4247 bytes
 .../Patchwork/PHP/Shim/charset/from.cp775.ser   |  Bin 0 -> 4228 bytes
 .../Patchwork/PHP/Shim/charset/from.cp850.ser   |  Bin 0 -> 4222 bytes
 .../Patchwork/PHP/Shim/charset/from.cp852.ser   |  Bin 0 -> 4221 bytes
 .../Patchwork/PHP/Shim/charset/from.cp855.ser   |  Bin 0 -> 4222 bytes
 .../Patchwork/PHP/Shim/charset/from.cp856.ser   |  Bin 0 -> 3525 bytes
 .../Patchwork/PHP/Shim/charset/from.cp857.ser   |  Bin 0 -> 4170 bytes
 .../Patchwork/PHP/Shim/charset/from.cp860.ser   |  Bin 0 -> 4253 bytes
 .../Patchwork/PHP/Shim/charset/from.cp861.ser   |  Bin 0 -> 4254 bytes
 .../Patchwork/PHP/Shim/charset/from.cp862.ser   |  Bin 0 -> 4254 bytes
 .../Patchwork/PHP/Shim/charset/from.cp863.ser   |  Bin 0 -> 4254 bytes
 .../Patchwork/PHP/Shim/charset/from.cp864.ser   |  Bin 0 -> 4180 bytes
 .../Patchwork/PHP/Shim/charset/from.cp865.ser   |  Bin 0 -> 4254 bytes
 .../Patchwork/PHP/Shim/charset/from.cp866.ser   |  Bin 0 -> 4244 bytes
 .../Patchwork/PHP/Shim/charset/from.cp869.ser   |  Bin 0 -> 4071 bytes
 .../Patchwork/PHP/Shim/charset/from.cp874.ser   |  Bin 0 -> 3761 bytes
 .../Patchwork/PHP/Shim/charset/from.cp875.ser   |  Bin 0 -> 4189 bytes
 .../Patchwork/PHP/Shim/charset/from.cp932.ser   |  Bin 0 -> 149785 bytes
 .../Patchwork/PHP/Shim/charset/from.cp936.ser   |  Bin 0 -> 415908 bytes
 .../Patchwork/PHP/Shim/charset/from.cp949.ser   |  Bin 0 -> 325759 bytes
 .../Patchwork/PHP/Shim/charset/from.cp950.ser   |  Bin 0 -> 258514 bytes
 .../Patchwork/PHP/Shim/charset/from.gsm0338.ser |  Bin 0 -> 2228 bytes
 .../PHP/Shim/charset/from.iso-8859-1.ser        |  Bin 0 -> 4192 bytes
 .../PHP/Shim/charset/from.iso-8859-10.ser       |  Bin 0 -> 4193 bytes
 .../PHP/Shim/charset/from.iso-8859-11.ser       |  Bin 0 -> 4143 bytes
 .../PHP/Shim/charset/from.iso-8859-13.ser       |  Bin 0 -> 4196 bytes
 .../PHP/Shim/charset/from.iso-8859-14.ser       |  Bin 0 -> 4214 bytes
 .../PHP/Shim/charset/from.iso-8859-15.ser       |  Bin 0 -> 4193 bytes
 .../PHP/Shim/charset/from.iso-8859-16.ser       |  Bin 0 -> 4195 bytes
 .../PHP/Shim/charset/from.iso-8859-2.ser        |  Bin 0 -> 4192 bytes
 .../PHP/Shim/charset/from.iso-8859-3.ser        |  Bin 0 -> 4073 bytes
 .../PHP/Shim/charset/from.iso-8859-4.ser        |  Bin 0 -> 4192 bytes
 .../PHP/Shim/charset/from.iso-8859-5.ser        |  Bin 0 -> 4193 bytes
 .../PHP/Shim/charset/from.iso-8859-6.ser        |  Bin 0 -> 3427 bytes
 .../PHP/Shim/charset/from.iso-8859-7.ser        |  Bin 0 -> 4093 bytes
 .../PHP/Shim/charset/from.iso-8859-8.ser        |  Bin 0 -> 3583 bytes
 .../PHP/Shim/charset/from.iso-8859-9.ser        |  Bin 0 -> 4192 bytes
 .../Patchwork/PHP/Shim/charset/from.koi8-r.ser  |  Bin 0 -> 4248 bytes
 .../Patchwork/PHP/Shim/charset/from.koi8-u.ser  |  Bin 0 -> 4240 bytes
 .../Patchwork/PHP/Shim/charset/from.mazovia.ser |  Bin 0 -> 4254 bytes
 .../PHP/Shim/charset/from.nextstep.ser          |  Bin 0 -> 4211 bytes
 .../Patchwork/PHP/Shim/charset/from.stdenc.ser  |    1 +
 .../Patchwork/PHP/Shim/charset/from.symbol.ser  |    1 +
 .../Patchwork/PHP/Shim/charset/from.turkish.ser |  Bin 0 -> 4185 bytes
 .../PHP/Shim/charset/from.us-ascii-quotes.ser   |  Bin 0 -> 2020 bytes
 .../PHP/Shim/charset/from.us-ascii.ser          |  Bin 0 -> 2016 bytes
 .../PHP/Shim/charset/from.windows-1250.ser      |  Bin 0 -> 4124 bytes
 .../PHP/Shim/charset/from.windows-1251.ser      |  Bin 0 -> 4193 bytes
 .../PHP/Shim/charset/from.windows-1252.ser      |  Bin 0 -> 4124 bytes
 .../PHP/Shim/charset/from.windows-1253.ser      |  Bin 0 -> 3921 bytes
 .../PHP/Shim/charset/from.windows-1254.ser      |  Bin 0 -> 4090 bytes
 .../PHP/Shim/charset/from.windows-1255.ser      |  Bin 0 -> 3821 bytes
 .../PHP/Shim/charset/from.windows-1256.ser      |  Bin 0 -> 4213 bytes
 .../PHP/Shim/charset/from.windows-1257.ser      |  Bin 0 -> 4005 bytes
 .../PHP/Shim/charset/from.windows-1258.ser      |  Bin 0 -> 4057 bytes
 .../PHP/Shim/charset/from.x-mac-ce.ser          |  Bin 0 -> 4214 bytes
 .../PHP/Shim/charset/from.x-mac-cyrillic.ser    |  Bin 0 -> 4212 bytes
 .../PHP/Shim/charset/from.x-mac-greek.ser       |  Bin 0 -> 4190 bytes
 .../PHP/Shim/charset/from.x-mac-icelandic.ser   |  Bin 0 -> 4201 bytes
 .../PHP/Shim/charset/from.x-mac-roman.ser       |  Bin 0 -> 4207 bytes
 .../PHP/Shim/charset/from.zdingbat.ser          |    1 +
 .../Patchwork/PHP/Shim/charset/to.gsm0338.ser   |  Bin 0 -> 2459 bytes
 .../Patchwork/PHP/Shim/charset/to.mazovia.ser   |  Bin 0 -> 4232 bytes
 .../Patchwork/PHP/Shim/charset/to.stdenc.ser    |    1 +
 .../Patchwork/PHP/Shim/charset/to.symbol.ser    |    1 +
 .../Patchwork/PHP/Shim/charset/to.zdingbat.ser  |    1 +
 .../Patchwork/PHP/Shim/charset/translit.ser     |    1 +
 .../PHP/Shim/unidata/canonicalComposition.ser   |    1 +
 .../PHP/Shim/unidata/canonicalDecomposition.ser |    1 +
 .../PHP/Shim/unidata/combiningClass.ser         |    1 +
 .../Shim/unidata/compatibilityDecomposition.ser |    1 +
 .../Patchwork/PHP/Shim/unidata/lowerCase.ser    |    1 +
 .../Patchwork/PHP/Shim/unidata/upperCase.ser    |    1 +
 .../utf8/class/Patchwork/TurkishUtf8.php        |  112 +
 vendor/patchwork/utf8/class/Patchwork/Utf8.php  |  657 +++
 .../utf8/class/Patchwork/Utf8/BestFit.php       |   68 +
 .../utf8/class/Patchwork/Utf8/Bootup.php        |  243 +
 .../utf8/class/Patchwork/Utf8/Bootup/iconv.php  |   48 +
 .../utf8/class/Patchwork/Utf8/Bootup/intl.php   |   28 +
 .../class/Patchwork/Utf8/Bootup/mbstring.php    |   50 +
 .../class/Patchwork/Utf8/Bootup/utf8_encode.php |   14 +
 .../Patchwork/Utf8/WindowsStreamWrapper.php     |  405 ++
 .../Patchwork/Utf8/data/caseFolding_full.ser    |    1 +
 .../Patchwork/Utf8/data/to.bestfit1250.ser      |  Bin 0 -> 11885 bytes
 .../Patchwork/Utf8/data/to.bestfit1251.ser      |  Bin 0 -> 10912 bytes
 .../Patchwork/Utf8/data/to.bestfit1252.ser      |  Bin 0 -> 11968 bytes
 .../Patchwork/Utf8/data/to.bestfit1253.ser      |  Bin 0 -> 10587 bytes
 .../Patchwork/Utf8/data/to.bestfit1254.ser      |  Bin 0 -> 11902 bytes
 .../Patchwork/Utf8/data/to.bestfit1255.ser      |  Bin 0 -> 5948 bytes
 .../Patchwork/Utf8/data/to.bestfit1256.ser      |  Bin 0 -> 9202 bytes
 .../Patchwork/Utf8/data/to.bestfit1257.ser      |  Bin 0 -> 5903 bytes
 .../Patchwork/Utf8/data/to.bestfit1258.ser      |  Bin 0 -> 5902 bytes
 .../class/Patchwork/Utf8/data/to.bestfit874.ser |  Bin 0 -> 6760 bytes
 .../class/Patchwork/Utf8/data/to.bestfit932.ser |  Bin 0 -> 179471 bytes
 .../class/Patchwork/Utf8/data/to.bestfit936.ser |  Bin 0 -> 464524 bytes
 .../class/Patchwork/Utf8/data/to.bestfit949.ser |  Bin 0 -> 336734 bytes
 .../class/Patchwork/Utf8/data/to.bestfit950.ser |  Bin 0 -> 385467 bytes
 .../Patchwork/Utf8/data/translit_extra.ser      |    1 +
 vendor/patchwork/utf8/composer.json             |   35 +
 vendor/patchwork/utf8/phpunit.xml.dist          |   21 +
 vendor/phpseclib/phpseclib/.gitattributes       |    1 +
 vendor/phpseclib/phpseclib/.gitignore           |    2 +
 vendor/phpseclib/phpseclib/.scrutinizer.yml     |    7 +
 vendor/phpseclib/phpseclib/.travis.yml          |   35 +
 vendor/phpseclib/phpseclib/AUTHORS              |    5 +
 vendor/phpseclib/phpseclib/CHANGELOG.md         |   83 +
 vendor/phpseclib/phpseclib/LICENSE              |   21 +
 vendor/phpseclib/phpseclib/README.md            |   65 +
 vendor/phpseclib/phpseclib/build/build.xml      |   32 +
 .../build/code-sniffer-ruleset-tests.xml        |   21 +
 .../phpseclib/build/code-sniffer-ruleset.xml    |   75 +
 vendor/phpseclib/phpseclib/build/sami.conf.php  |   31 +
 vendor/phpseclib/phpseclib/composer.json        |   80 +
 vendor/phpseclib/phpseclib/composer.lock        | 1380 ++++++
 .../phpseclib/phpseclib/phpseclib/Crypt/AES.php |  207 +
 .../phpseclib/phpseclib/Crypt/Base.php          | 2011 ++++++++
 .../phpseclib/phpseclib/Crypt/Blowfish.php      |  644 +++
 .../phpseclib/phpseclib/phpseclib/Crypt/DES.php | 1506 ++++++
 .../phpseclib/phpseclib/Crypt/Hash.php          |  841 ++++
 .../phpseclib/phpseclib/phpseclib/Crypt/RC2.php |  652 +++
 .../phpseclib/phpseclib/phpseclib/Crypt/RC4.php |  329 ++
 .../phpseclib/phpseclib/phpseclib/Crypt/RSA.php | 2997 ++++++++++++
 .../phpseclib/phpseclib/Crypt/Random.php        |  300 ++
 .../phpseclib/phpseclib/Crypt/Rijndael.php      | 1348 ++++++
 .../phpseclib/phpseclib/Crypt/TripleDES.php     |  428 ++
 .../phpseclib/phpseclib/Crypt/Twofish.php       |  895 ++++
 .../phpseclib/phpseclib/phpseclib/File/ANSI.php |  559 +++
 .../phpseclib/phpseclib/phpseclib/File/ASN1.php | 1358 ++++++
 .../phpseclib/phpseclib/phpseclib/File/X509.php | 4583 ++++++++++++++++++
 .../phpseclib/phpseclib/Math/BigInteger.php     | 3758 ++++++++++++++
 .../phpseclib/phpseclib/phpseclib/Net/SCP.php   |  360 ++
 .../phpseclib/phpseclib/phpseclib/Net/SFTP.php  | 2778 +++++++++++
 .../phpseclib/phpseclib/Net/SFTP/Stream.php     |  801 +++
 .../phpseclib/phpseclib/phpseclib/Net/SSH1.php  | 1651 +++++++
 .../phpseclib/phpseclib/phpseclib/Net/SSH2.php  | 3878 +++++++++++++++
 .../phpseclib/phpseclib/System/SSH/Agent.php    |  313 ++
 .../phpseclib/phpseclib/System/SSH_Agent.php    |   39 +
 .../phpseclib/phpseclib/phpseclib/openssl.cnf   |    6 +
 vendor/phpseclib/phpseclib/phpunit.xml.dist     |   21 +
 .../Functional/Net/SCPSSH2UserStoryTest.php     |   88 +
 .../tests/Functional/Net/SFTPLargeFileTest.php  |   74 +
 .../tests/Functional/Net/SFTPUserStoryTest.php  |  478 ++
 .../tests/Functional/Net/SSH2AgentTest.php      |   31 +
 .../phpseclib/tests/Functional/Net/SSH2Test.php |   88 +
 .../tests/PhpseclibFunctionalTestCase.php       |   72 +
 .../phpseclib/tests/PhpseclibTestCase.php       |  104 +
 .../tests/Unit/Crypt/AES/InternalTest.php       |   17 +
 .../tests/Unit/Crypt/AES/McryptTest.php         |   21 +
 .../phpseclib/tests/Unit/Crypt/AES/TestCase.php |  107 +
 .../phpseclib/tests/Unit/Crypt/Hash/MD5Test.php |   47 +
 .../tests/Unit/Crypt/Hash/SHA256Test.php        |   79 +
 .../tests/Unit/Crypt/Hash/SHA256_96Test.php     |   30 +
 .../tests/Unit/Crypt/Hash/SHA512Test.php        |   79 +
 .../tests/Unit/Crypt/Hash/SHA512_96Test.php     |   30 +
 .../tests/Unit/Crypt/Hash/TestCase.php          |   52 +
 .../tests/Unit/Crypt/RSA/LoadKeyTest.php        |  304 ++
 .../phpseclib/tests/Unit/Crypt/RandomTest.php   |   53 +
 .../phpseclib/tests/Unit/File/ASN1/FE.pdf.p7m   |  Bin 0 -> 14223 bytes
 .../phpseclib/tests/Unit/File/ASN1Test.php      |  292 ++
 .../phpseclib/tests/Unit/File/X509/CSRTest.php  |   31 +
 .../tests/Unit/File/X509/SPKACTest.php          |   99 +
 .../tests/Unit/Math/BigInteger/BCMathTest.php   |   20 +
 .../tests/Unit/Math/BigInteger/GMPTest.php      |   20 +
 .../Math/BigInteger/InternalOpenSSLTest.php     |   20 +
 .../tests/Unit/Math/BigInteger/InternalTest.php |   24 +
 .../tests/Unit/Math/BigInteger/TestCase.php     |  361 ++
 .../phpseclib/tests/Unit/Net/SFTPStreamTest.php |   33 +
 .../phpseclib/tests/Unit/Net/SSH1Test.php       |   41 +
 .../phpseclib/tests/Unit/Net/SSH2Test.php       |  114 +
 vendor/phpseclib/phpseclib/tests/bootstrap.php  |   31 +
 .../phpseclib/travis/code_coverage_id_rsa       |   30 +
 .../phpseclib/travis/install-php-extensions.sh  |   30 +
 .../phpseclib/phpseclib/travis/run-phpunit.sh   |   34 +
 .../phpseclib/travis/setup-composer.sh          |    3 +
 .../phpseclib/travis/setup-secure-shell.sh      |   31 +
 .../travis/upload-code-coverage-html.sh         |   50 +
 .../travis/upload-code-coverage-scrutinizer.sh  |   13 +
 vendor/predis/predis/.gitignore                 |    7 +
 vendor/predis/predis/.travis.yml                |   23 +
 vendor/predis/predis/CHANGELOG.NAMING.md        |   53 +
 vendor/predis/predis/CHANGELOG.md               |  685 +++
 vendor/predis/predis/CONTRIBUTING.md            |   44 +
 vendor/predis/predis/FAQ.md                     |  169 +
 vendor/predis/predis/LICENSE                    |   22 +
 vendor/predis/predis/README.md                  |  390 ++
 vendor/predis/predis/VERSION                    |    1 +
 vendor/predis/predis/autoload.php               |   14 +
 vendor/predis/predis/bin/create-command-test    |  271 ++
 vendor/predis/predis/bin/create-pear            |  221 +
 vendor/predis/predis/bin/create-phar            |   71 +
 vendor/predis/predis/bin/create-single-file     |  663 +++
 vendor/predis/predis/composer.json              |   28 +
 .../examples/CustomDistributionStrategy.php     |   94 +
 .../predis/predis/examples/DispatcherLoop.php   |   78 +
 vendor/predis/predis/examples/KeyPrefixes.php   |   37 +
 .../predis/examples/MasterSlaveReplication.php  |   52 +
 .../examples/MasterSlaveReplicationComplex.php  |   85 +
 .../predis/predis/examples/MonitorContext.php   |   44 +
 .../predis/examples/MultiBulkReplyIterators.php |   56 +
 .../predis/examples/MultipleSetAndGet.php       |   38 +
 .../predis/predis/examples/PipelineContext.php  |   47 +
 vendor/predis/predis/examples/PubSubContext.php |   59 +
 .../examples/RedisCollectionsIterators.php      |   96 +
 .../predis/examples/ServerSideScripting.php     |   66 +
 .../predis/predis/examples/SessionHandler.php   |   39 +
 .../predis/examples/SharedConfigurations.php    |   33 +
 .../examples/SimpleDebuggableConnection.php     |   88 +
 .../predis/predis/examples/SimpleSetAndGet.php  |   25 +
 .../predis/examples/TransactionWithCAS.php      |   51 +
 vendor/predis/predis/lib/Predis/Autoloader.php  |   62 +
 .../predis/lib/Predis/BasicClientInterface.php  |   31 +
 vendor/predis/predis/lib/Predis/Client.php      |  465 ++
 .../predis/lib/Predis/ClientException.php       |   21 +
 .../predis/lib/Predis/ClientInterface.php       |   66 +
 .../Cluster/CommandHashStrategyInterface.php    |   42 +
 .../DistributionStrategyInterface.php           |   53 +
 .../Cluster/Distribution/EmptyRingException.php |   21 +
 .../Predis/Cluster/Distribution/HashRing.php    |  246 +
 .../Cluster/Distribution/KetamaPureRing.php     |   71 +
 .../Predis/Cluster/Hash/CRC16HashGenerator.php  |   72 +
 .../Cluster/Hash/HashGeneratorInterface.php     |   29 +
 .../Cluster/PredisClusterHashStrategy.php       |  398 ++
 .../Predis/Cluster/RedisClusterHashStrategy.php |   50 +
 .../Collection/Iterator/CursorBasedIterator.php |  191 +
 .../lib/Predis/Collection/Iterator/HashKey.php  |   56 +
 .../lib/Predis/Collection/Iterator/Keyspace.php |   43 +
 .../lib/Predis/Collection/Iterator/ListKey.php  |  174 +
 .../lib/Predis/Collection/Iterator/SetKey.php   |   47 +
 .../Predis/Collection/Iterator/SortedSetKey.php |   58 +
 .../lib/Predis/Command/AbstractCommand.php      |  158 +
 .../lib/Predis/Command/CommandInterface.php     |   77 +
 .../lib/Predis/Command/ConnectionAuth.php       |   27 +
 .../lib/Predis/Command/ConnectionEcho.php       |   27 +
 .../lib/Predis/Command/ConnectionPing.php       |   35 +
 .../lib/Predis/Command/ConnectionQuit.php       |   27 +
 .../lib/Predis/Command/ConnectionSelect.php     |   27 +
 .../predis/lib/Predis/Command/HashDelete.php    |   35 +
 .../predis/lib/Predis/Command/HashExists.php    |   35 +
 .../predis/lib/Predis/Command/HashGet.php       |   27 +
 .../predis/lib/Predis/Command/HashGetAll.php    |   41 +
 .../lib/Predis/Command/HashGetMultiple.php      |   35 +
 .../lib/Predis/Command/HashIncrementBy.php      |   27 +
 .../lib/Predis/Command/HashIncrementByFloat.php |   27 +
 .../predis/lib/Predis/Command/HashKeys.php      |   27 +
 .../predis/lib/Predis/Command/HashLength.php    |   27 +
 .../predis/lib/Predis/Command/HashScan.php      |   84 +
 .../predis/lib/Predis/Command/HashSet.php       |   35 +
 .../lib/Predis/Command/HashSetMultiple.php      |   47 +
 .../lib/Predis/Command/HashSetPreserve.php      |   35 +
 .../predis/lib/Predis/Command/HashValues.php    |   27 +
 .../lib/Predis/Command/HyperLogLogAdd.php       |   43 +
 .../lib/Predis/Command/HyperLogLogCount.php     |   43 +
 .../lib/Predis/Command/HyperLogLogMerge.php     |   43 +
 .../predis/lib/Predis/Command/KeyDelete.php     |   43 +
 .../predis/lib/Predis/Command/KeyDump.php       |   27 +
 .../predis/lib/Predis/Command/KeyExists.php     |   35 +
 .../predis/lib/Predis/Command/KeyExpire.php     |   35 +
 .../predis/lib/Predis/Command/KeyExpireAt.php   |   35 +
 .../predis/lib/Predis/Command/KeyKeys.php       |   27 +
 .../predis/lib/Predis/Command/KeyKeysV12x.php   |   28 +
 .../predis/lib/Predis/Command/KeyMove.php       |   35 +
 .../predis/lib/Predis/Command/KeyPersist.php    |   35 +
 .../lib/Predis/Command/KeyPreciseExpire.php     |   27 +
 .../lib/Predis/Command/KeyPreciseExpireAt.php   |   27 +
 .../lib/Predis/Command/KeyPreciseTimeToLive.php |   27 +
 .../predis/lib/Predis/Command/KeyRandom.php     |   35 +
 .../predis/lib/Predis/Command/KeyRename.php     |   35 +
 .../lib/Predis/Command/KeyRenamePreserve.php    |   35 +
 .../predis/lib/Predis/Command/KeyRestore.php    |   27 +
 .../predis/lib/Predis/Command/KeyScan.php       |   76 +
 .../predis/lib/Predis/Command/KeySort.php       |  117 +
 .../predis/lib/Predis/Command/KeyTimeToLive.php |   27 +
 .../predis/lib/Predis/Command/KeyType.php       |   27 +
 .../predis/lib/Predis/Command/ListIndex.php     |   27 +
 .../predis/lib/Predis/Command/ListInsert.php    |   27 +
 .../predis/lib/Predis/Command/ListLength.php    |   27 +
 .../predis/lib/Predis/Command/ListPopFirst.php  |   27 +
 .../lib/Predis/Command/ListPopFirstBlocking.php |   48 +
 .../predis/lib/Predis/Command/ListPopLast.php   |   27 +
 .../lib/Predis/Command/ListPopLastBlocking.php  |   27 +
 .../lib/Predis/Command/ListPopLastPushHead.php  |   35 +
 .../Command/ListPopLastPushHeadBlocking.php     |   35 +
 .../predis/lib/Predis/Command/ListPushHead.php  |   27 +
 .../predis/lib/Predis/Command/ListPushHeadX.php |   27 +
 .../predis/lib/Predis/Command/ListPushTail.php  |   35 +
 .../predis/lib/Predis/Command/ListPushTailX.php |   27 +
 .../predis/lib/Predis/Command/ListRange.php     |   27 +
 .../predis/lib/Predis/Command/ListRemove.php    |   27 +
 .../predis/lib/Predis/Command/ListSet.php       |   27 +
 .../predis/lib/Predis/Command/ListTrim.php      |   27 +
 .../predis/lib/Predis/Command/PrefixHelpers.php |  108 +
 .../lib/Predis/Command/PrefixableCommand.php    |   31 +
 .../Command/PrefixableCommandInterface.php      |   27 +
 .../Processor/CommandProcessingInterface.php    |   34 +
 .../CommandProcessorChainInterface.php          |   42 +
 .../Processor/CommandProcessorInterface.php     |   29 +
 .../Command/Processor/KeyPrefixProcessor.php    |   72 +
 .../Predis/Command/Processor/ProcessorChain.php |  130 +
 .../predis/lib/Predis/Command/PubSubPublish.php |   27 +
 .../lib/Predis/Command/PubSubSubscribe.php      |   43 +
 .../Predis/Command/PubSubSubscribeByPattern.php |   27 +
 .../lib/Predis/Command/PubSubUnsubscribe.php    |   43 +
 .../Command/PubSubUnsubscribeByPattern.php      |   27 +
 .../predis/lib/Predis/Command/RawCommand.php    |  157 +
 .../lib/Predis/Command/ScriptedCommand.php      |   76 +
 .../Command/ServerBackgroundRewriteAOF.php      |   35 +
 .../lib/Predis/Command/ServerBackgroundSave.php |   35 +
 .../predis/lib/Predis/Command/ServerClient.php  |   73 +
 .../predis/lib/Predis/Command/ServerCommand.php |   27 +
 .../predis/lib/Predis/Command/ServerConfig.php  |   48 +
 .../lib/Predis/Command/ServerDatabaseSize.php   |   27 +
 .../predis/lib/Predis/Command/ServerEval.php    |   51 +
 .../predis/lib/Predis/Command/ServerEvalSHA.php |   37 +
 .../lib/Predis/Command/ServerFlushAll.php       |   27 +
 .../lib/Predis/Command/ServerFlushDatabase.php  |   27 +
 .../predis/lib/Predis/Command/ServerInfo.php    |  111 +
 .../lib/Predis/Command/ServerInfoV26x.php       |   50 +
 .../lib/Predis/Command/ServerLastSave.php       |   27 +
 .../predis/lib/Predis/Command/ServerMonitor.php |   27 +
 .../predis/lib/Predis/Command/ServerObject.php  |   27 +
 .../predis/lib/Predis/Command/ServerSave.php    |   27 +
 .../predis/lib/Predis/Command/ServerScript.php  |   27 +
 .../lib/Predis/Command/ServerShutdown.php       |   27 +
 .../predis/lib/Predis/Command/ServerSlaveOf.php |   39 +
 .../predis/lib/Predis/Command/ServerSlowlog.php |   50 +
 .../predis/lib/Predis/Command/ServerTime.php    |   27 +
 .../predis/predis/lib/Predis/Command/SetAdd.php |   35 +
 .../lib/Predis/Command/SetCardinality.php       |   27 +
 .../predis/lib/Predis/Command/SetDifference.php |   27 +
 .../lib/Predis/Command/SetDifferenceStore.php   |   27 +
 .../lib/Predis/Command/SetIntersection.php      |   43 +
 .../lib/Predis/Command/SetIntersectionStore.php |   47 +
 .../predis/lib/Predis/Command/SetIsMember.php   |   35 +
 .../predis/lib/Predis/Command/SetMembers.php    |   27 +
 .../predis/lib/Predis/Command/SetMove.php       |   43 +
 .../predis/predis/lib/Predis/Command/SetPop.php |   27 +
 .../lib/Predis/Command/SetRandomMember.php      |   27 +
 .../predis/lib/Predis/Command/SetRemove.php     |   35 +
 .../predis/lib/Predis/Command/SetScan.php       |   76 +
 .../predis/lib/Predis/Command/SetUnion.php      |   27 +
 .../predis/lib/Predis/Command/SetUnionStore.php |   27 +
 .../predis/lib/Predis/Command/StringAppend.php  |   27 +
 .../lib/Predis/Command/StringBitCount.php       |   27 +
 .../predis/lib/Predis/Command/StringBitOp.php   |   49 +
 .../lib/Predis/Command/StringDecrement.php      |   27 +
 .../lib/Predis/Command/StringDecrementBy.php    |   27 +
 .../predis/lib/Predis/Command/StringGet.php     |   27 +
 .../predis/lib/Predis/Command/StringGetBit.php  |   27 +
 .../lib/Predis/Command/StringGetMultiple.php    |   43 +
 .../lib/Predis/Command/StringGetRange.php       |   27 +
 .../predis/lib/Predis/Command/StringGetSet.php  |   27 +
 .../lib/Predis/Command/StringIncrement.php      |   27 +
 .../lib/Predis/Command/StringIncrementBy.php    |   27 +
 .../Predis/Command/StringIncrementByFloat.php   |   27 +
 .../Predis/Command/StringPreciseSetExpire.php   |   27 +
 .../predis/lib/Predis/Command/StringSet.php     |   27 +
 .../predis/lib/Predis/Command/StringSetBit.php  |   27 +
 .../lib/Predis/Command/StringSetExpire.php      |   27 +
 .../lib/Predis/Command/StringSetMultiple.php    |   55 +
 .../Command/StringSetMultiplePreserve.php       |   35 +
 .../lib/Predis/Command/StringSetPreserve.php    |   35 +
 .../lib/Predis/Command/StringSetRange.php       |   27 +
 .../predis/lib/Predis/Command/StringStrlen.php  |   27 +
 .../predis/lib/Predis/Command/StringSubstr.php  |   27 +
 .../lib/Predis/Command/TransactionDiscard.php   |   27 +
 .../lib/Predis/Command/TransactionExec.php      |   27 +
 .../lib/Predis/Command/TransactionMulti.php     |   27 +
 .../lib/Predis/Command/TransactionUnwatch.php   |   35 +
 .../lib/Predis/Command/TransactionWatch.php     |   55 +
 .../predis/lib/Predis/Command/ZSetAdd.php       |   46 +
 .../lib/Predis/Command/ZSetCardinality.php      |   27 +
 .../predis/lib/Predis/Command/ZSetCount.php     |   27 +
 .../lib/Predis/Command/ZSetIncrementBy.php      |   27 +
 .../Predis/Command/ZSetIntersectionStore.php    |   27 +
 .../predis/lib/Predis/Command/ZSetLexCount.php  |   27 +
 .../predis/lib/Predis/Command/ZSetRange.php     |  103 +
 .../lib/Predis/Command/ZSetRangeByLex.php       |   54 +
 .../lib/Predis/Command/ZSetRangeByScore.php     |   67 +
 .../predis/lib/Predis/Command/ZSetRank.php      |   27 +
 .../predis/lib/Predis/Command/ZSetRemove.php    |   35 +
 .../lib/Predis/Command/ZSetRemoveRangeByLex.php |   27 +
 .../Predis/Command/ZSetRemoveRangeByRank.php    |   27 +
 .../Predis/Command/ZSetRemoveRangeByScore.php   |   27 +
 .../lib/Predis/Command/ZSetReverseRange.php     |   27 +
 .../Predis/Command/ZSetReverseRangeByScore.php  |   27 +
 .../lib/Predis/Command/ZSetReverseRank.php      |   27 +
 .../predis/lib/Predis/Command/ZSetScan.php      |   85 +
 .../predis/lib/Predis/Command/ZSetScore.php     |   27 +
 .../lib/Predis/Command/ZSetUnionStore.php       |   93 +
 .../lib/Predis/CommunicationException.php       |   76 +
 .../Predis/Connection/AbstractConnection.php    |  227 +
 .../AggregatedConnectionInterface.php           |   55 +
 .../Connection/ClusterConnectionInterface.php   |   22 +
 .../ComposableConnectionInterface.php           |   57 +
 .../Connection/ComposableStreamConnection.php   |  135 +
 .../Predis/Connection/ConnectionException.php   |   23 +
 .../lib/Predis/Connection/ConnectionFactory.php |  180 +
 .../Connection/ConnectionFactoryInterface.php   |   53 +
 .../Predis/Connection/ConnectionInterface.php   |   63 +
 .../Predis/Connection/ConnectionParameters.php  |  183 +
 .../ConnectionParametersInterface.php           |   44 +
 .../Connection/MasterSlaveReplication.php       |  261 +
 .../Predis/Connection/PhpiredisConnection.php   |  393 ++
 .../Connection/PhpiredisStreamConnection.php    |  242 +
 .../lib/Predis/Connection/PredisCluster.php     |  232 +
 .../lib/Predis/Connection/RedisCluster.php      |  530 ++
 .../ReplicationConnectionInterface.php          |   48 +
 .../Connection/SingleConnectionInterface.php    |   58 +
 .../lib/Predis/Connection/StreamConnection.php  |  307 ++
 .../lib/Predis/Connection/WebdisConnection.php  |  334 ++
 .../lib/Predis/ExecutableContextInterface.php   |   29 +
 vendor/predis/predis/lib/Predis/Helpers.php     |   73 +
 .../lib/Predis/Iterator/MultiBulkResponse.php   |  100 +
 .../Predis/Iterator/MultiBulkResponseSimple.php |   89 +
 .../Predis/Iterator/MultiBulkResponseTuple.php  |   83 +
 .../lib/Predis/Monitor/MonitorContext.php       |  165 +
 .../predis/lib/Predis/NotSupportedException.php |   22 +
 .../predis/lib/Predis/Option/AbstractOption.php |   48 +
 .../predis/lib/Predis/Option/ClientCluster.php  |   96 +
 .../Predis/Option/ClientConnectionFactory.php   |   73 +
 .../lib/Predis/Option/ClientExceptions.php      |   36 +
 .../predis/lib/Predis/Option/ClientOptions.php  |  125 +
 .../Predis/Option/ClientOptionsInterface.php    |   21 +
 .../predis/lib/Predis/Option/ClientPrefix.php   |   30 +
 .../predis/lib/Predis/Option/ClientProfile.php  |   61 +
 .../lib/Predis/Option/ClientReplication.php     |   78 +
 .../predis/lib/Predis/Option/CustomOption.php   |   89 +
 .../lib/Predis/Option/OptionInterface.php       |   47 +
 .../Predis/Pipeline/FireAndForgetExecutor.php   |   55 +
 .../lib/Predis/Pipeline/MultiExecExecutor.php   |  168 +
 .../lib/Predis/Pipeline/PipelineContext.php     |  189 +
 .../Pipeline/PipelineExecutorInterface.php      |   33 +
 .../lib/Predis/Pipeline/SafeClusterExecutor.php |   72 +
 .../predis/lib/Predis/Pipeline/SafeExecutor.php |   57 +
 .../lib/Predis/Pipeline/StandardExecutor.php    |  123 +
 .../predis/lib/Predis/PredisException.php       |   21 +
 .../predis/lib/Predis/Profile/ServerProfile.php |  229 +
 .../Predis/Profile/ServerProfileInterface.php   |   56 +
 .../lib/Predis/Profile/ServerVersion12.php      |  125 +
 .../lib/Predis/Profile/ServerVersion20.php      |  173 +
 .../lib/Predis/Profile/ServerVersion22.php      |  202 +
 .../lib/Predis/Profile/ServerVersion24.php      |  207 +
 .../lib/Predis/Profile/ServerVersion26.php      |  233 +
 .../lib/Predis/Profile/ServerVersion28.php      |  258 +
 .../lib/Predis/Profile/ServerVersion30.php      |  261 +
 .../lib/Predis/Profile/ServerVersionNext.php    |   36 +
 .../Protocol/CommandSerializerInterface.php     |   30 +
 .../Protocol/ComposableProtocolInterface.php    |   50 +
 .../lib/Predis/Protocol/ProtocolException.php   |   24 +
 .../lib/Predis/Protocol/ProtocolInterface.php   |   40 +
 .../Protocol/ResponseHandlerInterface.php       |   32 +
 .../Predis/Protocol/ResponseReaderInterface.php |   31 +
 .../Protocol/Text/ComposableTextProtocol.php    |  129 +
 .../Protocol/Text/ResponseBulkHandler.php       |   53 +
 .../Protocol/Text/ResponseErrorHandler.php      |   37 +
 .../Protocol/Text/ResponseIntegerHandler.php    |   49 +
 .../Protocol/Text/ResponseMultiBulkHandler.php  |   72 +
 .../Text/ResponseMultiBulkStreamHandler.php     |   48 +
 .../Protocol/Text/ResponseStatusHandler.php     |   43 +
 .../Protocol/Text/TextCommandSerializer.php     |   47 +
 .../lib/Predis/Protocol/Text/TextProtocol.php   |  137 +
 .../Predis/Protocol/Text/TextResponseReader.php |  113 +
 .../lib/Predis/PubSub/AbstractPubSubContext.php |  218 +
 .../predis/lib/Predis/PubSub/DispatcherLoop.php |  170 +
 .../predis/lib/Predis/PubSub/PubSubContext.php  |  147 +
 .../Predis/Replication/ReplicationStrategy.php  |  226 +
 .../predis/predis/lib/Predis/ResponseError.php  |   59 +
 .../lib/Predis/ResponseErrorInterface.php       |   35 +
 .../lib/Predis/ResponseObjectInterface.php      |   21 +
 .../predis/predis/lib/Predis/ResponseQueued.php |   53 +
 .../predis/lib/Predis/ServerException.php       |   42 +
 .../lib/Predis/Session/SessionHandler.php       |  138 +
 .../Transaction/AbortedMultiExecException.php   |   45 +
 .../lib/Predis/Transaction/MultiExecContext.php |  452 ++
 vendor/predis/predis/package.ini                |   36 +
 vendor/predis/predis/phpunit.xml.dist           |   39 +
 vendor/predis/predis/phpunit.xml.travisci       |   43 +
 .../PHPUnit/ArrayHasSameValuesConstraint.php    |   58 +
 .../tests/PHPUnit/PredisCommandTestCase.php     |  127 +
 .../tests/PHPUnit/PredisConnectionTestCase.php  |  333 ++
 .../tests/PHPUnit/PredisDistributorTestCase.php |   67 +
 .../tests/PHPUnit/PredisProfileTestCase.php     |   81 +
 .../predis/tests/PHPUnit/PredisTestCase.php     |  307 ++
 .../tests/PHPUnit/RedisCommandConstraint.php    |   98 +
 .../predis/tests/Predis/ClientExceptionTest.php |   43 +
 .../predis/predis/tests/Predis/ClientTest.php   |  777 +++
 .../Distribution/EmptyRingExceptionTest.php     |   31 +
 .../Cluster/Distribution/HashRingTest.php       |  153 +
 .../Cluster/Distribution/KetamaPureRingTest.php |  153 +
 .../Cluster/PredisClusterHashStrategyTest.php   |  383 ++
 .../Cluster/RedisClusterHashStrategyTest.php    |  396 ++
 .../Predis/Collection/Iterator/HashKeyTest.php  |  480 ++
 .../Predis/Collection/Iterator/KeyspaceTest.php |  448 ++
 .../Predis/Collection/Iterator/ListKeyTest.php  |  248 +
 .../Predis/Collection/Iterator/SetKeyTest.php   |  448 ++
 .../Collection/Iterator/SortedSetKeyTest.php    |  480 ++
 .../predis/tests/Predis/Command/CommandTest.php |  180 +
 .../tests/Predis/Command/ConnectionAuthTest.php |   62 +
 .../tests/Predis/Command/ConnectionEchoTest.php |   74 +
 .../tests/Predis/Command/ConnectionPingTest.php |   69 +
 .../tests/Predis/Command/ConnectionQuitTest.php |   70 +
 .../Predis/Command/ConnectionSelectTest.php     |   84 +
 .../tests/Predis/Command/HashDeleteTest.php     |  123 +
 .../tests/Predis/Command/HashExistsTest.php     |  112 +
 .../tests/Predis/Command/HashGetAllTest.php     |  113 +
 .../Predis/Command/HashGetMultipleTest.php      |  129 +
 .../predis/tests/Predis/Command/HashGetTest.php |  109 +
 .../Predis/Command/HashIncrementByFloatTest.php |  134 +
 .../Predis/Command/HashIncrementByTest.php      |  134 +
 .../tests/Predis/Command/HashKeysTest.php       |  113 +
 .../tests/Predis/Command/HashLengthTest.php     |  108 +
 .../tests/Predis/Command/HashScanTest.php       |  161 +
 .../Predis/Command/HashSetMultipleTest.php      |  135 +
 .../Predis/Command/HashSetPreserveTest.php      |  112 +
 .../predis/tests/Predis/Command/HashSetTest.php |  111 +
 .../tests/Predis/Command/HashValuesTest.php     |  113 +
 .../tests/Predis/Command/HyperLogLogAddTest.php |   89 +
 .../Predis/Command/HyperLogLogCountTest.php     |  105 +
 .../Predis/Command/HyperLogLogMergeTest.php     |   87 +
 .../tests/Predis/Command/KeyDeleteTest.php      |  117 +
 .../predis/tests/Predis/Command/KeyDumpTest.php |   87 +
 .../tests/Predis/Command/KeyExistsTest.php      |  106 +
 .../tests/Predis/Command/KeyExpireAtTest.php    |  129 +
 .../tests/Predis/Command/KeyExpireTest.php      |  143 +
 .../predis/tests/Predis/Command/KeyKeysTest.php |  103 +
 .../tests/Predis/Command/KeyKeysV12xTest.php    |   89 +
 .../predis/tests/Predis/Command/KeyMoveTest.php |  119 +
 .../tests/Predis/Command/KeyPersistTest.php     |  121 +
 .../Predis/Command/KeyPreciseExpireAtTest.php   |  119 +
 .../Predis/Command/KeyPreciseExpireTest.php     |  144 +
 .../Predis/Command/KeyPreciseTimeToLiveTest.php |  120 +
 .../tests/Predis/Command/KeyRandomTest.php      |   85 +
 .../Predis/Command/KeyRenamePreserveTest.php    |  109 +
 .../tests/Predis/Command/KeyRenameTest.php      |  108 +
 .../tests/Predis/Command/KeyRestoreTest.php     |   82 +
 .../predis/tests/Predis/Command/KeyScanTest.php |  136 +
 .../predis/tests/Predis/Command/KeySortTest.php |  279 ++
 .../tests/Predis/Command/KeyTimeToLiveTest.php  |  122 +
 .../predis/tests/Predis/Command/KeyTypeTest.php |  107 +
 .../tests/Predis/Command/ListIndexTest.php      |  124 +
 .../tests/Predis/Command/ListInsertTest.php     |  132 +
 .../tests/Predis/Command/ListLengthTest.php     |  119 +
 .../Predis/Command/ListPopFirstBlockingTest.php |  103 +
 .../tests/Predis/Command/ListPopFirstTest.php   |  119 +
 .../Predis/Command/ListPopLastBlockingTest.php  |  103 +
 .../Command/ListPopLastPushHeadBlockingTest.php |   84 +
 .../Predis/Command/ListPopLastPushHeadTest.php  |  153 +
 .../tests/Predis/Command/ListPopLastTest.php    |  119 +
 .../tests/Predis/Command/ListPushHeadTest.php   |  122 +
 .../tests/Predis/Command/ListPushHeadXTest.php  |  120 +
 .../tests/Predis/Command/ListPushTailTest.php   |  122 +
 .../tests/Predis/Command/ListPushTailXTest.php  |  120 +
 .../tests/Predis/Command/ListRangeTest.php      |  163 +
 .../tests/Predis/Command/ListRemoveTest.php     |  147 +
 .../predis/tests/Predis/Command/ListSetTest.php |  121 +
 .../tests/Predis/Command/ListTrimTest.php       |  153 +
 .../tests/Predis/Command/PrefixHelpersTest.php  |   84 +
 .../Predis/Command/PrefixableCommandTest.php    |   54 +
 .../Processor/KeyPrefixProcessorTest.php        |  111 +
 .../Command/Processor/ProcessorChainTest.php    |  170 +
 .../tests/Predis/Command/PubSubPublishTest.php  |   96 +
 .../Command/PubSubSubscribeByPatternTest.php    |  182 +
 .../Predis/Command/PubSubSubscribeTest.php      |  182 +
 .../Command/PubSubUnsubscribeByPatternTest.php  |  150 +
 .../Predis/Command/PubSubUnsubscribeTest.php    |  150 +
 .../tests/Predis/Command/RawCommandTest.php     |  154 +
 .../Predis/Command/ScriptedCommandTest.php      |  200 +
 .../Command/ServerBackgroundRewriteAOFTest.php  |   54 +
 .../Predis/Command/ServerBackgroundSaveTest.php |   54 +
 .../tests/Predis/Command/ServerClientTest.php   |  218 +
 .../tests/Predis/Command/ServerCommandTest.php  |  118 +
 .../tests/Predis/Command/ServerConfigTest.php   |  171 +
 .../Predis/Command/ServerDatabaseSizeTest.php   |   65 +
 .../tests/Predis/Command/ServerEvalSHATest.php  |  136 +
 .../tests/Predis/Command/ServerEvalTest.php     |  131 +
 .../tests/Predis/Command/ServerFlushAllTest.php |   54 +
 .../Predis/Command/ServerFlushDatabaseTest.php  |   67 +
 .../tests/Predis/Command/ServerInfoTest.php     |  287 ++
 .../tests/Predis/Command/ServerInfoV26xTest.php |  305 ++
 .../tests/Predis/Command/ServerLastSaveTest.php |   64 +
 .../tests/Predis/Command/ServerMonitorTest.php  |   72 +
 .../tests/Predis/Command/ServerObjectTest.php   |  113 +
 .../tests/Predis/Command/ServerSaveTest.php     |   54 +
 .../tests/Predis/Command/ServerScriptTest.php   |  108 +
 .../tests/Predis/Command/ServerShutdownTest.php |   46 +
 .../tests/Predis/Command/ServerSlaveOfTest.php  |   85 +
 .../tests/Predis/Command/ServerSlowlogTest.php  |  118 +
 .../tests/Predis/Command/ServerTimeTest.php     |   72 +
 .../predis/tests/Predis/Command/SetAddTest.php  |  121 +
 .../tests/Predis/Command/SetCardinalityTest.php |  117 +
 .../Predis/Command/SetDifferenceStoreTest.php   |  140 +
 .../tests/Predis/Command/SetDifferenceTest.php  |  142 +
 .../Predis/Command/SetIntersectionStoreTest.php |  153 +
 .../Predis/Command/SetIntersectionTest.php      |  153 +
 .../tests/Predis/Command/SetIsMemberTest.php    |  121 +
 .../tests/Predis/Command/SetMembersTest.php     |  113 +
 .../predis/tests/Predis/Command/SetMoveTest.php |  129 +
 .../predis/tests/Predis/Command/SetPopTest.php  |  110 +
 .../Predis/Command/SetRandomMemberTest.php      |  118 +
 .../tests/Predis/Command/SetRemoveTest.php      |  125 +
 .../predis/tests/Predis/Command/SetScanTest.php |  156 +
 .../tests/Predis/Command/SetUnionStoreTest.php  |  140 +
 .../tests/Predis/Command/SetUnionTest.php       |  142 +
 .../tests/Predis/Command/StringAppendTest.php   |  120 +
 .../tests/Predis/Command/StringBitCountTest.php |  117 +
 .../tests/Predis/Command/StringBitOpTest.php    |  202 +
 .../Predis/Command/StringDecrementByTest.php    |  145 +
 .../Predis/Command/StringDecrementTest.php      |  132 +
 .../tests/Predis/Command/StringGetBitTest.php   |  138 +
 .../Predis/Command/StringGetMultipleTest.php    |  135 +
 .../tests/Predis/Command/StringGetRangeTest.php |  123 +
 .../tests/Predis/Command/StringGetSetTest.php   |  109 +
 .../tests/Predis/Command/StringGetTest.php      |  130 +
 .../Command/StringIncrementByFloatTest.php      |  145 +
 .../Predis/Command/StringIncrementByTest.php    |  145 +
 .../Predis/Command/StringIncrementTest.php      |  119 +
 .../Command/StringPreciseSetExpireTest.php      |  139 +
 .../tests/Predis/Command/StringSetBitTest.php   |  154 +
 .../Predis/Command/StringSetExpireTest.php      |  138 +
 .../Command/StringSetMultiplePreserveTest.php   |  122 +
 .../Predis/Command/StringSetMultipleTest.php    |  108 +
 .../Predis/Command/StringSetPreserveTest.php    |   94 +
 .../tests/Predis/Command/StringSetRangeTest.php |  148 +
 .../tests/Predis/Command/StringSetTest.php      |   94 +
 .../tests/Predis/Command/StringStrlenTest.php   |  119 +
 .../tests/Predis/Command/StringSubstrTest.php   |   86 +
 .../Predis/Command/TransactionDiscardTest.php   |   80 +
 .../Predis/Command/TransactionExecTest.php      |  112 +
 .../Predis/Command/TransactionMultiTest.php     |   91 +
 .../Predis/Command/TransactionUnwatchTest.php   |   84 +
 .../Predis/Command/TransactionWatchTest.php     |  143 +
 .../predis/tests/Predis/Command/ZSetAddTest.php |  134 +
 .../Predis/Command/ZSetCardinalityTest.php      |  108 +
 .../tests/Predis/Command/ZSetCountTest.php      |  141 +
 .../Predis/Command/ZSetIncrementByTest.php      |  108 +
 .../Command/ZSetIntersectionStoreTest.php       |  201 +
 .../tests/Predis/Command/ZSetLexCountTest.php   |  156 +
 .../tests/Predis/Command/ZSetRangeByLexTest.php |  223 +
 .../Predis/Command/ZSetRangeByScoreTest.php     |  257 +
 .../tests/Predis/Command/ZSetRangeTest.php      |  180 +
 .../tests/Predis/Command/ZSetRankTest.php       |  111 +
 .../Predis/Command/ZSetRemoveRangeByLexTest.php |  168 +
 .../Command/ZSetRemoveRangeByRankTest.php       |  123 +
 .../Command/ZSetRemoveRangeByScoreTest.php      |  123 +
 .../tests/Predis/Command/ZSetRemoveTest.php     |  110 +
 .../Command/ZSetReverseRangeByScoreTest.php     |  257 +
 .../Predis/Command/ZSetReverseRangeTest.php     |  180 +
 .../Predis/Command/ZSetReverseRankTest.php      |  111 +
 .../tests/Predis/Command/ZSetScanTest.php       |  161 +
 .../tests/Predis/Command/ZSetScoreTest.php      |  111 +
 .../tests/Predis/Command/ZSetUnionStoreTest.php |  219 +
 .../tests/Predis/CommunicationExceptionTest.php |  113 +
 .../ComposableStreamConnectionTest.php          |  120 +
 .../Connection/ConnectionExceptionTest.php      |   30 +
 .../Predis/Connection/ConnectionFactoryTest.php |  383 ++
 .../Connection/ConnectionParametersTest.php     |  265 +
 .../Connection/MasterSlaveReplicationTest.php   |  593 +++
 .../Connection/PhpiredisConnectionTest.php      |  138 +
 .../PhpiredisStreamConnectionTest.php           |  145 +
 .../Predis/Connection/PredisClusterTest.php     |  404 ++
 .../Predis/Connection/RedisClusterTest.php      |  757 +++
 .../Predis/Connection/StreamConnectionTest.php  |  137 +
 .../Predis/Connection/WebdisConnectionTest.php  |  186 +
 .../predis/predis/tests/Predis/HelpersTest.php  |   70 +
 .../Iterator/MultiBulkResponseSimpleTest.php    |  128 +
 .../Iterator/MultiBulkResponseTupleTest.php     |  114 +
 .../tests/Predis/Monitor/MonitorContextTest.php |  196 +
 .../tests/Predis/Option/AbstractOptionTest.php  |   79 +
 .../tests/Predis/Option/ClientClusterTest.php   |  127 +
 .../Option/ClientConnectionFactoryTest.php      |  137 +
 .../Predis/Option/ClientExceptionsTest.php      |   31 +
 .../tests/Predis/Option/ClientOptionsTest.php   |  128 +
 .../tests/Predis/Option/ClientPrefixTest.php    |   59 +
 .../tests/Predis/Option/ClientProfileTest.php   |  210 +
 .../Predis/Option/ClientReplicationTest.php     |  101 +
 .../tests/Predis/Option/CustomOptionTest.php    |  114 +
 .../Pipeline/FireAndForgetExecutorTest.php      |   86 +
 .../Predis/Pipeline/MultiExecExecutorTest.php   |  187 +
 .../Predis/Pipeline/PipelineContextTest.php     |  438 ++
 .../Predis/Pipeline/StandardExecutorTest.php    |  159 +
 .../predis/tests/Predis/PredisExceptionTest.php |   33 +
 .../tests/Predis/Profile/ServerProfileTest.php  |  293 ++
 .../Predis/Profile/ServerVersion12Test.php      |  116 +
 .../Predis/Profile/ServerVersion20Test.php      |  148 +
 .../Predis/Profile/ServerVersion22Test.php      |  163 +
 .../Predis/Profile/ServerVersion24Test.php      |  164 +
 .../Predis/Profile/ServerVersion26Test.php      |  178 +
 .../Predis/Profile/ServerVersion28Test.php      |  189 +
 .../Predis/Profile/ServerVersion30Test.php      |  189 +
 .../Predis/Profile/ServerVersionNextTest.php    |  189 +
 .../Predis/Protocol/ProtocolExceptionTest.php   |   31 +
 .../Text/ComposableTextProtocolTest.php         |  119 +
 .../Protocol/Text/ResponseBulkHandlerTest.php   |   91 +
 .../Protocol/Text/ResponseErrorHandlerTest.php  |   39 +
 .../Text/ResponseIntegerHandlerTest.php         |   70 +
 .../Text/ResponseMultiBulkHandlerTest.php       |   84 +
 .../Text/ResponseMultiBulkStreamHandlerTest.php |   52 +
 .../Protocol/Text/ResponseStatusHandlerTest.php |   66 +
 .../Protocol/Text/TextCommandSerializerTest.php |   64 +
 .../Predis/Protocol/Text/TextProtocolTest.php   |  119 +
 .../Protocol/Text/TextResponseReaderTest.php    |  123 +
 .../tests/Predis/PubSub/DispatcherLoopTest.php  |  125 +
 .../tests/Predis/PubSub/PubSubContextTest.php   |  340 ++
 .../Replication/ReplicationStrategyTest.php     |  382 ++
 .../predis/tests/Predis/ResponseErrorTest.php   |   63 +
 .../predis/tests/Predis/ResponseQueuedTest.php  |   51 +
 .../predis/tests/Predis/ServerExceptionTest.php |   69 +
 .../AbortedMultiExecExceptionTest.php           |   35 +
 .../Predis/Transaction/MultiExecContextTest.php |  840 ++++
 vendor/predis/predis/tests/README.md            |   83 +
 vendor/predis/predis/tests/bootstrap.php        |   26 +
 vendor/psr/log/.gitignore                       |    1 +
 vendor/psr/log/LICENSE                          |   19 +
 vendor/psr/log/Psr/Log/AbstractLogger.php       |  120 +
 .../log/Psr/Log/InvalidArgumentException.php    |    7 +
 vendor/psr/log/Psr/Log/LogLevel.php             |   18 +
 vendor/psr/log/Psr/Log/LoggerAwareInterface.php |   17 +
 vendor/psr/log/Psr/Log/LoggerAwareTrait.php     |   22 +
 vendor/psr/log/Psr/Log/LoggerInterface.php      |  114 +
 vendor/psr/log/Psr/Log/LoggerTrait.php          |  131 +
 vendor/psr/log/Psr/Log/NullLogger.php           |   27 +
 .../log/Psr/Log/Test/LoggerInterfaceTest.php    |  116 +
 vendor/psr/log/README.md                        |   45 +
 vendor/psr/log/composer.json                    |   17 +
 vendor/stack/builder/.gitignore                 |    1 +
 vendor/stack/builder/.travis.yml                |   20 +
 vendor/stack/builder/CHANGELOG.md               |   18 +
 vendor/stack/builder/LICENSE                    |   19 +
 vendor/stack/builder/README.md                  |   62 +
 vendor/stack/builder/composer.json              |   26 +
 vendor/stack/builder/composer.lock              |  488 ++
 vendor/stack/builder/phpunit.xml.dist           |   30 +
 vendor/stack/builder/src/Stack/Builder.php      |   63 +
 .../builder/src/Stack/StackedHttpKernel.php     |   37 +
 .../tests/functional/SilexApplicationTest.php   |   60 +
 .../builder/tests/unit/Stack/BuilderTest.php    |  215 +
 .../tests/unit/Stack/StackedHttpKernelTest.php  |  155 +
 vendor/swiftmailer/swiftmailer/.gitattributes   |    9 +
 vendor/swiftmailer/swiftmailer/.gitignore       |    4 +
 vendor/swiftmailer/swiftmailer/.travis.yml      |   25 +
 vendor/swiftmailer/swiftmailer/CHANGES          |  200 +
 vendor/swiftmailer/swiftmailer/LICENSE          |   19 +
 vendor/swiftmailer/swiftmailer/README           |   16 +
 vendor/swiftmailer/swiftmailer/VERSION          |    1 +
 vendor/swiftmailer/swiftmailer/composer.json    |   31 +
 vendor/swiftmailer/swiftmailer/doc/headers.rst  |  742 +++
 .../swiftmailer/doc/help-resources.rst          |   44 +
 .../swiftmailer/doc/including-the-files.rst     |   46 +
 vendor/swiftmailer/swiftmailer/doc/index.rst    |   16 +
 .../swiftmailer/swiftmailer/doc/installing.rst  |   89 +
 .../swiftmailer/doc/introduction.rst            |  135 +
 vendor/swiftmailer/swiftmailer/doc/japanese.rst |   22 +
 vendor/swiftmailer/swiftmailer/doc/messages.rst | 1057 ++++
 vendor/swiftmailer/swiftmailer/doc/overview.rst |  161 +
 vendor/swiftmailer/swiftmailer/doc/plugins.rst  |  385 ++
 vendor/swiftmailer/swiftmailer/doc/sending.rst  |  607 +++
 .../swiftmailer/doc/uml/Encoders.graffle        |  Bin 0 -> 3503 bytes
 .../swiftmailer/doc/uml/Mime.graffle            |  Bin 0 -> 5575 bytes
 .../swiftmailer/doc/uml/Transports.graffle      |  Bin 0 -> 3061 bytes
 .../swiftmailer/lib/classes/Swift.php           |   80 +
 .../lib/classes/Swift/Attachment.php            |   71 +
 .../AbstractFilterableInputStream.php           |  179 +
 .../Swift/ByteStream/ArrayByteStream.php        |  184 +
 .../classes/Swift/ByteStream/FileByteStream.php |  229 +
 .../ByteStream/TemporaryFileByteStream.php      |   42 +
 .../lib/classes/Swift/CharacterReader.php       |   67 +
 .../CharacterReader/GenericFixedWidthReader.php |   97 +
 .../Swift/CharacterReader/UsAsciiReader.php     |   84 +
 .../Swift/CharacterReader/Utf8Reader.php        |  179 +
 .../classes/Swift/CharacterReaderFactory.php    |   26 +
 .../SimpleCharacterReaderFactory.php            |  124 +
 .../lib/classes/Swift/CharacterStream.php       |   89 +
 .../CharacterStream/ArrayCharacterStream.php    |  293 ++
 .../Swift/CharacterStream/NgCharacterStream.php |  276 ++
 .../lib/classes/Swift/ConfigurableSpool.php     |   63 +
 .../lib/classes/Swift/DependencyContainer.php   |  372 ++
 .../lib/classes/Swift/DependencyException.php   |   27 +
 .../lib/classes/Swift/EmbeddedFile.php          |   69 +
 .../swiftmailer/lib/classes/Swift/Encoder.php   |   27 +
 .../lib/classes/Swift/Encoder/Base64Encoder.php |   58 +
 .../lib/classes/Swift/Encoder/QpEncoder.php     |  289 ++
 .../classes/Swift/Encoder/Rfc2231Encoder.php    |   92 +
 .../swiftmailer/lib/classes/Swift/Encoding.php  |   64 +
 .../lib/classes/Swift/Events/CommandEvent.php   |   65 +
 .../classes/Swift/Events/CommandListener.php    |   24 +
 .../lib/classes/Swift/Events/Event.php          |   38 +
 .../classes/Swift/Events/EventDispatcher.php    |   83 +
 .../lib/classes/Swift/Events/EventListener.php  |   18 +
 .../lib/classes/Swift/Events/EventObject.php    |   63 +
 .../lib/classes/Swift/Events/ResponseEvent.php  |   65 +
 .../classes/Swift/Events/ResponseListener.php   |   24 +
 .../lib/classes/Swift/Events/SendEvent.php      |  129 +
 .../lib/classes/Swift/Events/SendListener.php   |   31 +
 .../Swift/Events/SimpleEventDispatcher.php      |  156 +
 .../Swift/Events/TransportChangeEvent.php       |   27 +
 .../Swift/Events/TransportChangeListener.php    |   45 +
 .../Swift/Events/TransportExceptionEvent.php    |   46 +
 .../Swift/Events/TransportExceptionListener.php |   24 +
 .../lib/classes/Swift/FailoverTransport.php     |   45 +
 .../swiftmailer/lib/classes/Swift/FileSpool.php |  208 +
 .../lib/classes/Swift/FileStream.php            |   24 +
 .../lib/classes/Swift/Filterable.php            |   32 +
 .../swiftmailer/lib/classes/Swift/Image.php     |   61 +
 .../lib/classes/Swift/InputByteStream.php       |   75 +
 .../lib/classes/Swift/IoException.php           |   27 +
 .../swiftmailer/lib/classes/Swift/KeyCache.php  |  105 +
 .../classes/Swift/KeyCache/ArrayKeyCache.php    |  206 +
 .../lib/classes/Swift/KeyCache/DiskKeyCache.php |  324 ++
 .../Swift/KeyCache/KeyCacheInputStream.php      |   51 +
 .../lib/classes/Swift/KeyCache/NullKeyCache.php |  115 +
 .../KeyCache/SimpleKeyCacheInputStream.php      |  127 +
 .../lib/classes/Swift/LoadBalancedTransport.php |   45 +
 .../lib/classes/Swift/MailTransport.php         |   45 +
 .../swiftmailer/lib/classes/Swift/Mailer.php    |  114 +
 .../Swift/Mailer/ArrayRecipientIterator.php     |   55 +
 .../classes/Swift/Mailer/RecipientIterator.php  |   32 +
 .../lib/classes/Swift/MemorySpool.php           |   84 +
 .../swiftmailer/lib/classes/Swift/Message.php   |  287 ++
 .../lib/classes/Swift/Mime/Attachment.php       |  153 +
 .../lib/classes/Swift/Mime/CharsetObserver.php  |   24 +
 .../lib/classes/Swift/Mime/ContentEncoder.php   |   34 +
 .../ContentEncoder/Base64ContentEncoder.php     |  104 +
 .../ContentEncoder/NativeQpContentEncoder.php   |  123 +
 .../Mime/ContentEncoder/PlainContentEncoder.php |  162 +
 .../Mime/ContentEncoder/QpContentEncoder.php    |  123 +
 .../ContentEncoder/QpContentEncoderProxy.php    |   97 +
 .../Mime/ContentEncoder/RawContentEncoder.php   |   63 +
 .../lib/classes/Swift/Mime/EmbeddedFile.php     |   45 +
 .../lib/classes/Swift/Mime/EncodingObserver.php |   24 +
 .../lib/classes/Swift/Mime/Grammar.php          |  176 +
 .../lib/classes/Swift/Mime/Header.php           |   93 +
 .../lib/classes/Swift/Mime/HeaderEncoder.php    |   24 +
 .../Mime/HeaderEncoder/Base64HeaderEncoder.php  |   55 +
 .../Mime/HeaderEncoder/QpHeaderEncoder.php      |   65 +
 .../lib/classes/Swift/Mime/HeaderFactory.php    |   78 +
 .../lib/classes/Swift/Mime/HeaderSet.php        |  169 +
 .../Swift/Mime/Headers/AbstractHeader.php       |  503 ++
 .../classes/Swift/Mime/Headers/DateHeader.php   |  125 +
 .../Swift/Mime/Headers/IdentificationHeader.php |  180 +
 .../Swift/Mime/Headers/MailboxHeader.php        |  354 ++
 .../Swift/Mime/Headers/OpenDKIMHeader.php       |  135 +
 .../Swift/Mime/Headers/ParameterizedHeader.php  |  260 +
 .../classes/Swift/Mime/Headers/PathHeader.php   |  143 +
 .../Swift/Mime/Headers/UnstructuredHeader.php   |  112 +
 .../lib/classes/Swift/Mime/Message.php          |  223 +
 .../lib/classes/Swift/Mime/MimeEntity.php       |  115 +
 .../lib/classes/Swift/Mime/MimePart.php         |  214 +
 .../classes/Swift/Mime/ParameterizedHeader.php  |   34 +
 .../classes/Swift/Mime/SimpleHeaderFactory.php  |  197 +
 .../lib/classes/Swift/Mime/SimpleHeaderSet.php  |  396 ++
 .../lib/classes/Swift/Mime/SimpleMessage.php    |  649 +++
 .../lib/classes/Swift/Mime/SimpleMimeEntity.php |  867 ++++
 .../swiftmailer/lib/classes/Swift/MimePart.php  |   59 +
 .../lib/classes/Swift/NullTransport.php         |   39 +
 .../lib/classes/Swift/OutputByteStream.php      |   46 +
 .../classes/Swift/Plugins/AntiFloodPlugin.php   |  141 +
 .../Swift/Plugins/BandwidthMonitorPlugin.php    |  164 +
 .../Swift/Plugins/Decorator/Replacements.php    |   31 +
 .../classes/Swift/Plugins/DecoratorPlugin.php   |  207 +
 .../classes/Swift/Plugins/ImpersonatePlugin.php |   68 +
 .../lib/classes/Swift/Plugins/Logger.php        |   36 +
 .../lib/classes/Swift/Plugins/LoggerPlugin.php  |  141 +
 .../Swift/Plugins/Loggers/ArrayLogger.php       |   72 +
 .../Swift/Plugins/Loggers/EchoLogger.php        |   58 +
 .../lib/classes/Swift/Plugins/MessageLogger.php |   75 +
 .../Swift/Plugins/Pop/Pop3Connection.php        |   31 +
 .../classes/Swift/Plugins/Pop/Pop3Exception.php |   27 +
 .../Swift/Plugins/PopBeforeSmtpPlugin.php       |  273 ++
 .../classes/Swift/Plugins/RedirectingPlugin.php |  211 +
 .../lib/classes/Swift/Plugins/Reporter.php      |   32 +
 .../classes/Swift/Plugins/ReporterPlugin.php    |   73 +
 .../Swift/Plugins/Reporters/HitReporter.php     |   59 +
 .../Swift/Plugins/Reporters/HtmlReporter.php    |   39 +
 .../lib/classes/Swift/Plugins/Sleeper.php       |   24 +
 .../classes/Swift/Plugins/ThrottlerPlugin.php   |  200 +
 .../lib/classes/Swift/Plugins/Timer.php         |   24 +
 .../lib/classes/Swift/Preferences.php           |  103 +
 .../classes/Swift/ReplacementFilterFactory.php  |   27 +
 .../classes/Swift/RfcComplianceException.php    |   27 +
 .../lib/classes/Swift/SendmailTransport.php     |   45 +
 .../lib/classes/Swift/SignedMessage.php         |   22 +
 .../swiftmailer/lib/classes/Swift/Signer.php    |   20 +
 .../lib/classes/Swift/Signers/BodySigner.php    |   33 +
 .../lib/classes/Swift/Signers/DKIMSigner.php    |  688 +++
 .../classes/Swift/Signers/DomainKeySigner.php   |  512 ++
 .../lib/classes/Swift/Signers/HeaderSigner.php  |   65 +
 .../classes/Swift/Signers/OpenDKIMSigner.php    |  186 +
 .../lib/classes/Swift/Signers/SMimeSigner.php   |  437 ++
 .../lib/classes/Swift/SmtpTransport.php         |   57 +
 .../swiftmailer/lib/classes/Swift/Spool.php     |   53 +
 .../lib/classes/Swift/SpoolTransport.php        |   47 +
 .../lib/classes/Swift/StreamFilter.php          |   35 +
 .../ByteArrayReplacementFilter.php              |  169 +
 .../StreamFilters/StringReplacementFilter.php   |   66 +
 .../StringReplacementFilterFactory.php          |   45 +
 .../lib/classes/Swift/SwiftException.php        |   27 +
 .../swiftmailer/lib/classes/Swift/Transport.php |   54 +
 .../Swift/Transport/AbstractSmtpTransport.php   |  490 ++
 .../Esmtp/Auth/CramMd5Authenticator.php         |   81 +
 .../Transport/Esmtp/Auth/LoginAuthenticator.php |   51 +
 .../Transport/Esmtp/Auth/NTLMAuthenticator.php  |  700 +++
 .../Transport/Esmtp/Auth/PlainAuthenticator.php |   50 +
 .../Esmtp/Auth/XOAuth2Authenticator.php         |   69 +
 .../Swift/Transport/Esmtp/AuthHandler.php       |  263 +
 .../Swift/Transport/Esmtp/Authenticator.php     |   35 +
 .../classes/Swift/Transport/EsmtpHandler.php    |   86 +
 .../classes/Swift/Transport/EsmtpTransport.php  |  386 ++
 .../Swift/Transport/FailoverTransport.php       |   85 +
 .../lib/classes/Swift/Transport/IoBuffer.php    |   67 +
 .../Swift/Transport/LoadBalancedTransport.php   |  166 +
 .../lib/classes/Swift/Transport/MailInvoker.php |   32 +
 .../classes/Swift/Transport/MailTransport.php   |  237 +
 .../classes/Swift/Transport/NullTransport.php   |   93 +
 .../Swift/Transport/SendmailTransport.php       |  159 +
 .../Swift/Transport/SimpleMailInvoker.php       |   39 +
 .../lib/classes/Swift/Transport/SmtpAgent.php   |   36 +
 .../classes/Swift/Transport/SpoolTransport.php  |  117 +
 .../classes/Swift/Transport/StreamBuffer.php    |  321 ++
 .../lib/classes/Swift/TransportException.php    |   27 +
 .../swiftmailer/lib/classes/Swift/Validate.php  |   42 +
 .../lib/dependency_maps/cache_deps.php          |   23 +
 .../lib/dependency_maps/message_deps.php        |    9 +
 .../lib/dependency_maps/mime_deps.php           |  123 +
 .../lib/dependency_maps/transport_deps.php      |   76 +
 .../swiftmailer/swiftmailer/lib/mime_types.php  | 1007 ++++
 .../swiftmailer/swiftmailer/lib/preferences.php |   25 +
 .../swiftmailer/swiftmailer/lib/swift_init.php  |   28 +
 .../swiftmailer/lib/swift_required.php          |   30 +
 .../swiftmailer/lib/swift_required_pear.php     |   30 +
 .../lib/swiftmailer_generate_mimes_config.php   |  193 +
 vendor/swiftmailer/swiftmailer/phpunit.xml.dist |   37 +
 .../tests/IdenticalBinaryConstraint.php         |   60 +
 .../swiftmailer/tests/StreamCollector.php       |   11 +
 .../tests/SwiftMailerSmokeTestCase.php          |   46 +
 .../swiftmailer/tests/SwiftMailerTestCase.php   |   33 +
 .../tests/_samples/charsets/iso-2022-jp/one.txt |   11 +
 .../tests/_samples/charsets/iso-8859-1/one.txt  |   19 +
 .../tests/_samples/charsets/utf-8/one.txt       |   22 +
 .../tests/_samples/charsets/utf-8/three.txt     |   45 +
 .../tests/_samples/charsets/utf-8/two.txt       |    3 +
 .../tests/_samples/dkim/dkim.test.priv          |   15 +
 .../tests/_samples/dkim/dkim.test.pub           |    6 +
 .../swiftmailer/tests/_samples/files/data.txt   |    1 +
 .../tests/_samples/files/swiftmailer.png        |  Bin 0 -> 3194 bytes
 .../tests/_samples/files/textfile.zip           |  Bin 0 -> 202 bytes
 .../swiftmailer/tests/_samples/smime/CA.srl     |    1 +
 .../swiftmailer/tests/_samples/smime/ca.crt     |   21 +
 .../swiftmailer/tests/_samples/smime/ca.key     |   27 +
 .../tests/_samples/smime/create-cert.sh         |   40 +
 .../tests/_samples/smime/encrypt.crt            |   19 +
 .../tests/_samples/smime/encrypt.key            |   27 +
 .../tests/_samples/smime/encrypt2.crt           |   19 +
 .../tests/_samples/smime/encrypt2.key           |   27 +
 .../tests/_samples/smime/intermediate.crt       |   19 +
 .../tests/_samples/smime/intermediate.key       |   27 +
 .../swiftmailer/tests/_samples/smime/sign.crt   |   19 +
 .../swiftmailer/tests/_samples/smime/sign.key   |   27 +
 .../swiftmailer/tests/_samples/smime/sign2.crt  |   19 +
 .../swiftmailer/tests/_samples/smime/sign2.key  |   27 +
 .../tests/acceptance.conf.php.default           |   44 +
 .../Swift/AttachmentAcceptanceTest.php          |   12 +
 .../ByteStream/FileByteStreamAcceptanceTest.php |  174 +
 ...mpleCharacterReaderFactoryAcceptanceTest.php |  179 +
 .../Swift/DependencyContainerAcceptanceTest.php |   20 +
 .../Swift/EmbeddedFileAcceptanceTest.php        |   12 +
 .../Encoder/Base64EncoderAcceptanceTest.php     |   45 +
 .../Swift/Encoder/QpEncoderAcceptanceTest.php   |   50 +
 .../Encoder/Rfc2231EncoderAcceptanceTest.php    |   50 +
 .../acceptance/Swift/EncodingAcceptanceTest.php |   30 +
 .../KeyCache/ArrayKeyCacheAcceptanceTest.php    |  173 +
 .../KeyCache/DiskKeyCacheAcceptanceTest.php     |  183 +
 .../acceptance/Swift/MessageAcceptanceTest.php  |   57 +
 .../Swift/Mime/AttachmentAcceptanceTest.php     |  125 +
 .../Base64ContentEncoderAcceptanceTest.php      |   56 +
 .../NativeQpContentEncoderAcceptanceTest.php    |   86 +
 .../PlainContentEncoderAcceptanceTest.php       |   88 +
 .../QpContentEncoderAcceptanceTest.php          |  157 +
 .../Swift/Mime/EmbeddedFileAcceptanceTest.php   |  137 +
 .../Base64HeaderEncoderAcceptanceTest.php       |   32 +
 .../Swift/Mime/MimePartAcceptanceTest.php       |  129 +
 .../Swift/Mime/SimpleMessageAcceptanceTest.php  | 1251 +++++
 .../acceptance/Swift/MimePartAcceptanceTest.php |   15 +
 .../AbstractStreamBufferAcceptanceTest.php      |  134 +
 .../StreamBuffer/BasicSocketAcceptanceTest.php  |   34 +
 .../StreamBuffer/ProcessAcceptanceTest.php      |   27 +
 .../StreamBuffer/SocketTimeoutTest.php          |   65 +
 .../StreamBuffer/SslSocketAcceptanceTest.php    |   41 +
 .../StreamBuffer/TlsSocketAcceptanceTest.php    |   40 +
 .../swiftmailer/swiftmailer/tests/bootstrap.php |   19 +
 .../swiftmailer/tests/bug/Swift/Bug111Test.php  |   42 +
 .../swiftmailer/tests/bug/Swift/Bug118Test.php  |   20 +
 .../swiftmailer/tests/bug/Swift/Bug206Test.php  |   38 +
 .../swiftmailer/tests/bug/Swift/Bug274Test.php  |   21 +
 .../swiftmailer/tests/bug/Swift/Bug34Test.php   |   75 +
 .../swiftmailer/tests/bug/Swift/Bug35Test.php   |   73 +
 .../swiftmailer/tests/bug/Swift/Bug38Test.php   |  194 +
 .../swiftmailer/tests/bug/Swift/Bug518Test.php  |   38 +
 .../swiftmailer/tests/bug/Swift/Bug51Test.php   |  121 +
 .../swiftmailer/tests/bug/Swift/Bug534Test.php  |   38 +
 .../swiftmailer/tests/bug/Swift/Bug71Test.php   |   20 +
 .../swiftmailer/tests/bug/Swift/Bug76Test.php   |   82 +
 .../tests/fixtures/EsmtpTransportFixture.php    |   10 +
 .../tests/fixtures/MimeEntityFixture.php        |   41 +
 .../swiftmailer/tests/smoke.conf.php.default    |   63 +
 .../smoke/Swift/Smoke/AttachmentSmokeTest.php   |   30 +
 .../tests/smoke/Swift/Smoke/BasicSmokeTest.php  |   23 +
 .../Swift/Smoke/HtmlWithAttachmentSmokeTest.php |   29 +
 .../Swift/Smoke/InternationalSmokeTest.php      |   37 +
 .../Swift/ByteStream/ArrayByteStreamTest.php    |  204 +
 .../GenericFixedWidthReaderTest.php             |   43 +
 .../Swift/CharacterReader/UsAsciiReaderTest.php |   52 +
 .../Swift/CharacterReader/Utf8ReaderTest.php    |   65 +
 .../ArrayCharacterStreamTest.php                |  360 ++
 .../unit/Swift/DependencyContainerTest.php      |  174 +
 .../unit/Swift/Encoder/Base64EncoderTest.php    |  173 +
 .../tests/unit/Swift/Encoder/QpEncoderTest.php  |  381 ++
 .../unit/Swift/Encoder/Rfc2231EncoderTest.php   |  141 +
 .../unit/Swift/Events/CommandEventTest.php      |   36 +
 .../tests/unit/Swift/Events/EventObjectTest.php |   34 +
 .../unit/Swift/Events/ResponseEventTest.php     |   40 +
 .../tests/unit/Swift/Events/SendEventTest.php   |   99 +
 .../Swift/Events/SimpleEventDispatcherTest.php  |  135 +
 .../Swift/Events/TransportChangeEventTest.php   |   32 +
 .../Events/TransportExceptionEventTest.php      |   43 +
 .../unit/Swift/KeyCache/ArrayKeyCacheTest.php   |  242 +
 .../KeyCache/SimpleKeyCacheInputStreamTest.php  |   73 +
 .../Swift/Mailer/ArrayRecipientIteratorTest.php |   42 +
 .../swiftmailer/tests/unit/Swift/MailerTest.php |  152 +
 .../tests/unit/Swift/MessageTest.php            |  130 +
 .../unit/Swift/Mime/AbstractMimeEntityTest.php  | 1054 ++++
 .../tests/unit/Swift/Mime/AttachmentTest.php    |  320 ++
 .../ContentEncoder/Base64ContentEncoderTest.php |  323 ++
 .../ContentEncoder/PlainContentEncoderTest.php  |  173 +
 .../ContentEncoder/QpContentEncoderTest.php     |  496 ++
 .../tests/unit/Swift/Mime/EmbeddedFileTest.php  |   57 +
 .../HeaderEncoder/Base64HeaderEncoderTest.php   |   13 +
 .../Mime/HeaderEncoder/QpHeaderEncoderTest.php  |  223 +
 .../unit/Swift/Mime/Headers/DateHeaderTest.php  |   69 +
 .../Mime/Headers/IdentificationHeaderTest.php   |  189 +
 .../Swift/Mime/Headers/MailboxHeaderTest.php    |  327 ++
 .../Mime/Headers/ParameterizedHeaderTest.php    |  400 ++
 .../unit/Swift/Mime/Headers/PathHeaderTest.php  |   77 +
 .../Mime/Headers/UnstructuredHeaderTest.php     |  355 ++
 .../tests/unit/Swift/Mime/MimePartTest.php      |  233 +
 .../unit/Swift/Mime/SimpleHeaderFactoryTest.php |  168 +
 .../unit/Swift/Mime/SimpleHeaderSetTest.php     |  734 +++
 .../tests/unit/Swift/Mime/SimpleMessageTest.php |  829 ++++
 .../unit/Swift/Mime/SimpleMimeEntityTest.php    |   11 +
 .../unit/Swift/Plugins/AntiFloodPluginTest.php  |   95 +
 .../Plugins/BandwidthMonitorPluginTest.php      |  127 +
 .../unit/Swift/Plugins/DecoratorPluginTest.php  |  269 +
 .../unit/Swift/Plugins/LoggerPluginTest.php     |  190 +
 .../Swift/Plugins/Loggers/ArrayLoggerTest.php   |   65 +
 .../Swift/Plugins/Loggers/EchoLoggerTest.php    |   24 +
 .../Swift/Plugins/PopBeforeSmtpPluginTest.php   |  103 +
 .../Swift/Plugins/RedirectingPluginTest.php     |  185 +
 .../unit/Swift/Plugins/ReporterPluginTest.php   |   88 +
 .../Swift/Plugins/Reporters/HitReporterTest.php |   64 +
 .../Plugins/Reporters/HtmlReporterTest.php      |   54 +
 .../unit/Swift/Plugins/ThrottlerPluginTest.php  |  104 +
 .../tests/unit/Swift/Signers/DKIMSignerTest.php |  227 +
 .../unit/Swift/Signers/OpenDKIMSignerTest.php   |   45 +
 .../unit/Swift/Signers/SMimeSignerTest.php      |  554 +++
 .../ByteArrayReplacementFilterTest.php          |  131 +
 .../StringReplacementFilterFactoryTest.php      |   38 +
 .../StringReplacementFilterTest.php             |   55 +
 .../Transport/AbstractSmtpEventSupportTest.php  |  560 +++
 .../unit/Swift/Transport/AbstractSmtpTest.php   | 1249 +++++
 .../Esmtp/Auth/CramMd5AuthenticatorTest.php     |   66 +
 .../Esmtp/Auth/LoginAuthenticatorTest.php       |   66 +
 .../Esmtp/Auth/NTLMAuthenticatorTest.php        |  233 +
 .../Esmtp/Auth/PlainAuthenticatorTest.php       |   69 +
 .../Swift/Transport/Esmtp/AuthHandlerTest.php   |  167 +
 .../EsmtpTransport/ExtensionSupportTest.php     |  530 ++
 .../unit/Swift/Transport/EsmtpTransportTest.php |  298 ++
 .../Swift/Transport/FailoverTransportTest.php   |  520 ++
 .../Transport/LoadBalancedTransportTest.php     |  751 +++
 .../unit/Swift/Transport/MailTransportTest.php  |  311 ++
 .../Swift/Transport/SendmailTransportTest.php   |  152 +
 .../unit/Swift/Transport/StreamBufferTest.php   |   45 +
 .../Symfony/Component/BrowserKit/.gitignore     |    3 +
 .../Symfony/Component/BrowserKit/CHANGELOG.md   |   18 +
 .../Symfony/Component/BrowserKit/Client.php     |  619 +++
 .../Symfony/Component/BrowserKit/Cookie.php     |  332 ++
 .../Symfony/Component/BrowserKit/CookieJar.php  |  265 +
 .../Symfony/Component/BrowserKit/History.php    |  102 +
 .../Symfony/Component/BrowserKit/LICENSE        |   19 +
 .../Symfony/Component/BrowserKit/README.md      |   23 +
 .../Symfony/Component/BrowserKit/Request.php    |  138 +
 .../Symfony/Component/BrowserKit/Response.php   |  138 +
 .../Component/BrowserKit/Tests/ClientTest.php   |  624 +++
 .../BrowserKit/Tests/CookieJarTest.php          |  231 +
 .../Component/BrowserKit/Tests/CookieTest.php   |  179 +
 .../Component/BrowserKit/Tests/HistoryTest.php  |  101 +
 .../Component/BrowserKit/Tests/RequestTest.php  |   53 +
 .../Component/BrowserKit/Tests/ResponseTest.php |   76 +
 .../Symfony/Component/BrowserKit/composer.json  |   39 +
 .../Component/BrowserKit/phpunit.xml.dist       |   29 +
 .../Symfony/Component/Console/.gitignore        |    3 +
 .../Symfony/Component/Console/Application.php   | 1182 +++++
 .../Symfony/Component/Console/CHANGELOG.md      |   56 +
 .../Component/Console/Command/Command.php       |  657 +++
 .../Component/Console/Command/HelpCommand.php   |   91 +
 .../Component/Console/Command/ListCommand.php   |   95 +
 .../Symfony/Component/Console/ConsoleEvents.php |   61 +
 .../Descriptor/ApplicationDescription.php       |  153 +
 .../Component/Console/Descriptor/Descriptor.php |  119 +
 .../Console/Descriptor/DescriptorInterface.php  |   31 +
 .../Console/Descriptor/JsonDescriptor.php       |  165 +
 .../Console/Descriptor/MarkdownDescriptor.php   |  139 +
 .../Console/Descriptor/TextDescriptor.php       |  229 +
 .../Console/Descriptor/XmlDescriptor.php        |  264 +
 .../Console/Event/ConsoleCommandEvent.php       |   21 +
 .../Component/Console/Event/ConsoleEvent.php    |   67 +
 .../Console/Event/ConsoleExceptionEvent.php     |   67 +
 .../Console/Event/ConsoleTerminateEvent.php     |   58 +
 .../Console/Formatter/OutputFormatter.php       |  240 +
 .../Formatter/OutputFormatterInterface.php      |   83 +
 .../Console/Formatter/OutputFormatterStyle.php  |  227 +
 .../Formatter/OutputFormatterStyleInterface.php |   72 +
 .../Formatter/OutputFormatterStyleStack.php     |  121 +
 .../Console/Helper/DescriptorHelper.php         |   96 +
 .../Component/Console/Helper/DialogHelper.php   |  476 ++
 .../Console/Helper/FormatterHelper.php          |   80 +
 .../Symfony/Component/Console/Helper/Helper.php |  121 +
 .../Console/Helper/HelperInterface.php          |   49 +
 .../Component/Console/Helper/HelperSet.php      |  108 +
 .../Console/Helper/InputAwareHelper.php         |   33 +
 .../Component/Console/Helper/ProgressBar.php    |  559 +++
 .../Component/Console/Helper/ProgressHelper.php |  457 ++
 .../Component/Console/Helper/QuestionHelper.php |  418 ++
 .../Symfony/Component/Console/Helper/Table.php  |  410 ++
 .../Component/Console/Helper/TableHelper.php    |  263 +
 .../Component/Console/Helper/TableSeparator.php |   21 +
 .../Component/Console/Helper/TableStyle.php     |  251 +
 .../Component/Console/Input/ArgvInput.php       |  353 ++
 .../Component/Console/Input/ArrayInput.php      |  209 +
 .../Symfony/Component/Console/Input/Input.php   |  226 +
 .../Component/Console/Input/InputArgument.php   |  132 +
 .../Console/Input/InputAwareInterface.php       |   28 +
 .../Component/Console/Input/InputDefinition.php |  453 ++
 .../Component/Console/Input/InputInterface.php  |  152 +
 .../Component/Console/Input/InputOption.php     |  213 +
 .../Component/Console/Input/StringInput.php     |   83 +
 .../console/Symfony/Component/Console/LICENSE   |   19 +
 .../Component/Console/Logger/ConsoleLogger.php  |  118 +
 .../Component/Console/Output/BufferedOutput.php |   48 +
 .../Component/Console/Output/ConsoleOutput.php  |  113 +
 .../Console/Output/ConsoleOutputInterface.php   |   35 +
 .../Component/Console/Output/NullOutput.php     |  113 +
 .../Symfony/Component/Console/Output/Output.php |  165 +
 .../Console/Output/OutputInterface.php          |  113 +
 .../Component/Console/Output/StreamOutput.php   |  103 +
 .../Console/Question/ChoiceQuestion.php         |  150 +
 .../Console/Question/ConfirmationQuestion.php   |   55 +
 .../Component/Console/Question/Question.php     |  238 +
 .../console/Symfony/Component/Console/README.md |   67 +
 .../Console/Resources/bin/hiddeninput.exe       |  Bin 0 -> 9216 bytes
 .../console/Symfony/Component/Console/Shell.php |  228 +
 .../Console/Tester/ApplicationTester.php        |  128 +
 .../Component/Console/Tester/CommandTester.php  |  132 +
 .../Component/Console/Tests/ApplicationTest.php | 1032 ++++
 .../Console/Tests/Command/CommandTest.php       |  342 ++
 .../Console/Tests/Command/HelpCommandTest.php   |   64 +
 .../Console/Tests/Command/ListCommandTest.php   |   64 +
 .../Tests/Descriptor/AbstractDescriptorTest.php |  105 +
 .../Tests/Descriptor/JsonDescriptorTest.php     |   27 +
 .../Tests/Descriptor/MarkdownDescriptorTest.php |   27 +
 .../Tests/Descriptor/ObjectsProvider.php        |   74 +
 .../Tests/Descriptor/TextDescriptorTest.php     |   27 +
 .../Tests/Descriptor/XmlDescriptorTest.php      |   27 +
 .../Console/Tests/Fixtures/BarBucCommand.php    |   11 +
 .../Tests/Fixtures/DescriptorApplication1.php   |   18 +
 .../Tests/Fixtures/DescriptorApplication2.php   |   24 +
 .../Tests/Fixtures/DescriptorCommand1.php       |   27 +
 .../Tests/Fixtures/DescriptorCommand2.php       |   30 +
 .../Console/Tests/Fixtures/DummyOutput.php      |   36 +
 .../Console/Tests/Fixtures/Foo1Command.php      |   26 +
 .../Console/Tests/Fixtures/Foo2Command.php      |   21 +
 .../Console/Tests/Fixtures/Foo3Command.php      |   29 +
 .../Console/Tests/Fixtures/Foo4Command.php      |   11 +
 .../Console/Tests/Fixtures/Foo5Command.php      |   10 +
 .../Console/Tests/Fixtures/FooCommand.php       |   33 +
 .../Tests/Fixtures/FooSubnamespaced1Command.php |   26 +
 .../Tests/Fixtures/FooSubnamespaced2Command.php |   26 +
 .../Console/Tests/Fixtures/FoobarCommand.php    |   25 +
 .../Console/Tests/Fixtures/TestCommand.php      |   28 +
 .../Console/Tests/Fixtures/application_1.json   |    1 +
 .../Console/Tests/Fixtures/application_1.md     |  199 +
 .../Console/Tests/Fixtures/application_1.txt    |   17 +
 .../Console/Tests/Fixtures/application_1.xml    |  108 +
 .../Console/Tests/Fixtures/application_2.json   |    1 +
 .../Console/Tests/Fixtures/application_2.md     |  388 ++
 .../Console/Tests/Fixtures/application_2.txt    |   22 +
 .../Console/Tests/Fixtures/application_2.xml    |  185 +
 .../Tests/Fixtures/application_astext1.txt      |   20 +
 .../Tests/Fixtures/application_astext2.txt      |   16 +
 .../Tests/Fixtures/application_asxml1.txt       |  144 +
 .../Tests/Fixtures/application_asxml2.txt       |   37 +
 .../Tests/Fixtures/application_gethelp.txt      |   13 +
 .../Fixtures/application_renderexception1.txt   |    8 +
 .../Fixtures/application_renderexception2.txt   |   11 +
 .../Fixtures/application_renderexception3.txt   |   27 +
 .../application_renderexception3decorated.txt   |   27 +
 .../Fixtures/application_renderexception4.txt   |    9 +
 ...application_renderexception_doublewidth1.txt |   11 +
 ...on_renderexception_doublewidth1decorated.txt |   11 +
 ...application_renderexception_doublewidth2.txt |   12 +
 .../Console/Tests/Fixtures/application_run1.txt |   17 +
 .../Console/Tests/Fixtures/application_run2.txt |   29 +
 .../Console/Tests/Fixtures/application_run3.txt |   27 +
 .../Console/Tests/Fixtures/application_run4.txt |    1 +
 .../Console/Tests/Fixtures/command_1.json       |    1 +
 .../Console/Tests/Fixtures/command_1.md         |    8 +
 .../Console/Tests/Fixtures/command_1.txt        |    7 +
 .../Console/Tests/Fixtures/command_1.xml        |   12 +
 .../Console/Tests/Fixtures/command_2.json       |    1 +
 .../Console/Tests/Fixtures/command_2.md         |   30 +
 .../Console/Tests/Fixtures/command_2.txt        |   11 +
 .../Console/Tests/Fixtures/command_2.xml        |   18 +
 .../Console/Tests/Fixtures/command_astext.txt   |   18 +
 .../Console/Tests/Fixtures/command_asxml.txt    |   38 +
 .../Tests/Fixtures/definition_astext.txt        |   11 +
 .../Console/Tests/Fixtures/definition_asxml.txt |   39 +
 .../Tests/Fixtures/input_argument_1.json        |    1 +
 .../Console/Tests/Fixtures/input_argument_1.md  |    7 +
 .../Console/Tests/Fixtures/input_argument_1.txt |    1 +
 .../Console/Tests/Fixtures/input_argument_1.xml |    5 +
 .../Tests/Fixtures/input_argument_2.json        |    1 +
 .../Console/Tests/Fixtures/input_argument_2.md  |    7 +
 .../Console/Tests/Fixtures/input_argument_2.txt |    1 +
 .../Console/Tests/Fixtures/input_argument_2.xml |    5 +
 .../Tests/Fixtures/input_argument_3.json        |    1 +
 .../Console/Tests/Fixtures/input_argument_3.md  |    7 +
 .../Console/Tests/Fixtures/input_argument_3.txt |    1 +
 .../Console/Tests/Fixtures/input_argument_3.xml |    7 +
 .../Tests/Fixtures/input_definition_1.json      |    1 +
 .../Tests/Fixtures/input_definition_1.md        |    0
 .../Tests/Fixtures/input_definition_1.txt       |    0
 .../Tests/Fixtures/input_definition_1.xml       |    5 +
 .../Tests/Fixtures/input_definition_2.json      |    1 +
 .../Tests/Fixtures/input_definition_2.md        |    9 +
 .../Tests/Fixtures/input_definition_2.txt       |    2 +
 .../Tests/Fixtures/input_definition_2.xml       |   10 +
 .../Tests/Fixtures/input_definition_3.json      |    1 +
 .../Tests/Fixtures/input_definition_3.md        |   11 +
 .../Tests/Fixtures/input_definition_3.txt       |    2 +
 .../Tests/Fixtures/input_definition_3.xml       |    9 +
 .../Tests/Fixtures/input_definition_4.json      |    1 +
 .../Tests/Fixtures/input_definition_4.md        |   21 +
 .../Tests/Fixtures/input_definition_4.txt       |    5 +
 .../Tests/Fixtures/input_definition_4.xml       |   14 +
 .../Console/Tests/Fixtures/input_option_1.json  |    1 +
 .../Console/Tests/Fixtures/input_option_1.md    |    9 +
 .../Console/Tests/Fixtures/input_option_1.txt   |    1 +
 .../Console/Tests/Fixtures/input_option_1.xml   |    4 +
 .../Console/Tests/Fixtures/input_option_2.json  |    1 +
 .../Console/Tests/Fixtures/input_option_2.md    |    9 +
 .../Console/Tests/Fixtures/input_option_2.txt   |    1 +
 .../Console/Tests/Fixtures/input_option_2.xml   |    7 +
 .../Console/Tests/Fixtures/input_option_3.json  |    1 +
 .../Console/Tests/Fixtures/input_option_3.md    |    9 +
 .../Console/Tests/Fixtures/input_option_3.txt   |    1 +
 .../Console/Tests/Fixtures/input_option_3.xml   |    5 +
 .../Console/Tests/Fixtures/input_option_4.json  |    1 +
 .../Console/Tests/Fixtures/input_option_4.md    |    9 +
 .../Console/Tests/Fixtures/input_option_4.txt   |    1 +
 .../Console/Tests/Fixtures/input_option_4.xml   |    5 +
 .../Formatter/OutputFormatterStyleStackTest.php |   70 +
 .../Formatter/OutputFormatterStyleTest.php      |   93 +
 .../Tests/Formatter/OutputFormatterTest.php     |  252 +
 .../Tests/Helper/FormatterHelperTest.php        |   99 +
 .../Console/Tests/Helper/HelperSetTest.php      |  153 +
 .../Tests/Helper/LegacyDialogHelperTest.php     |  197 +
 .../Tests/Helper/LegacyProgressHelperTest.php   |  229 +
 .../Tests/Helper/LegacyTableHelperTest.php      |  295 ++
 .../Console/Tests/Helper/ProgressBarTest.php    |  446 ++
 .../Console/Tests/Helper/QuestionHelperTest.php |  238 +
 .../Console/Tests/Helper/TableTest.php          |  357 ++
 .../Console/Tests/Input/ArgvInputTest.php       |  317 ++
 .../Console/Tests/Input/ArrayInputTest.php      |  129 +
 .../Console/Tests/Input/InputArgumentTest.php   |  111 +
 .../Console/Tests/Input/InputDefinitionTest.php |  424 ++
 .../Console/Tests/Input/InputOptionTest.php     |  204 +
 .../Component/Console/Tests/Input/InputTest.php |  121 +
 .../Console/Tests/Input/StringInputTest.php     |   98 +
 .../Console/Tests/Logger/ConsoleLoggerTest.php  |   58 +
 .../Console/Tests/Output/ConsoleOutputTest.php  |   25 +
 .../Console/Tests/Output/NullOutputTest.php     |   39 +
 .../Console/Tests/Output/OutputTest.php         |  156 +
 .../Console/Tests/Output/StreamOutputTest.php   |   60 +
 .../Tests/Tester/ApplicationTesterTest.php      |   69 +
 .../Console/Tests/Tester/CommandTesterTest.php  |   84 +
 .../Symfony/Component/Console/composer.json     |   39 +
 .../Symfony/Component/Console/phpunit.xml.dist  |   29 +
 .../Symfony/Component/CssSelector/.gitignore    |    3 +
 .../Symfony/Component/CssSelector/CHANGELOG.md  |    7 +
 .../Component/CssSelector/CssSelector.php       |  116 +
 .../Exception/ExceptionInterface.php            |   24 +
 .../Exception/ExpressionErrorException.php      |   24 +
 .../Exception/InternalErrorException.php        |   24 +
 .../CssSelector/Exception/ParseException.php    |   24 +
 .../Exception/SyntaxErrorException.php          |   73 +
 .../Symfony/Component/CssSelector/LICENSE       |   19 +
 .../Component/CssSelector/Node/AbstractNode.php |   40 +
 .../CssSelector/Node/AttributeNode.php          |  124 +
 .../Component/CssSelector/Node/ClassNode.php    |   75 +
 .../CssSelector/Node/CombinedSelectorNode.php   |   92 +
 .../Component/CssSelector/Node/ElementNode.php  |   77 +
 .../Component/CssSelector/Node/FunctionNode.php |   96 +
 .../Component/CssSelector/Node/HashNode.php     |   75 +
 .../Component/CssSelector/Node/NegationNode.php |   75 +
 .../CssSelector/Node/NodeInterface.php          |   44 +
 .../Component/CssSelector/Node/PseudoNode.php   |   75 +
 .../Component/CssSelector/Node/SelectorNode.php |   75 +
 .../Component/CssSelector/Node/Specificity.php  |   78 +
 .../Parser/Handler/CommentHandler.php           |   46 +
 .../Parser/Handler/HandlerInterface.php         |   34 +
 .../CssSelector/Parser/Handler/HashHandler.php  |   67 +
 .../Parser/Handler/IdentifierHandler.php        |   67 +
 .../Parser/Handler/NumberHandler.php            |   58 +
 .../Parser/Handler/StringHandler.php            |   86 +
 .../Parser/Handler/WhitespaceHandler.php        |   44 +
 .../Component/CssSelector/Parser/Parser.php     |  399 ++
 .../CssSelector/Parser/ParserInterface.php      |   34 +
 .../Component/CssSelector/Parser/Reader.php     |  125 +
 .../CssSelector/Parser/Shortcut/ClassParser.php |   50 +
 .../Parser/Shortcut/ElementParser.php           |   46 +
 .../Parser/Shortcut/EmptyStringParser.php       |   44 +
 .../CssSelector/Parser/Shortcut/HashParser.php  |   50 +
 .../Component/CssSelector/Parser/Token.php      |  160 +
 .../CssSelector/Parser/TokenStream.php          |  182 +
 .../CssSelector/Parser/Tokenizer/Tokenizer.php  |   78 +
 .../Parser/Tokenizer/TokenizerEscaping.php      |   82 +
 .../Parser/Tokenizer/TokenizerPatterns.php      |  160 +
 .../Symfony/Component/CssSelector/README.md     |   47 +
 .../CssSelector/Tests/CssSelectorTest.php       |   64 +
 .../CssSelector/Tests/Node/AbstractNodeTest.php |   32 +
 .../Tests/Node/AttributeNodeTest.php            |   37 +
 .../CssSelector/Tests/Node/ClassNodeTest.php    |   33 +
 .../Tests/Node/CombinedSelectorNodeTest.php     |   35 +
 .../CssSelector/Tests/Node/ElementNodeTest.php  |   35 +
 .../CssSelector/Tests/Node/FunctionNodeTest.php |   47 +
 .../CssSelector/Tests/Node/HashNodeTest.php     |   33 +
 .../CssSelector/Tests/Node/NegationNodeTest.php |   33 +
 .../CssSelector/Tests/Node/PseudoNodeTest.php   |   32 +
 .../CssSelector/Tests/Node/SelectorNodeTest.php |   34 +
 .../CssSelector/Tests/Node/SpecificityTest.php  |   40 +
 .../Parser/Handler/AbstractHandlerTest.php      |   67 +
 .../Tests/Parser/Handler/CommentHandlerTest.php |   55 +
 .../Tests/Parser/Handler/HashHandlerTest.php    |   49 +
 .../Parser/Handler/IdentifierHandlerTest.php    |   49 +
 .../Tests/Parser/Handler/NumberHandlerTest.php  |   50 +
 .../Tests/Parser/Handler/StringHandlerTest.php  |   50 +
 .../Parser/Handler/WhitespaceHandlerTest.php    |   44 +
 .../CssSelector/Tests/Parser/ParserTest.php     |  248 +
 .../CssSelector/Tests/Parser/ReaderTest.php     |  101 +
 .../Tests/Parser/Shortcut/ClassParserTest.php   |   44 +
 .../Tests/Parser/Shortcut/ElementParserTest.php |   43 +
 .../Parser/Shortcut/EmptyStringParserTest.php   |   35 +
 .../Tests/Parser/Shortcut/HashParserTest.php    |   44 +
 .../Tests/Parser/TokenStreamTest.php            |   95 +
 .../CssSelector/Tests/XPath/Fixtures/ids.html   |   48 +
 .../CssSelector/Tests/XPath/Fixtures/lang.xml   |   11 +
 .../Tests/XPath/Fixtures/shakespear.html        |  308 ++
 .../CssSelector/Tests/XPath/TranslatorTest.php  |  324 ++
 .../XPath/Extension/AbstractExtension.php       |   63 +
 .../Extension/AttributeMatchingExtension.php    |  173 +
 .../XPath/Extension/CombinationExtension.php    |   93 +
 .../XPath/Extension/ExtensionInterface.php      |   67 +
 .../XPath/Extension/FunctionExtension.php       |  209 +
 .../XPath/Extension/HtmlExtension.php           |  238 +
 .../XPath/Extension/NodeExtension.php           |  271 ++
 .../XPath/Extension/PseudoClassExtension.php    |  162 +
 .../Component/CssSelector/XPath/Translator.php  |  299 ++
 .../CssSelector/XPath/TranslatorInterface.php   |   45 +
 .../Component/CssSelector/XPath/XPathExpr.php   |  140 +
 .../Symfony/Component/CssSelector/composer.json |   35 +
 .../Component/CssSelector/phpunit.xml.dist      |   29 +
 .../debug/Symfony/Component/Debug/.gitignore    |    3 +
 .../debug/Symfony/Component/Debug/CHANGELOG.md  |   20 +
 .../debug/Symfony/Component/Debug/Debug.php     |   54 +
 .../Component/Debug/DebugClassLoader.php        |  222 +
 .../Symfony/Component/Debug/ErrorHandler.php    |  369 ++
 .../Debug/Exception/ClassNotFoundException.php  |   33 +
 .../Debug/Exception/ContextErrorException.php   |   36 +
 .../Debug/Exception/DummyException.php          |   21 +
 .../Debug/Exception/FatalErrorException.php     |   86 +
 .../Debug/Exception/FlattenException.php        |  292 ++
 .../Debug/Exception/OutOfMemoryException.php    |   21 +
 .../Exception/UndefinedFunctionException.php    |   33 +
 .../Exception/UndefinedMethodException.php      |   33 +
 .../Component/Debug/ExceptionHandler.php        |  411 ++
 .../ClassNotFoundFatalErrorHandler.php          |  203 +
 .../FatalErrorHandlerInterface.php              |   32 +
 .../UndefinedFunctionFatalErrorHandler.php      |   91 +
 .../UndefinedMethodFatalErrorHandler.php        |   54 +
 .../debug/Symfony/Component/Debug/LICENSE       |   19 +
 .../debug/Symfony/Component/Debug/README.md     |   44 +
 .../Debug/Tests/DebugClassLoaderTest.php        |  187 +
 .../Component/Debug/Tests/ErrorHandlerTest.php  |  242 +
 .../Tests/Exception/FlattenExceptionTest.php    |  256 +
 .../Debug/Tests/ExceptionHandlerTest.php        |   62 +
 .../ClassNotFoundFatalErrorHandlerTest.php      |  159 +
 .../UndefinedFunctionFatalErrorHandlerTest.php  |   80 +
 .../UndefinedMethodFatalErrorHandlerTest.php    |   66 +
 .../Debug/Tests/Fixtures/ClassAlias.php         |    3 +
 .../Debug/Tests/Fixtures/PEARClass.php          |    5 +
 .../Debug/Tests/Fixtures/RequiredTwice.php      |    7 +
 .../Debug/Tests/Fixtures/casemismatch.php       |    7 +
 .../Debug/Tests/Fixtures/notPsr0Bis.php         |    7 +
 .../Tests/Fixtures/psr4/Psr4CaseMismatch.php    |    7 +
 .../Debug/Tests/Fixtures/reallyNotPsr0.php      |    7 +
 .../Debug/Tests/MockExceptionHandler.php        |   24 +
 .../debug/Symfony/Component/Debug/composer.json |   43 +
 .../Symfony/Component/Debug/phpunit.xml.dist    |   28 +
 .../Symfony/Component/DomCrawler/.gitignore     |    3 +
 .../Symfony/Component/DomCrawler/CHANGELOG.md   |   45 +
 .../Symfony/Component/DomCrawler/Crawler.php    | 1006 ++++
 .../DomCrawler/Field/ChoiceFormField.php        |  327 ++
 .../DomCrawler/Field/FileFormField.php          |  112 +
 .../Component/DomCrawler/Field/FormField.php    |  116 +
 .../DomCrawler/Field/InputFormField.php         |   47 +
 .../DomCrawler/Field/TextareaFormField.php      |   39 +
 .../Symfony/Component/DomCrawler/Form.php       |  479 ++
 .../Component/DomCrawler/FormFieldRegistry.php  |  220 +
 .../Symfony/Component/DomCrawler/LICENSE        |   19 +
 .../Symfony/Component/DomCrawler/Link.php       |  232 +
 .../Symfony/Component/DomCrawler/README.md      |   36 +
 .../Component/DomCrawler/Tests/CrawlerTest.php  | 1050 ++++
 .../Tests/Field/ChoiceFormFieldTest.php         |  388 ++
 .../Tests/Field/FileFormFieldTest.php           |  114 +
 .../DomCrawler/Tests/Field/FormFieldTest.php    |   38 +
 .../Tests/Field/FormFieldTestCase.php           |   27 +
 .../Tests/Field/InputFormFieldTest.php          |   49 +
 .../Tests/Field/TextareaFormFieldTest.php       |   46 +
 .../DomCrawler/Tests/Fixtures/no-extension      |    1 +
 .../DomCrawler/Tests/Fixtures/windows-1250.html |    8 +
 .../Component/DomCrawler/Tests/FormTest.php     |  943 ++++
 .../Component/DomCrawler/Tests/LinkTest.php     |  148 +
 .../Symfony/Component/DomCrawler/composer.json  |   37 +
 .../Component/DomCrawler/phpunit.xml.dist       |   30 +
 .../Component/EventDispatcher/.gitignore        |    3 +
 .../Component/EventDispatcher/CHANGELOG.md      |   23 +
 .../ContainerAwareEventDispatcher.php           |  202 +
 .../Debug/TraceableEventDispatcher.php          |  320 ++
 .../Debug/TraceableEventDispatcherInterface.php |   34 +
 .../EventDispatcher/Debug/WrappedListener.php   |   71 +
 .../RegisterListenersPass.php                   |  110 +
 .../Symfony/Component/EventDispatcher/Event.php |  130 +
 .../EventDispatcher/EventDispatcher.php         |  185 +
 .../EventDispatcherInterface.php                |   96 +
 .../EventSubscriberInterface.php                |   50 +
 .../Component/EventDispatcher/GenericEvent.php  |  186 +
 .../ImmutableEventDispatcher.php                |   93 +
 .../Symfony/Component/EventDispatcher/LICENSE   |   19 +
 .../Symfony/Component/EventDispatcher/README.md |   27 +
 .../Tests/AbstractEventDispatcherTest.php       |  369 ++
 .../Tests/ContainerAwareEventDispatcherTest.php |  249 +
 .../Debug/TraceableEventDispatcherTest.php      |  185 +
 .../RegisterListenersPassTest.php               |  200 +
 .../Tests/EventDispatcherTest.php               |   22 +
 .../EventDispatcher/Tests/EventTest.php         |  100 +
 .../EventDispatcher/Tests/GenericEventTest.php  |  139 +
 .../Tests/ImmutableEventDispatcherTest.php      |  105 +
 .../Component/EventDispatcher/composer.json     |   43 +
 .../Component/EventDispatcher/phpunit.xml.dist  |   28 +
 .../Symfony/Component/Filesystem/.gitignore     |    3 +
 .../Symfony/Component/Filesystem/CHANGELOG.md   |   28 +
 .../Filesystem/Exception/ExceptionInterface.php |   23 +
 .../Exception/FileNotFoundException.php         |   34 +
 .../Filesystem/Exception/IOException.php        |   41 +
 .../Exception/IOExceptionInterface.php          |   27 +
 .../Symfony/Component/Filesystem/Filesystem.php |  497 ++
 .../Symfony/Component/Filesystem/LICENSE        |   19 +
 .../Component/Filesystem/LockHandler.php        |  111 +
 .../Symfony/Component/Filesystem/README.md      |   47 +
 .../Filesystem/Tests/ExceptionTest.php          |   46 +
 .../Filesystem/Tests/FilesystemTest.php         |  998 ++++
 .../Filesystem/Tests/FilesystemTestCase.php     |  131 +
 .../Filesystem/Tests/LockHandlerTest.php        |   85 +
 .../Symfony/Component/Filesystem/composer.json  |   34 +
 .../Component/Filesystem/phpunit.xml.dist       |   26 +
 .../finder/Symfony/Component/Finder/.gitignore  |    3 +
 .../Finder/Adapter/AbstractAdapter.php          |  236 +
 .../Finder/Adapter/AbstractFindAdapter.php      |  327 ++
 .../Finder/Adapter/AdapterInterface.php         |  144 +
 .../Component/Finder/Adapter/BsdFindAdapter.php |  103 +
 .../Component/Finder/Adapter/GnuFindAdapter.php |  104 +
 .../Component/Finder/Adapter/PhpAdapter.php     |   98 +
 .../Symfony/Component/Finder/CHANGELOG.md       |   34 +
 .../Component/Finder/Comparator/Comparator.php  |   98 +
 .../Finder/Comparator/DateComparator.php        |   53 +
 .../Finder/Comparator/NumberComparator.php      |   81 +
 .../Finder/Exception/AccessDeniedException.php  |   19 +
 .../Exception/AdapterFailureException.php       |   46 +
 .../Finder/Exception/ExceptionInterface.php     |   23 +
 .../Exception/OperationNotPermitedException.php |   19 +
 .../Exception/ShellCommandFailureException.php  |   45 +
 .../Component/Finder/Expression/Expression.php  |  146 +
 .../Component/Finder/Expression/Glob.php        |  157 +
 .../Component/Finder/Expression/Regex.php       |  321 ++
 .../Finder/Expression/ValueInterface.php        |   60 +
 .../finder/Symfony/Component/Finder/Finder.php  |  840 ++++
 .../finder/Symfony/Component/Finder/Glob.php    |  103 +
 .../Finder/Iterator/CustomFilterIterator.php    |   63 +
 .../Finder/Iterator/DateRangeFilterIterator.php |   60 +
 .../Iterator/DepthRangeFilterIterator.php       |   47 +
 .../Iterator/ExcludeDirectoryFilterIterator.php |   55 +
 .../Finder/Iterator/FilePathsIterator.php       |  131 +
 .../Finder/Iterator/FileTypeFilterIterator.php  |   55 +
 .../Iterator/FilecontentFilterIterator.php      |   76 +
 .../Finder/Iterator/FilenameFilterIterator.php  |   67 +
 .../Finder/Iterator/FilterIterator.php          |   49 +
 .../Iterator/MultiplePcreFilterIterator.php     |   66 +
 .../Finder/Iterator/PathFilterIterator.php      |   74 +
 .../Iterator/RecursiveDirectoryIterator.php     |  126 +
 .../Finder/Iterator/SizeRangeFilterIterator.php |   59 +
 .../Finder/Iterator/SortableIterator.php        |   82 +
 .../finder/Symfony/Component/Finder/LICENSE     |   19 +
 .../finder/Symfony/Component/Finder/README.md   |   53 +
 .../Symfony/Component/Finder/Shell/Command.php  |  294 ++
 .../Symfony/Component/Finder/Shell/Shell.php    |   97 +
 .../Symfony/Component/Finder/SplFileInfo.php    |   77 +
 .../Finder/Tests/Comparator/ComparatorTest.php  |   64 +
 .../Tests/Comparator/DateComparatorTest.php     |   63 +
 .../Tests/Comparator/NumberComparatorTest.php   |  107 +
 .../Finder/Tests/Expression/ExpressionTest.php  |   68 +
 .../Finder/Tests/Expression/GlobTest.php        |   47 +
 .../Finder/Tests/Expression/RegexTest.php       |  143 +
 .../Finder/Tests/FakeAdapter/DummyAdapter.php   |   57 +
 .../Finder/Tests/FakeAdapter/FailingAdapter.php |   45 +
 .../Finder/Tests/FakeAdapter/NamedAdapter.php   |   57 +
 .../Tests/FakeAdapter/UnsupportedAdapter.php    |   44 +
 .../Component/Finder/Tests/FinderTest.php       |  869 ++++
 .../Finder/Tests/Fixtures/A/B/C/abc.dat         |    0
 .../Component/Finder/Tests/Fixtures/A/B/ab.dat  |    0
 .../Component/Finder/Tests/Fixtures/A/a.dat     |    0
 .../Tests/Fixtures/copy/A/B/C/abc.dat.copy      |    0
 .../Finder/Tests/Fixtures/copy/A/B/ab.dat.copy  |    0
 .../Finder/Tests/Fixtures/copy/A/a.dat.copy     |    0
 .../Component/Finder/Tests/Fixtures/dolor.txt   |    2 +
 .../Component/Finder/Tests/Fixtures/ipsum.txt   |    2 +
 .../Component/Finder/Tests/Fixtures/lorem.txt   |    2 +
 .../Component/Finder/Tests/Fixtures/one/a       |    0
 .../Finder/Tests/Fixtures/one/b/c.neon          |    0
 .../Finder/Tests/Fixtures/one/b/d.neon          |    0
 .../Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat  |    0
 .../Finder/Tests/Fixtures/with space/foo.txt    |    0
 .../Tests/Iterator/CustomFilterIteratorTest.php |   46 +
 .../Iterator/DateRangeFilterIteratorTest.php    |   72 +
 .../Iterator/DepthRangeFilterIteratorTest.php   |   80 +
 .../ExcludeDirectoryFilterIteratorTest.php      |   64 +
 .../Tests/Iterator/FilePathsIteratorTest.php    |   66 +
 .../Iterator/FileTypeFilterIteratorTest.php     |   72 +
 .../Iterator/FilecontentFilterIteratorTest.php  |   86 +
 .../Iterator/FilenameFilterIteratorTest.php     |   54 +
 .../Tests/Iterator/FilterIteratorTest.php       |   50 +
 .../Finder/Tests/Iterator/Iterator.php          |   55 +
 .../Finder/Tests/Iterator/IteratorTestCase.php  |   98 +
 .../Tests/Iterator/MockFileListIterator.php     |   21 +
 .../Finder/Tests/Iterator/MockSplFileInfo.php   |  134 +
 .../Iterator/MultiplePcreFilterIteratorTest.php |   67 +
 .../Tests/Iterator/PathFilterIteratorTest.php   |   83 +
 .../Tests/Iterator/RealIteratorTestCase.php     |  109 +
 .../Iterator/RecursiveDirectoryIteratorTest.php |   83 +
 .../Iterator/SizeRangeFilterIteratorTest.php    |   68 +
 .../Tests/Iterator/SortableIteratorTest.php     |  169 +
 .../Symfony/Component/Finder/composer.json      |   31 +
 .../Symfony/Component/Finder/phpunit.xml.dist   |   28 +
 .../Symfony/Component/HttpFoundation/.gitignore |    3 +
 .../Component/HttpFoundation/AcceptHeader.php   |  172 +
 .../HttpFoundation/AcceptHeaderItem.php         |  226 +
 .../Component/HttpFoundation/ApacheRequest.php  |   43 +
 .../HttpFoundation/BinaryFileResponse.php       |  301 ++
 .../Component/HttpFoundation/CHANGELOG.md       |  111 +
 .../Symfony/Component/HttpFoundation/Cookie.php |  210 +
 .../HttpFoundation/ExpressionRequestMatcher.php |   47 +
 .../File/Exception/AccessDeniedException.php    |   30 +
 .../File/Exception/FileException.php            |   21 +
 .../File/Exception/FileNotFoundException.php    |   30 +
 .../File/Exception/UnexpectedTypeException.php  |   20 +
 .../File/Exception/UploadException.php          |   21 +
 .../Component/HttpFoundation/File/File.php      |  160 +
 .../File/MimeType/ExtensionGuesser.php          |   96 +
 .../File/MimeType/ExtensionGuesserInterface.php |   27 +
 .../File/MimeType/FileBinaryMimeTypeGuesser.php |   87 +
 .../File/MimeType/FileinfoMimeTypeGuesser.php   |   71 +
 .../File/MimeType/MimeTypeExtensionGuesser.php  |  807 +++
 .../File/MimeType/MimeTypeGuesser.php           |  136 +
 .../File/MimeType/MimeTypeGuesserInterface.php  |   35 +
 .../HttpFoundation/File/UploadedFile.php        |  309 ++
 .../Component/HttpFoundation/FileBag.php        |  155 +
 .../Component/HttpFoundation/HeaderBag.php      |  348 ++
 .../Component/HttpFoundation/IpUtils.php        |  124 +
 .../Component/HttpFoundation/JsonResponse.php   |  202 +
 .../Symfony/Component/HttpFoundation/LICENSE    |   19 +
 .../Component/HttpFoundation/ParameterBag.php   |  305 ++
 .../Symfony/Component/HttpFoundation/README.md  |   56 +
 .../HttpFoundation/RedirectResponse.php         |  106 +
 .../Component/HttpFoundation/Request.php        | 1913 ++++++++
 .../Component/HttpFoundation/RequestMatcher.php |  160 +
 .../HttpFoundation/RequestMatcherInterface.php  |   33 +
 .../Component/HttpFoundation/RequestStack.php   |  103 +
 .../Resources/stubs/SessionHandlerInterface.php |   90 +
 .../Component/HttpFoundation/Response.php       | 1275 +++++
 .../HttpFoundation/ResponseHeaderBag.php        |  320 ++
 .../Component/HttpFoundation/ServerBag.php      |   91 +
 .../Session/Attribute/AttributeBag.php          |  157 +
 .../Session/Attribute/AttributeBagInterface.php |   72 +
 .../Attribute/NamespacedAttributeBag.php        |  158 +
 .../Session/Flash/AutoExpireFlashBag.php        |  175 +
 .../HttpFoundation/Session/Flash/FlashBag.php   |  180 +
 .../Session/Flash/FlashBagInterface.php         |   93 +
 .../HttpFoundation/Session/Session.php          |  251 +
 .../Session/SessionBagInterface.php             |   48 +
 .../HttpFoundation/Session/SessionInterface.php |  208 +
 .../Storage/Handler/MemcacheSessionHandler.php  |  119 +
 .../Storage/Handler/MemcachedSessionHandler.php |  125 +
 .../Storage/Handler/MongoDbSessionHandler.php   |  173 +
 .../Handler/NativeFileSessionHandler.php        |   58 +
 .../Storage/Handler/NativeSessionHandler.php    |   24 +
 .../Storage/Handler/NullSessionHandler.php      |   72 +
 .../Storage/Handler/PdoSessionHandler.php       |  265 +
 .../Handler/WriteCheckSessionHandler.php        |   91 +
 .../Session/Storage/MetadataBag.php             |  170 +
 .../Session/Storage/MockArraySessionStorage.php |  268 +
 .../Session/Storage/MockFileSessionStorage.php  |  138 +
 .../Session/Storage/NativeSessionStorage.php    |  414 ++
 .../Session/Storage/PhpBridgeSessionStorage.php |   68 +
 .../Session/Storage/Proxy/AbstractProxy.php     |  154 +
 .../Session/Storage/Proxy/NativeProxy.php       |   41 +
 .../Storage/Proxy/SessionHandlerProxy.php       |   95 +
 .../Session/Storage/SessionStorageInterface.php |  153 +
 .../HttpFoundation/StreamedResponse.php         |  133 +
 .../Tests/AcceptHeaderItemTest.php              |  112 +
 .../HttpFoundation/Tests/AcceptHeaderTest.php   |  102 +
 .../HttpFoundation/Tests/ApacheRequestTest.php  |   92 +
 .../Tests/BinaryFileResponseTest.php            |  234 +
 .../HttpFoundation/Tests/CookieTest.php         |  145 +
 .../Tests/ExpressionRequestMatcherTest.php      |   68 +
 .../HttpFoundation/Tests/File/FakeFile.php      |   45 +
 .../HttpFoundation/Tests/File/FileTest.php      |  169 +
 .../Tests/File/Fixtures/.unknownextension       |    1 +
 .../Tests/File/Fixtures/directory/.empty        |    0
 .../HttpFoundation/Tests/File/Fixtures/test     |  Bin 0 -> 35 bytes
 .../HttpFoundation/Tests/File/Fixtures/test.gif |  Bin 0 -> 35 bytes
 .../Tests/File/MimeType/MimeTypeTest.php        |  102 +
 .../Tests/File/UploadedFileTest.php             |  272 ++
 .../HttpFoundation/Tests/FileBagTest.php        |  148 +
 .../HttpFoundation/Tests/HeaderBagTest.php      |  216 +
 .../HttpFoundation/Tests/IpUtilsTest.php        |   81 +
 .../HttpFoundation/Tests/JsonResponseTest.php   |  232 +
 .../HttpFoundation/Tests/ParameterBagTest.php   |  253 +
 .../Tests/RedirectResponseTest.php              |   83 +
 .../HttpFoundation/Tests/RequestMatcherTest.php |  130 +
 .../HttpFoundation/Tests/RequestStackTest.php   |   69 +
 .../HttpFoundation/Tests/RequestTest.php        | 1759 +++++++
 .../Tests/ResponseHeaderBagTest.php             |  286 ++
 .../HttpFoundation/Tests/ResponseTest.php       |  874 ++++
 .../HttpFoundation/Tests/ResponseTestCase.php   |   88 +
 .../HttpFoundation/Tests/ServerBagTest.php      |  144 +
 .../Session/Attribute/AttributeBagTest.php      |  193 +
 .../Attribute/NamespacedAttributeBagTest.php    |  183 +
 .../Session/Flash/AutoExpireFlashBagTest.php    |  155 +
 .../Tests/Session/Flash/FlashBagTest.php        |  154 +
 .../Tests/Session/SessionTest.php               |  227 +
 .../Handler/MemcacheSessionHandlerTest.php      |  132 +
 .../Handler/MemcachedSessionHandlerTest.php     |  131 +
 .../Handler/MongoDbSessionHandlerTest.php       |  186 +
 .../Handler/NativeFileSessionHandlerTest.php    |   81 +
 .../Handler/NativeSessionHandlerTest.php        |   40 +
 .../Storage/Handler/NullSessionHandlerTest.php  |   58 +
 .../Storage/Handler/PdoSessionHandlerTest.php   |  111 +
 .../Handler/WriteCheckSessionHandlerTest.php    |   94 +
 .../Tests/Session/Storage/MetadataBagTest.php   |  134 +
 .../Storage/MockArraySessionStorageTest.php     |  106 +
 .../Storage/MockFileSessionStorageTest.php      |  126 +
 .../Storage/NativeSessionStorageTest.php        |  248 +
 .../Storage/PhpBridgeSessionStorageTest.php     |  124 +
 .../Session/Storage/Proxy/AbstractProxyTest.php |  217 +
 .../Session/Storage/Proxy/NativeProxyTest.php   |   35 +
 .../Storage/Proxy/SessionHandlerProxyTest.php   |  127 +
 .../Tests/StreamedResponseTest.php              |  114 +
 .../Component/HttpFoundation/composer.json      |   35 +
 .../Component/HttpFoundation/phpunit.xml.dist   |   29 +
 .../Symfony/Component/HttpKernel/.gitignore     |    5 +
 .../Component/HttpKernel/Bundle/Bundle.php      |  202 +
 .../HttpKernel/Bundle/BundleInterface.php       |  102 +
 .../Symfony/Component/HttpKernel/CHANGELOG.md   |   62 +
 .../CacheClearer/CacheClearerInterface.php      |   27 +
 .../CacheClearer/ChainCacheClearer.php          |   55 +
 .../HttpKernel/CacheWarmer/CacheWarmer.php      |   32 +
 .../CacheWarmer/CacheWarmerAggregate.php        |   74 +
 .../CacheWarmer/CacheWarmerInterface.php        |   32 +
 .../CacheWarmer/WarmableInterface.php           |   27 +
 .../Symfony/Component/HttpKernel/Client.php     |  228 +
 .../HttpKernel/Config/EnvParametersResource.php |   95 +
 .../Component/HttpKernel/Config/FileLocator.php |   56 +
 .../Controller/ControllerReference.php          |   46 +
 .../Controller/ControllerResolver.php           |  158 +
 .../Controller/ControllerResolverInterface.php  |   63 +
 .../Controller/TraceableControllerResolver.php  |   66 +
 .../DataCollector/ConfigDataCollector.php       |  245 +
 .../HttpKernel/DataCollector/DataCollector.php  |   58 +
 .../DataCollector/DataCollectorInterface.php    |   45 +
 .../DataCollector/EventDataCollector.php        |  107 +
 .../DataCollector/ExceptionDataCollector.php    |  104 +
 .../LateDataCollectorInterface.php              |   25 +
 .../DataCollector/LoggerDataCollector.php       |  161 +
 .../DataCollector/MemoryDataCollector.php       |  109 +
 .../DataCollector/RequestDataCollector.php      |  338 ++
 .../DataCollector/RouterDataCollector.php       |  102 +
 .../DataCollector/TimeDataCollector.php         |  136 +
 .../DataCollector/Util/ValueExporter.php        |   74 +
 .../Component/HttpKernel/Debug/ErrorHandler.php |   25 +
 .../HttpKernel/Debug/ExceptionHandler.php       |   25 +
 .../Debug/TraceableEventDispatcher.php          |   98 +
 .../AddClassesToCachePass.php                   |   46 +
 .../ConfigurableExtension.php                   |   45 +
 .../ContainerAwareHttpKernel.php                |   77 +
 .../DependencyInjection/Extension.php           |   44 +
 .../MergeExtensionConfigurationPass.php         |   41 +
 .../RegisterListenersPass.php                   |   23 +
 .../HttpKernel/Event/FilterControllerEvent.php  |  110 +
 .../HttpKernel/Event/FilterResponseEvent.php    |   68 +
 .../HttpKernel/Event/FinishRequestEvent.php     |   21 +
 .../HttpKernel/Event/GetResponseEvent.php       |   73 +
 .../GetResponseForControllerResultEvent.php     |   67 +
 .../Event/GetResponseForExceptionEvent.php      |   73 +
 .../Component/HttpKernel/Event/KernelEvent.php  |  104 +
 .../HttpKernel/Event/PostResponseEvent.php      |   73 +
 .../EventListener/AddRequestFormatsListener.php |   57 +
 .../EventListener/DebugHandlersListener.php     |   51 +
 .../EventListener/ErrorsLoggerListener.php      |   49 +
 .../HttpKernel/EventListener/EsiListener.php    |   58 +
 .../EventListener/ExceptionListener.php         |  127 +
 .../EventListener/FragmentListener.php          |  106 +
 .../HttpKernel/EventListener/LocaleListener.php |  111 +
 .../EventListener/ProfilerListener.php          |  158 +
 .../EventListener/ResponseListener.php          |   58 +
 .../HttpKernel/EventListener/RouterListener.php |  170 +
 .../EventListener/SaveSessionListener.php       |   66 +
 .../EventListener/SessionListener.php           |   53 +
 .../EventListener/StreamedResponseListener.php  |   51 +
 .../EventListener/TestSessionListener.php       |   83 +
 .../Exception/AccessDeniedHttpException.php     |   33 +
 .../Exception/BadRequestHttpException.php       |   32 +
 .../Exception/ConflictHttpException.php         |   32 +
 .../Exception/FatalErrorException.php           |   21 +
 .../HttpKernel/Exception/FlattenException.php   |   23 +
 .../HttpKernel/Exception/GoneHttpException.php  |   32 +
 .../HttpKernel/Exception/HttpException.php      |   41 +
 .../Exception/HttpExceptionInterface.php        |   34 +
 .../Exception/LengthRequiredHttpException.php   |   32 +
 .../Exception/MethodNotAllowedHttpException.php |   35 +
 .../Exception/NotAcceptableHttpException.php    |   32 +
 .../Exception/NotFoundHttpException.php         |   32 +
 .../PreconditionFailedHttpException.php         |   32 +
 .../PreconditionRequiredHttpException.php       |   34 +
 .../ServiceUnavailableHttpException.php         |   38 +
 .../Exception/TooManyRequestsHttpException.php  |   40 +
 .../Exception/UnauthorizedHttpException.php     |   35 +
 .../UnprocessableEntityHttpException.php        |   32 +
 .../UnsupportedMediaTypeHttpException.php       |   32 +
 .../HttpKernel/Fragment/EsiFragmentRenderer.php |  100 +
 .../HttpKernel/Fragment/FragmentHandler.php     |  148 +
 .../Fragment/FragmentRendererInterface.php      |   42 +
 .../Fragment/HIncludeFragmentRenderer.php       |  164 +
 .../Fragment/InlineFragmentRenderer.php         |  152 +
 .../Fragment/RoutableFragmentRenderer.php       |   90 +
 .../Component/HttpKernel/HttpCache/Esi.php      |  245 +
 .../HttpCache/EsiResponseCacheStrategy.php      |   85 +
 .../EsiResponseCacheStrategyInterface.php       |   41 +
 .../HttpKernel/HttpCache/HttpCache.php          |  690 +++
 .../Component/HttpKernel/HttpCache/Store.php    |  449 ++
 .../HttpKernel/HttpCache/StoreInterface.php     |   96 +
 .../Symfony/Component/HttpKernel/HttpKernel.php |  291 ++
 .../HttpKernel/HttpKernelInterface.php          |   47 +
 .../Symfony/Component/HttpKernel/Kernel.php     |  783 +++
 .../Component/HttpKernel/KernelEvents.php       |  127 +
 .../Component/HttpKernel/KernelInterface.php    |  209 +
 .../Symfony/Component/HttpKernel/LICENSE        |   19 +
 .../HttpKernel/Log/DebugLoggerInterface.php     |   38 +
 .../HttpKernel/Log/LoggerInterface.php          |   54 +
 .../Component/HttpKernel/Log/NullLogger.php     |   60 +
 .../Profiler/BaseMemcacheProfilerStorage.php    |  306 ++
 .../HttpKernel/Profiler/FileProfilerStorage.php |  277 ++
 .../Profiler/MemcacheProfilerStorage.php        |  107 +
 .../Profiler/MemcachedProfilerStorage.php       |  103 +
 .../Profiler/MongoDbProfilerStorage.php         |  257 +
 .../Profiler/MysqlProfilerStorage.php           |   79 +
 .../HttpKernel/Profiler/PdoProfilerStorage.php  |  262 +
 .../Component/HttpKernel/Profiler/Profile.php   |  275 ++
 .../Component/HttpKernel/Profiler/Profiler.php  |  295 ++
 .../Profiler/ProfilerStorageInterface.php       |   59 +
 .../Profiler/RedisProfilerStorage.php           |  390 ++
 .../Profiler/SqliteProfilerStorage.php          |  139 +
 .../Symfony/Component/HttpKernel/README.md      |   99 +
 .../HttpKernel/TerminableInterface.php          |   39 +
 .../HttpKernel/Tests/Bundle/BundleTest.php      |   33 +
 .../CacheClearer/ChainCacheClearerTest.php      |   57 +
 .../CacheWarmer/CacheWarmerAggregateTest.php    |  100 +
 .../Tests/CacheWarmer/CacheWarmerTest.php       |   67 +
 .../Component/HttpKernel/Tests/ClientTest.php   |  179 +
 .../Tests/Config/EnvParametersResourceTest.php  |  106 +
 .../HttpKernel/Tests/Config/FileLocatorTest.php |   47 +
 .../Tests/Controller/ControllerResolverTest.php |  236 +
 .../DataCollector/ConfigDataCollectorTest.php   |   80 +
 .../ExceptionDataCollectorTest.php              |   39 +
 .../DataCollector/LoggerDataCollectorTest.php   |   80 +
 .../DataCollector/MemoryDataCollectorTest.php   |   58 +
 .../DataCollector/RequestDataCollectorTest.php  |  222 +
 .../DataCollector/TimeDataCollectorTest.php     |   51 +
 .../Debug/TraceableEventDispatcherTest.php      |  104 +
 .../ContainerAwareHttpKernelTest.php            |  165 +
 .../MergeExtensionConfigurationPassTest.php     |   57 +
 .../AddRequestFormatsListenerTest.php           |   83 +
 .../Tests/EventListener/EsiListenerTest.php     |   66 +
 .../EventListener/ExceptionListenerTest.php     |  142 +
 .../EventListener/FragmentListenerTest.php      |   81 +
 .../Tests/EventListener/LocaleListenerTest.php  |  103 +
 .../EventListener/ProfilerListenerTest.php      |  105 +
 .../EventListener/ResponseListenerTest.php      |   94 +
 .../Tests/EventListener/RouterListenerTest.php  |  131 +
 .../EventListener/TestSessionListenerTest.php   |  132 +
 .../Tests/Fixtures/BaseBundle/Resources/foo.txt |    0
 .../Fixtures/BaseBundle/Resources/hide.txt      |    0
 .../Fixtures/Bundle1Bundle/Resources/foo.txt    |    0
 .../Tests/Fixtures/Bundle1Bundle/bar.txt        |    0
 .../Tests/Fixtures/Bundle1Bundle/foo.txt        |    0
 .../Tests/Fixtures/Bundle2Bundle/foo.txt        |    0
 .../Fixtures/ChildBundle/Resources/foo.txt      |    0
 .../Fixtures/ChildBundle/Resources/hide.txt     |    0
 .../ExtensionAbsentBundle.php                   |   18 +
 .../ExtensionLoadedExtension.php                |   22 +
 .../ExtensionLoadedBundle.php                   |   18 +
 .../Command/BarCommand.php                      |   18 +
 .../Command/FooCommand.php                      |   22 +
 .../ExtensionPresentExtension.php               |   22 +
 .../ExtensionPresentBundle.php                  |   18 +
 .../HttpKernel/Tests/Fixtures/FooBarBundle.php  |   19 +
 .../Tests/Fixtures/KernelForOverrideName.php    |   28 +
 .../HttpKernel/Tests/Fixtures/KernelForTest.php |   37 +
 .../Fixtures/Resources/BaseBundle/hide.txt      |    0
 .../Fixtures/Resources/Bundle1Bundle/foo.txt    |    0
 .../Fixtures/Resources/ChildBundle/foo.txt      |    0
 .../Tests/Fixtures/Resources/FooBundle/foo.txt  |    0
 .../HttpKernel/Tests/Fixtures/TestClient.php    |   31 +
 .../Tests/Fixtures/TestEventDispatcher.php      |   28 +
 .../Tests/Fragment/EsiFragmentRendererTest.php  |  103 +
 .../Tests/Fragment/FragmentHandlerTest.php      |   95 +
 .../Fragment/HIncludeFragmentRendererTest.php   |   88 +
 .../Fragment/InlineFragmentRendererTest.php     |  210 +
 .../Fragment/RoutableFragmentRendererTest.php   |   93 +
 .../HttpKernel/Tests/HttpCache/EsiTest.php      |  225 +
 .../Tests/HttpCache/HttpCacheTest.php           | 1225 +++++
 .../Tests/HttpCache/HttpCacheTestCase.php       |  176 +
 .../HttpKernel/Tests/HttpCache/StoreTest.php    |  259 +
 .../Tests/HttpCache/TestHttpKernel.php          |   91 +
 .../Tests/HttpCache/TestMultipleHttpKernel.php  |   80 +
 .../HttpKernel/Tests/HttpKernelTest.php         |  300 ++
 .../Component/HttpKernel/Tests/KernelTest.php   |  839 ++++
 .../Component/HttpKernel/Tests/Logger.php       |  128 +
 .../Profiler/AbstractProfilerStorageTest.php    |  253 +
 .../Tests/Profiler/FileProfilerStorageTest.php  |  100 +
 .../Profiler/MemcacheProfilerStorageTest.php    |   49 +
 .../Profiler/MemcachedProfilerStorageTest.php   |   49 +
 .../Tests/Profiler/Mock/MemcacheMock.php        |  254 +
 .../Tests/Profiler/Mock/MemcachedMock.php       |  219 +
 .../Tests/Profiler/Mock/RedisMock.php           |  247 +
 .../Profiler/MongoDbProfilerStorageTest.php     |  165 +
 .../HttpKernel/Tests/Profiler/ProfilerTest.php  |   85 +
 .../Tests/Profiler/RedisProfilerStorageTest.php |   49 +
 .../Profiler/SqliteProfilerStorageTest.php      |   50 +
 .../HttpKernel/Tests/TestHttpKernel.php         |   41 +
 .../HttpKernel/Tests/UriSignerTest.php          |   39 +
 .../Symfony/Component/HttpKernel/UriSigner.php  |  109 +
 .../Symfony/Component/HttpKernel/composer.json  |   58 +
 .../Component/HttpKernel/phpunit.xml.dist       |   28 +
 .../Symfony/Component/Process/.gitignore        |    3 +
 .../Symfony/Component/Process/CHANGELOG.md      |   40 +
 .../Process/Exception/ExceptionInterface.php    |   21 +
 .../Exception/InvalidArgumentException.php      |   21 +
 .../Process/Exception/LogicException.php        |   21 +
 .../Exception/ProcessFailedException.php        |   53 +
 .../Exception/ProcessTimedOutException.php      |   69 +
 .../Process/Exception/RuntimeException.php      |   21 +
 .../Component/Process/ExecutableFinder.php      |   89 +
 .../process/Symfony/Component/Process/LICENSE   |   19 +
 .../Component/Process/PhpExecutableFinder.php   |   86 +
 .../Symfony/Component/Process/PhpProcess.php    |   73 +
 .../Symfony/Component/Process/Process.php       | 1519 ++++++
 .../Component/Process/ProcessBuilder.php        |  287 ++
 .../Symfony/Component/Process/ProcessPipes.php  |  382 ++
 .../Symfony/Component/Process/ProcessUtils.php  |  108 +
 .../process/Symfony/Component/Process/README.md |   51 +
 .../Process/Tests/AbstractProcessTest.php       | 1165 +++++
 .../Process/Tests/ExecutableFinderTest.php      |  149 +
 .../Process/Tests/NonStopableProcess.php        |   36 +
 .../Process/Tests/PhpExecutableFinderTest.php   |   97 +
 .../Component/Process/Tests/PhpProcessTest.php  |   29 +
 .../PipeStdinInStdoutStdErrStreamSelect.php     |   63 +
 .../Process/Tests/ProcessBuilderTest.php        |  225 +
 .../Tests/ProcessFailedExceptionTest.php        |  136 +
 .../Tests/ProcessInSigchildEnvironment.php      |   22 +
 .../Process/Tests/ProcessUtilsTest.php          |   48 +
 .../Tests/SigchildDisabledProcessTest.php       |  263 +
 .../Tests/SigchildEnabledProcessTest.php        |  148 +
 .../Component/Process/Tests/SignalListener.php  |   16 +
 .../Process/Tests/SimpleProcessTest.php         |  222 +
 .../Symfony/Component/Process/composer.json     |   31 +
 .../Symfony/Component/Process/phpunit.xml.dist  |   27 +
 .../Symfony/Component/Routing/.gitignore        |    3 +
 .../Component/Routing/Annotation/Route.php      |  162 +
 .../Symfony/Component/Routing/CHANGELOG.md      |  177 +
 .../Symfony/Component/Routing/CompiledRoute.php |  166 +
 .../Routing/Exception/ExceptionInterface.php    |   23 +
 .../Exception/InvalidParameterException.php     |   23 +
 .../Exception/MethodNotAllowedException.php     |   46 +
 .../MissingMandatoryParametersException.php     |   24 +
 .../Exception/ResourceNotFoundException.php     |   25 +
 .../Exception/RouteNotFoundException.php        |   23 +
 .../ConfigurableRequirementsInterface.php       |   55 +
 .../Generator/Dumper/GeneratorDumper.php        |   45 +
 .../Dumper/GeneratorDumperInterface.php         |   41 +
 .../Generator/Dumper/PhpGeneratorDumper.php     |  124 +
 .../Routing/Generator/UrlGenerator.php          |  338 ++
 .../Routing/Generator/UrlGeneratorInterface.php |   88 +
 .../routing/Symfony/Component/Routing/LICENSE   |   19 +
 .../Routing/Loader/AnnotationClassLoader.php    |  268 +
 .../Loader/AnnotationDirectoryLoader.php        |   77 +
 .../Routing/Loader/AnnotationFileLoader.php     |  121 +
 .../Component/Routing/Loader/ClosureLoader.php  |   52 +
 .../Component/Routing/Loader/PhpFileLoader.php  |   62 +
 .../Component/Routing/Loader/XmlFileLoader.php  |  256 +
 .../Component/Routing/Loader/YamlFileLoader.php |  217 +
 .../Loader/schema/routing/routing-1.0.xsd       |   65 +
 .../Routing/Matcher/ApacheUrlMatcher.php        |  122 +
 .../Matcher/Dumper/ApacheMatcherDumper.php      |  281 ++
 .../Routing/Matcher/Dumper/DumperCollection.php |  159 +
 .../Matcher/Dumper/DumperPrefixCollection.php   |  105 +
 .../Routing/Matcher/Dumper/DumperRoute.php      |   64 +
 .../Routing/Matcher/Dumper/MatcherDumper.php    |   45 +
 .../Matcher/Dumper/MatcherDumperInterface.php   |   39 +
 .../Routing/Matcher/Dumper/PhpMatcherDumper.php |  401 ++
 .../Routing/Matcher/RedirectableUrlMatcher.php  |   67 +
 .../Matcher/RedirectableUrlMatcherInterface.php |   35 +
 .../Routing/Matcher/RequestMatcherInterface.php |   39 +
 .../Routing/Matcher/TraceableUrlMatcher.php     |  131 +
 .../Component/Routing/Matcher/UrlMatcher.php    |  244 +
 .../Routing/Matcher/UrlMatcherInterface.php     |   43 +
 .../routing/Symfony/Component/Routing/README.md |   36 +
 .../Component/Routing/RequestContext.php        |  322 ++
 .../Routing/RequestContextAwareInterface.php    |   36 +
 .../routing/Symfony/Component/Routing/Route.php |  655 +++
 .../Component/Routing/RouteCollection.php       |  285 ++
 .../Symfony/Component/Routing/RouteCompiler.php |  229 +
 .../Routing/RouteCompilerInterface.php          |   32 +
 .../Symfony/Component/Routing/Router.php        |  323 ++
 .../Component/Routing/RouterInterface.php       |   32 +
 .../Routing/Tests/Annotation/RouteTest.php      |   57 +
 .../Routing/Tests/CompiledRouteTest.php         |   26 +
 .../Fixtures/AnnotatedClasses/AbstractClass.php |   16 +
 .../Fixtures/AnnotatedClasses/BarClass.php      |   19 +
 .../Fixtures/AnnotatedClasses/FooClass.php      |   16 +
 .../Tests/Fixtures/CustomXmlFileLoader.php      |   26 +
 .../Tests/Fixtures/RedirectableUrlMatcher.php   |   30 +
 .../Routing/Tests/Fixtures/annotated.php        |    0
 .../Tests/Fixtures/dumper/url_matcher1.apache   |  163 +
 .../Tests/Fixtures/dumper/url_matcher1.php      |  312 ++
 .../Tests/Fixtures/dumper/url_matcher2.apache   |    7 +
 .../Tests/Fixtures/dumper/url_matcher2.php      |  344 ++
 .../Tests/Fixtures/dumper/url_matcher3.php      |   50 +
 .../Component/Routing/Tests/Fixtures/empty.yml  |    0
 .../Component/Routing/Tests/Fixtures/foo.xml    |    0
 .../Component/Routing/Tests/Fixtures/foo1.xml   |    0
 .../Routing/Tests/Fixtures/incomplete.yml       |    2 +
 .../Routing/Tests/Fixtures/missing_id.xml       |    8 +
 .../Routing/Tests/Fixtures/missing_path.xml     |    8 +
 .../Routing/Tests/Fixtures/namespaceprefix.xml  |   13 +
 .../Fixtures/nonesense_resource_plus_path.yml   |    3 +
 .../nonesense_type_without_resource.yml         |    3 +
 .../Routing/Tests/Fixtures/nonvalid.xml         |   11 +
 .../Routing/Tests/Fixtures/nonvalid.yml         |    1 +
 .../Routing/Tests/Fixtures/nonvalid2.yml        |    1 +
 .../Routing/Tests/Fixtures/nonvalidkeys.yml     |    3 +
 .../Routing/Tests/Fixtures/nonvalidnode.xml     |    8 +
 .../Routing/Tests/Fixtures/nonvalidroute.xml    |   13 +
 .../Routing/Tests/Fixtures/null_values.xml      |   12 +
 .../Tests/Fixtures/special_route_name.yml       |    2 +
 .../Routing/Tests/Fixtures/validpattern.php     |   27 +
 .../Routing/Tests/Fixtures/validpattern.xml     |   25 +
 .../Routing/Tests/Fixtures/validpattern.yml     |   22 +
 .../Routing/Tests/Fixtures/validresource.xml    |   13 +
 .../Routing/Tests/Fixtures/validresource.yml    |    8 +
 .../Routing/Tests/Fixtures/withdoctype.xml      |    3 +
 .../Generator/Dumper/PhpGeneratorDumperTest.php |  150 +
 .../Tests/Generator/UrlGeneratorTest.php        |  671 +++
 .../Loader/AbstractAnnotationLoaderTest.php     |   31 +
 .../Tests/Loader/AnnotationClassLoaderTest.php  |  158 +
 .../Loader/AnnotationDirectoryLoaderTest.php    |   53 +
 .../Tests/Loader/AnnotationFileLoaderTest.php   |   47 +
 .../Routing/Tests/Loader/ClosureLoaderTest.php  |   48 +
 .../Routing/Tests/Loader/PhpFileLoaderTest.php  |   48 +
 .../Routing/Tests/Loader/XmlFileLoaderTest.php  |  138 +
 .../Routing/Tests/Loader/YamlFileLoaderTest.php |  106 +
 .../Matcher/Dumper/DumperCollectionTest.php     |   33 +
 .../Dumper/DumperPrefixCollectionTest.php       |  123 +
 .../Dumper/LegacyApacheMatcherDumperTest.php    |  201 +
 .../Matcher/Dumper/PhpMatcherDumperTest.php     |  264 +
 .../Matcher/LegacyApacheUrlMatcherTest.php      |  153 +
 .../Matcher/RedirectableUrlMatcherTest.php      |   86 +
 .../Tests/Matcher/TraceableUrlMatcherTest.php   |  101 +
 .../Routing/Tests/Matcher/UrlMatcherTest.php    |  408 ++
 .../Routing/Tests/RequestContextTest.php        |  143 +
 .../Routing/Tests/RouteCollectionTest.php       |  304 ++
 .../Routing/Tests/RouteCompilerTest.php         |  253 +
 .../Component/Routing/Tests/RouteTest.php       |  277 ++
 .../Component/Routing/Tests/RouterTest.php      |  161 +
 .../Symfony/Component/Routing/composer.json     |   46 +
 .../Symfony/Component/Routing/phpunit.xml.dist  |   28 +
 .../Symfony/Component/Security/Core/.gitignore  |    3 +
 .../AuthenticationManagerInterface.php          |   35 +
 .../AuthenticationProviderManager.php           |  112 +
 .../AuthenticationTrustResolver.php             |   73 +
 .../AuthenticationTrustResolverInterface.php    |   53 +
 .../AnonymousAuthenticationProvider.php         |   60 +
 .../AuthenticationProviderInterface.php         |   35 +
 .../Provider/DaoAuthenticationProvider.php      |   99 +
 .../PreAuthenticatedAuthenticationProvider.php  |   80 +
 .../RememberMeAuthenticationProvider.php        |   68 +
 .../Provider/SimpleAuthenticationProvider.php   |   50 +
 .../Provider/UserAuthenticationProvider.php     |  155 +
 .../RememberMe/InMemoryTokenProvider.php        |   71 +
 .../RememberMe/PersistentToken.php              |   99 +
 .../RememberMe/PersistentTokenInterface.php     |   56 +
 .../RememberMe/TokenProviderInterface.php       |   58 +
 .../SimpleAuthenticatorInterface.php            |   25 +
 .../SimpleFormAuthenticatorInterface.php        |   22 +
 .../SimplePreAuthenticatorInterface.php         |   22 +
 .../Core/Authentication/Token/AbstractToken.php |  288 ++
 .../Authentication/Token/AnonymousToken.php     |   75 +
 .../Token/PreAuthenticatedToken.php             |   88 +
 .../Authentication/Token/RememberMeToken.php    |  114 +
 .../Authentication/Token/TokenInterface.php     |  131 +
 .../Token/UsernamePasswordToken.php             |  107 +
 .../Security/Core/AuthenticationEvents.php      |   38 +
 .../Authorization/AccessDecisionManager.php     |  219 +
 .../AccessDecisionManagerInterface.php          |   51 +
 .../Core/Authorization/ExpressionLanguage.php   |   57 +
 .../Authorization/Voter/AuthenticatedVoter.php  |   94 +
 .../Authorization/Voter/ExpressionVoter.php     |  112 +
 .../Authorization/Voter/RoleHierarchyVoter.php  |   41 +
 .../Core/Authorization/Voter/RoleVoter.php      |   79 +
 .../Core/Authorization/Voter/VoterInterface.php |   58 +
 .../Core/Encoder/BCryptPasswordEncoder.php      |   91 +
 .../Core/Encoder/BasePasswordEncoder.php        |  100 +
 .../Core/Encoder/EncoderAwareInterface.php      |   28 +
 .../Security/Core/Encoder/EncoderFactory.php    |   83 +
 .../Core/Encoder/EncoderFactoryInterface.php    |   33 +
 .../Encoder/MessageDigestPasswordEncoder.php    |   72 +
 .../Core/Encoder/PasswordEncoderInterface.php   |   41 +
 .../Core/Encoder/Pbkdf2PasswordEncoder.php      |  103 +
 .../Core/Encoder/PlaintextPasswordEncoder.php   |   64 +
 .../Security/Core/Event/AuthenticationEvent.php |   35 +
 .../Core/Event/AuthenticationFailureEvent.php   |   37 +
 .../Core/Exception/AccessDeniedException.php    |   25 +
 .../Core/Exception/AccountExpiredException.php  |   29 +
 .../Core/Exception/AccountStatusException.php   |   67 +
 ...thenticationCredentialsNotFoundException.php |   30 +
 .../Core/Exception/AuthenticationException.php  |   87 +
 .../AuthenticationServiceException.php          |   29 +
 .../Core/Exception/BadCredentialsException.php  |   29 +
 .../Core/Exception/CookieTheftException.php     |   30 +
 .../Exception/CredentialsExpiredException.php   |   29 +
 .../Core/Exception/DisabledException.php        |   29 +
 .../Core/Exception/ExceptionInterface.php       |   21 +
 .../InsufficientAuthenticationException.php     |   31 +
 .../Core/Exception/InvalidArgumentException.php |   21 +
 .../Exception/InvalidCsrfTokenException.php     |   29 +
 .../Security/Core/Exception/LockedException.php |   29 +
 .../Security/Core/Exception/LogoutException.php |   25 +
 .../Core/Exception/NonceExpiredException.php    |   30 +
 .../Exception/ProviderNotFoundException.php     |   30 +
 .../Core/Exception/RuntimeException.php         |   21 +
 .../Exception/SessionUnavailableException.php   |   35 +
 .../Core/Exception/TokenNotFoundException.php   |   29 +
 .../Core/Exception/UnsupportedUserException.php |   22 +
 .../Exception/UsernameNotFoundException.php     |   72 +
 .../Symfony/Component/Security/Core/LICENSE     |   19 +
 .../Symfony/Component/Security/Core/README.md   |   23 +
 .../Core/Resources/translations/security.ar.xlf |   71 +
 .../Core/Resources/translations/security.az.xlf |   71 +
 .../Core/Resources/translations/security.ca.xlf |   71 +
 .../Core/Resources/translations/security.cs.xlf |   71 +
 .../Core/Resources/translations/security.da.xlf |   71 +
 .../Core/Resources/translations/security.de.xlf |   71 +
 .../Core/Resources/translations/security.el.xlf |   71 +
 .../Core/Resources/translations/security.en.xlf |   71 +
 .../Core/Resources/translations/security.es.xlf |   71 +
 .../Core/Resources/translations/security.fa.xlf |   71 +
 .../Core/Resources/translations/security.fr.xlf |   71 +
 .../Core/Resources/translations/security.gl.xlf |   71 +
 .../Core/Resources/translations/security.he.xlf |   71 +
 .../Core/Resources/translations/security.hu.xlf |   71 +
 .../Core/Resources/translations/security.it.xlf |   71 +
 .../Core/Resources/translations/security.lb.xlf |   71 +
 .../Core/Resources/translations/security.nl.xlf |   71 +
 .../Core/Resources/translations/security.no.xlf |   71 +
 .../Core/Resources/translations/security.pl.xlf |   71 +
 .../Resources/translations/security.pt_BR.xlf   |   71 +
 .../Resources/translations/security.pt_PT.xlf   |   71 +
 .../Core/Resources/translations/security.ro.xlf |   71 +
 .../Core/Resources/translations/security.ru.xlf |   71 +
 .../Core/Resources/translations/security.sk.xlf |   71 +
 .../Core/Resources/translations/security.sl.xlf |   71 +
 .../Resources/translations/security.sr_Cyrl.xlf |   71 +
 .../Resources/translations/security.sr_Latn.xlf |   71 +
 .../Core/Resources/translations/security.sv.xlf |   71 +
 .../Core/Resources/translations/security.tr.xlf |   71 +
 .../Core/Resources/translations/security.ua.xlf |   71 +
 .../Component/Security/Core/Role/Role.php       |   41 +
 .../Security/Core/Role/RoleHierarchy.php        |   73 +
 .../Core/Role/RoleHierarchyInterface.php        |   32 +
 .../Security/Core/Role/RoleInterface.php        |   35 +
 .../Security/Core/Role/SwitchUserRole.php       |   48 +
 .../Component/Security/Core/SecurityContext.php |   85 +
 .../Security/Core/SecurityContextInterface.php  |   50 +
 .../AuthenticationProviderManagerTest.php       |  138 +
 .../AuthenticationTrustResolverTest.php         |   70 +
 .../AnonymousAuthenticationProviderTest.php     |   66 +
 .../Provider/DaoAuthenticationProviderTest.php  |  300 ++
 ...eAuthenticatedAuthenticationProviderTest.php |  134 +
 .../RememberMeAuthenticationProviderTest.php    |  107 +
 .../Provider/UserAuthenticationProviderTest.php |  250 +
 .../RememberMe/InMemoryTokenProviderTest.php    |   63 +
 .../RememberMe/PersistentTokenTest.php          |   29 +
 .../Authentication/Token/AbstractTokenTest.php  |  287 ++
 .../Authentication/Token/AnonymousTokenTest.php |   45 +
 .../Token/PreAuthenticatedTokenTest.php         |   48 +
 .../Token/RememberMeTokenTest.php               |   83 +
 .../Token/UsernamePasswordTokenTest.php         |   58 +
 .../Authorization/AccessDecisionManagerTest.php |  198 +
 .../Authorization/ExpressionLanguageTest.php    |   79 +
 .../Voter/AuthenticatedVoterTest.php            |   78 +
 .../Authorization/Voter/ExpressionVoterTest.php |   97 +
 .../Voter/RoleHierarchyVoterTest.php            |   36 +
 .../Tests/Authorization/Voter/RoleVoterTest.php |   61 +
 .../Tests/Encoder/BCryptPasswordEncoderTest.php |   90 +
 .../Tests/Encoder/BasePasswordEncoderTest.php   |  101 +
 .../Core/Tests/Encoder/EncoderFactoryTest.php   |  168 +
 .../MessageDigestPasswordEncoderTest.php        |   62 +
 .../Tests/Encoder/Pbkdf2PasswordEncoderTest.php |   62 +
 .../Encoder/PlaintextPasswordEncoderTest.php    |   56 +
 .../Core/Tests/Role/RoleHierarchyTest.php       |   32 +
 .../Security/Core/Tests/Role/RoleTest.php       |   24 +
 .../Core/Tests/Role/SwitchUserRoleTest.php      |   31 +
 .../Security/Core/Tests/SecurityContextTest.php |   92 +
 .../Core/Tests/User/ChainUserProviderTest.php   |  183 +
 .../Tests/User/InMemoryUserProviderTest.php     |   62 +
 .../Core/Tests/User/UserCheckerTest.php         |  108 +
 .../Security/Core/Tests/User/UserTest.php       |  126 +
 .../Security/Core/Tests/Util/ClassUtilsTest.php |   50 +
 .../Core/Tests/Util/SecureRandomTest.php        |  201 +
 .../Core/Tests/Util/StringUtilsTest.php         |   61 +
 .../LegacyUserPasswordValidator2Dot4ApiTest.php |   26 +
 .../LegacyUserPasswordValidatorTest.php         |   26 +
 .../Constraints/UserPasswordValidatorTest.php   |  169 +
 .../Core/User/AdvancedUserInterface.php         |   87 +
 .../Security/Core/User/ChainUserProvider.php    |  100 +
 .../Security/Core/User/EquatableInterface.php   |   37 +
 .../Security/Core/User/InMemoryUserProvider.php |  102 +
 .../Component/Security/Core/User/User.php       |  115 +
 .../Security/Core/User/UserChecker.php          |   69 +
 .../Security/Core/User/UserCheckerInterface.php |   36 +
 .../Security/Core/User/UserInterface.php        |   87 +
 .../Core/User/UserProviderInterface.php         |   76 +
 .../Component/Security/Core/Util/ClassUtils.php |   65 +
 .../Security/Core/Util/SecureRandom.php         |  114 +
 .../Core/Util/SecureRandomInterface.php         |   29 +
 .../Security/Core/Util/StringUtils.php          |   66 +
 .../Core/Validator/Constraints/UserPassword.php |   32 +
 .../Constraints/UserPasswordValidator.php       |   54 +
 .../Component/Security/Core/composer.json       |   47 +
 .../Component/Security/Core/phpunit.xml.dist    |   33 +
 .../Symfony/Component/Translation/.gitignore    |    3 +
 .../Symfony/Component/Translation/CHANGELOG.md  |   34 +
 .../Translation/Catalogue/AbstractOperation.php |  146 +
 .../Translation/Catalogue/DiffOperation.php     |   49 +
 .../Translation/Catalogue/MergeOperation.php    |   45 +
 .../Catalogue/OperationInterface.php            |   63 +
 .../Translation/Dumper/CsvFileDumper.php        |   63 +
 .../Translation/Dumper/DumperInterface.php      |   31 +
 .../Component/Translation/Dumper/FileDumper.php |  122 +
 .../Translation/Dumper/IcuResFileDumper.php     |  112 +
 .../Translation/Dumper/IniFileDumper.php        |   45 +
 .../Translation/Dumper/JsonFileDumper.php       |   42 +
 .../Translation/Dumper/MoFileDumper.php         |   82 +
 .../Translation/Dumper/PhpFileDumper.php        |   40 +
 .../Translation/Dumper/PoFileDumper.php         |   61 +
 .../Translation/Dumper/QtFileDumper.php         |   50 +
 .../Translation/Dumper/XliffFileDumper.php      |   69 +
 .../Translation/Dumper/YamlFileDumper.php       |   39 +
 .../Exception/ExceptionInterface.php            |   23 +
 .../Exception/InvalidResourceException.php      |   23 +
 .../Exception/NotFoundResourceException.php     |   23 +
 .../Translation/Extractor/ChainExtractor.php    |   60 +
 .../Extractor/ExtractorInterface.php            |   38 +
 .../Translation/IdentityTranslator.php          |   77 +
 .../Symfony/Component/Translation/Interval.php  |  107 +
 .../Symfony/Component/Translation/LICENSE       |   19 +
 .../Translation/Loader/ArrayLoader.php          |   70 +
 .../Translation/Loader/CsvFileLoader.php        |   92 +
 .../Translation/Loader/IcuDatFileLoader.php     |   59 +
 .../Translation/Loader/IcuResFileLoader.php     |   89 +
 .../Translation/Loader/IniFileLoader.php        |   45 +
 .../Translation/Loader/JsonFileLoader.php       |   78 +
 .../Translation/Loader/LoaderInterface.php      |   42 +
 .../Translation/Loader/MoFileLoader.php         |  184 +
 .../Translation/Loader/PhpFileLoader.php        |   49 +
 .../Translation/Loader/PoFileLoader.php         |  177 +
 .../Translation/Loader/QtFileLoader.php         |   78 +
 .../Translation/Loader/XliffFileLoader.php      |  151 +
 .../Translation/Loader/YamlFileLoader.php       |   71 +
 .../dic/xliff-core/xliff-core-1.2-strict.xsd    | 2223 +++++++++
 .../Loader/schema/dic/xliff-core/xml.xsd        |  309 ++
 .../Component/Translation/MessageCatalogue.php  |  293 ++
 .../Translation/MessageCatalogueInterface.php   |  172 +
 .../Component/Translation/MessageSelector.php   |   90 +
 .../Translation/MetadataAwareInterface.php      |   54 +
 .../Translation/PluralizationRules.php          |  214 +
 .../Symfony/Component/Translation/README.md     |   37 +
 .../Tests/Catalogue/AbstractOperationTest.php   |   73 +
 .../Tests/Catalogue/DiffOperationTest.php       |   60 +
 .../Tests/Catalogue/MergeOperationTest.php      |   60 +
 .../Tests/Dumper/CsvFileDumperTest.php          |   33 +
 .../Translation/Tests/Dumper/FileDumperTest.php |   70 +
 .../Tests/Dumper/IcuResFileDumperTest.php       |   38 +
 .../Tests/Dumper/IniFileDumperTest.php          |   32 +
 .../Tests/Dumper/JsonFileDumperTest.php         |   36 +
 .../Tests/Dumper/MoFileDumperTest.php           |   31 +
 .../Tests/Dumper/PhpFileDumperTest.php          |   32 +
 .../Tests/Dumper/PoFileDumperTest.php           |   31 +
 .../Tests/Dumper/QtFileDumperTest.php           |   32 +
 .../Tests/Dumper/XliffFileDumperTest.php        |   39 +
 .../Tests/Dumper/YamlFileDumperTest.php         |   32 +
 .../Tests/IdentityTranslatorTest.php            |   95 +
 .../Translation/Tests/IntervalTest.php          |   48 +
 .../Tests/Loader/CsvFileLoaderTest.php          |   60 +
 .../Tests/Loader/IcuDatFileLoaderTest.php       |   68 +
 .../Tests/Loader/IcuResFileLoaderTest.php       |   55 +
 .../Tests/Loader/IniFileLoaderTest.php          |   50 +
 .../Tests/Loader/JsonFileLoaderTest.php         |   68 +
 .../Tests/Loader/LocalizedTestCase.php          |   22 +
 .../Tests/Loader/MoFileLoaderTest.php           |   60 +
 .../Tests/Loader/PhpFileLoaderTest.php          |   49 +
 .../Tests/Loader/PoFileLoaderTest.php           |   96 +
 .../Tests/Loader/QtFileLoaderTest.php           |   67 +
 .../Tests/Loader/XliffFileLoaderTest.php        |  130 +
 .../Tests/Loader/YamlFileLoaderTest.php         |   70 +
 .../Translation/Tests/MessageCatalogueTest.php  |  200 +
 .../Translation/Tests/MessageSelectorTest.php   |   98 +
 .../Tests/PluralizationRulesTest.php            |  123 +
 .../Translation/Tests/TranslatorTest.php        |  479 ++
 .../Tests/fixtures/empty-translation.po         |    3 +
 .../Translation/Tests/fixtures/empty.csv        |    0
 .../Translation/Tests/fixtures/empty.ini        |    0
 .../Translation/Tests/fixtures/empty.json       |    0
 .../Translation/Tests/fixtures/empty.mo         |    0
 .../Translation/Tests/fixtures/empty.po         |    0
 .../Translation/Tests/fixtures/empty.xlf        |    0
 .../Translation/Tests/fixtures/empty.yml        |    0
 .../Translation/Tests/fixtures/encoding.xlf     |   15 +
 .../Tests/fixtures/escaped-id-plurals.po        |   10 +
 .../Translation/Tests/fixtures/escaped-id.po    |    8 +
 .../Tests/fixtures/invalid-xml-resources.xlf    |   23 +
 .../Translation/Tests/fixtures/malformed.json   |    3 +
 .../Translation/Tests/fixtures/non-valid.xlf    |   11 +
 .../Translation/Tests/fixtures/non-valid.yml    |    1 +
 .../Translation/Tests/fixtures/plurals.mo       |  Bin 0 -> 74 bytes
 .../Translation/Tests/fixtures/plurals.po       |    5 +
 .../Translation/Tests/fixtures/resname.xlf      |   19 +
 .../resourcebundle/corrupted/resources.dat      |    1 +
 .../Tests/fixtures/resourcebundle/dat/en.res    |  Bin 0 -> 120 bytes
 .../Tests/fixtures/resourcebundle/dat/en.txt    |    3 +
 .../Tests/fixtures/resourcebundle/dat/fr.res    |  Bin 0 -> 124 bytes
 .../Tests/fixtures/resourcebundle/dat/fr.txt    |    3 +
 .../fixtures/resourcebundle/dat/packagelist.txt |    2 +
 .../fixtures/resourcebundle/dat/resources.dat   |  Bin 0 -> 352 bytes
 .../Tests/fixtures/resourcebundle/res/en.res    |  Bin 0 -> 84 bytes
 .../Tests/fixtures/resources-clean.xlf          |   19 +
 .../Translation/Tests/fixtures/resources.csv    |    4 +
 .../Translation/Tests/fixtures/resources.ini    |    1 +
 .../Translation/Tests/fixtures/resources.json   |    3 +
 .../Translation/Tests/fixtures/resources.mo     |  Bin 0 -> 52 bytes
 .../Translation/Tests/fixtures/resources.php    |    5 +
 .../Translation/Tests/fixtures/resources.po     |    8 +
 .../Translation/Tests/fixtures/resources.ts     |   10 +
 .../Translation/Tests/fixtures/resources.xlf    |   23 +
 .../Translation/Tests/fixtures/resources.yml    |    1 +
 .../Translation/Tests/fixtures/valid.csv        |    4 +
 .../Translation/Tests/fixtures/withdoctype.xlf  |   12 +
 .../Component/Translation/Translator.php        |  325 ++
 .../Translation/TranslatorInterface.php         |   75 +
 .../Translation/Writer/TranslationWriter.php    |   87 +
 .../Symfony/Component/Translation/composer.json |   40 +
 .../Component/Translation/phpunit.xml.dist      |   28 +
 3378 files changed, 406722 insertions(+), 46 deletions(-)
----------------------------------------------------------------------