{"id":15162472,"url":"https://github.com/liip/liipsoaprecorderbundle","last_synced_at":"2025-09-30T16:31:27.744Z","repository":{"id":5789909,"uuid":"7004116","full_name":"liip/LiipSoapRecorderBundle","owner":"liip","description":"[DEPRECATED] Recorder/Player for SOAP communications ","archived":true,"fork":false,"pushed_at":"2017-12-05T09:37:38.000Z","size":56,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-06T15:49:10.956Z","etag":null,"topics":["bundle","php","soap","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-04T17:40:08.000Z","updated_at":"2023-01-28T21:24:07.000Z","dependencies_parsed_at":"2022-08-22T09:31:33.836Z","dependency_job_id":null,"html_url":"https://github.com/liip/LiipSoapRecorderBundle","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liip%2FLiipSoapRecorderBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liip%2FLiipSoapRecorderBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liip%2FLiipSoapRecorderBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liip%2FLiipSoapRecorderBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liip","download_url":"https://codeload.github.com/liip/LiipSoapRecorderBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234753641,"owners_count":18881428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","php","soap","symfony","symfony-bundle"],"created_at":"2024-09-27T01:43:52.249Z","updated_at":"2025-09-30T16:31:27.457Z","avatar_url":"https://github.com/liip.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"UNMAINTAINED\n============\n\nThis bundle is no longer maintained. Feel free to fork it if needed.\n\nLiipSoapRecorderBundle [![Build Status](https://secure.travis-ci.org/liip/LiipSoapRecorderBundle.png?branch=master)](https://travis-ci.org/liip/LiipSoapRecorderBundle)\n======================\n\nThis bundle provide an easy way to record SOAP communications. Typical usage could be:\n\n * Generating a set of fixtures for functional test writing\n * Recording a scenario and being able to replay it\n * Mocking the webservice to work offline\n * ...\n\nInstallation\n------------\n\n 1. Install this bundle like any other SF2 bundle (Composer or git submodule install + Enable it in the kernel)\n 1. Replace the base class SoapClient by the new Liip\\SoapRecorderBundle\\Client\\RecordableSoapClient\n\n\nConfiguration\n-------------\n\nBy default the bundle does nothing, to activate it, you just need to configure it:\n\n```\nliip_soap_recorder:\n    record:          true                 # boolean, activate or not the recording\n    fetching_mode:   local_first          # can be remote, local_first or local_only\n    request_folder:  /tmp/soap_request    # where to store the XML request\n    response_folder: /tmp/soap_response   # where to store the XML response\n    wsdl_folder:     /tmp/soap_wsdl       # where to store the WSDL of the webservice\n    enable_profiler: true                 # boolean, active or not the profiler\n    die_on_error:    false\n```\n\nUsage\n-----\n\nTo use the bundle, you can play with some config parameters:\n\n * **record** can be set to\n   * *true*: to start communication recording\n   * *false*: to stop it\n * **fetching_mode** can be set to:\n   * *remote*: Always fetch response from the WebService\n   * *local_only*: Always fetch response from the local recording\n   * *local_first*: Try to fetch locally, and if not recorded yet, fetch to the WebService\n * **enable_profiler** can be set to:\n   * *true*: to display SOAP records in the Symfony2 Profiler. It will delete the recorded files from the directories.\n   * *false*: to keep the files in the directories without using the Symfony2 Profiler.\n * **die_on_error** can be used to define the behaviour in case you are in local_only and a record is missing:\n  * false:  Normal behavior, will throw an exception\n  * true:   Will die() with an explicit message, this is useful on Symfony2 where sometimes the\n            generated exception is replace by an AccessDeniedException who masked the original one\n\n\n\n\nUsage outside Symfony2\n----------------------\n\nThe heart of the bundle is the class Liip\\SoapRecorderBundle\\Client\\RecordableSoapClient. This class is\n independent, so you can use it outside of the Bundle, in any PHP 5.3 project:\n\n 1. Replace your base class SoapClient by the new Liip\\SoapRecorderBundle\\Client\\RecordableSoapClient\n 1. Start recording by calling:\n\n```\n   RecordableSoapClient::setRecordFolders('/tmp/request', '/tmp/response', '/tmp/wsdl');\n   RecordableSoapClient::startRecording();\n   // Call your webservice like usual`\n```\n\n1. Start playing your records\n\n```\n   RecordableSoapClient::setFetchingMode(RecordableSoapClient::FETCHING_LOCAL_FIRST);\n   // Call your webservice like usual\n```\n\n\nContributing\n------------\nIf you would like to contribute, just go on the project page: https://github.com/liip/LiipSoapRecorderBundle, fork it\nand providing PRs.\n\nThis project comes with a functional test suite, just read the Tests/README.md for more information.\n\nTravis CI is also running for continuous integration tests: [![Build Status](https://secure.travis-ci.org/liip/LiipSoapRecorderBundle.png?branch=master)](https://travis-ci.org/liip/LiipSoapRecorderBundle)\n\nRequirements\n------------\n\nPHP 5.3\n\n\nAuthors\n-------\n\n- Pierre Vanhulst - Liip SA \u003cpierre.vanhulst@liip.ch\u003e\n- David Jeanmonod - Liip SA \u003cdavid.jeanmonod@liip.ch\u003e\n\n\nLicense\n-------\n\nLiipSoapRecorderBundle is licensed under the MIT License - see the LICENSE file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliip%2Fliipsoaprecorderbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliip%2Fliipsoaprecorderbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliip%2Fliipsoaprecorderbundle/lists"}