{"id":27646038,"url":"https://github.com/in2code-de/in2connector","last_synced_at":"2025-06-14T10:36:53.917Z","repository":{"id":56990698,"uuid":"116234103","full_name":"in2code-de/in2connector","owner":"in2code-de","description":"Enterprise Level Connection Manager for LDAP, SOAP etc.","archived":false,"fork":false,"pushed_at":"2019-06-06T09:08:52.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T01:15:59.080Z","etag":null,"topics":["ad","backend","connection","driver","extbase","extbase-storage","interface","ldap","sap","soap","storage","typo3","vd"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/in2code-de.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-01-04T08:20:09.000Z","updated_at":"2019-05-07T09:43:14.000Z","dependencies_parsed_at":"2022-08-21T10:10:52.735Z","dependency_job_id":null,"html_url":"https://github.com/in2code-de/in2connector","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in2code-de","download_url":"https://codeload.github.com/in2code-de/in2connector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250540936,"owners_count":21447428,"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":["ad","backend","connection","driver","extbase","extbase-storage","interface","ldap","sap","soap","storage","typo3","vd"],"created_at":"2025-04-24T01:16:01.548Z","updated_at":"2025-04-24T01:16:02.170Z","avatar_url":"https://github.com/in2code-de.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# in2connector - Manage connections\n\nin2connector is a TYPO3 extension to simplify your everyday life with any kind of connection.\nThis extension provides two kinds of drivers to ease access to a resource. These are LDAP and SOAP.\nThese drivers wrap around your connection to A/D / LDAP / SAP and other kinds of API provider.\n\nTo begin with in2connector you simply require a connection with an identifier and the type of connection:\n\next_localconf.php:\n```\n$connectionRegistry = \\TYPO3\\CMS\\Core\\Utility\\GeneralUtility::makeInstance(\n    \\In2code\\In2connector\\Registry\\ConnectionRegistry::class\n);\n$connectionRegistry-\u003edemandConnection('myExtension|connectionPurpose', TX_IN2CONNECTOR_DRIVER_LDAP);\n```\n\nHint: You can use any string for the connection identifier.\n\nThe go to your backend into the in2connector module and click an \"add connection\" to configure your connection.\nSave your changes and close the settings form to go back to the connections overview.\nNow you will see a little icon indicating the status of your connection and if it is erroneous it will also display an error message.\n\nYou can now use the connection's driver to search, modify, add and delete entries.\n\nPersonRepository.php:\n\n```\nuse In2code\\In2connector\\Driver\\LdapDriver;\nuse In2code\\In2connector\\Service\\ConnectionService;\nuse TYPO3\\CMS\\Core\\Utility\\GeneralUtility;\n\nclass PersonRepository\n{\n    /**\n     * @var LdapDriver\n     */\n    protected $driver = null;\n\n    /**\n     * PersonRepository constructor.\n     */\n    public function __construct()\n    {\n        $this-\u003edriver = GeneralUtility::makeInstance(ConnectionService::class)-\u003egetDriverInstanceIfAvailable('asd');\n    }\n\n    public function findAll()\n    {\n        return $this-\u003edriver-\u003esearchAndGetResults('', 'objectClass=*');\n    }\n}\n```\n\nYou can, of course, register your own drivers (Rest-API with JSON or XML for example).\nHave a look at the registration of the shipped drivers to get the idea.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Fin2connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin2code-de%2Fin2connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Fin2connector/lists"}