{"id":16897753,"url":"https://github.com/endroid/teleporter","last_synced_at":"2025-04-11T13:51:57.159Z","repository":{"id":56977730,"uuid":"151155873","full_name":"endroid/teleporter","owner":"endroid","description":"Copies files from one location to another while filtering the file contents based on specified modules","archived":false,"fork":false,"pushed_at":"2023-11-07T13:10:06.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-14T17:39:32.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://endroid.nl/","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/endroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"endroid"}},"created_at":"2018-10-01T20:36:55.000Z","updated_at":"2023-11-09T16:28:33.000Z","dependencies_parsed_at":"2024-10-26T03:36:24.362Z","dependency_job_id":"ddb71ced-15d2-4826-aad4-2faea5f2f03c","html_url":"https://github.com/endroid/teleporter","commit_stats":{"total_commits":67,"total_committers":2,"mean_commits":33.5,"dds":0.04477611940298509,"last_synced_commit":"6f53522d2f78de06b59e4bd72fa599d68d76568c"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fteleporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fteleporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fteleporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fteleporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endroid","download_url":"https://codeload.github.com/endroid/teleporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248411971,"owners_count":21099036,"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":[],"created_at":"2024-10-13T17:39:39.807Z","updated_at":"2025-04-11T13:51:57.135Z","avatar_url":"https://github.com/endroid.png","language":"PHP","funding_links":["https://github.com/sponsors/endroid"],"categories":[],"sub_categories":[],"readme":"# Teleporter\n\n*By [endroid](https://endroid.nl/)*\n\n[![Latest Stable Version](http://img.shields.io/packagist/v/endroid/teleporter.svg)](https://packagist.org/packages/endroid/teleporter)\n[![Build Status](https://github.com/endroid/teleporter/workflows/CI/badge.svg)](https://github.com/endroid/teleporter/actions)\n[![Total Downloads](http://img.shields.io/packagist/dt/endroid/teleporter.svg)](https://packagist.org/packages/endroid/teleporter)\n[![License](http://img.shields.io/packagist/l/endroid/teleporter.svg)](https://packagist.org/packages/endroid/teleporter)\n\nCopies files from one location to another while filtering the file contents\nand directories based on a list of component names to include. This allows you\nto have one single generic source for building many project variants with any\ncombination of components.\n\n## Installation\n\nUse [Composer](https://getcomposer.org/) to install the library.\n\n``` bash\ncomposer require endroid/teleporter\n```\n\nWhen you use Symfony, the [installer](https://github.com/endroid/installer)\nmakes sure that services are automatically wired. If this is not the case you\ncan find the configuration files in the `.install/symfony` folder.\n\n## Usage\n\nYou can specify sections to include or exclude using ### condition ### tags. For\ninstance when we desire JWT we need to retrieve a token before performing an API call.\n\n``` php\nFeature: API Access\n  In order to access protected resource\n  As an API client\n  I need to be able to connect\n\n  Scenario: Perform API call\n    {## if jwt ##}\n    Given I retrieve a JWT token for user \"admin\"\n    {## endif ##}\n    And I send a GET request to \"api/examples\"\n    Then the response should be in JSON\n```\n\nFor the example given above we would perform the following call to copy the\nproject files including all JWT related code. If we omit the jwt parameter, the\nfiles are copied without the sections marked for JWT.\n\n``` bash\nvendor/bin/teleport development project jwt\n```\n\nIn general the teleport command requires the following parameters.\n\n``` bash\nvendor/bin/teleport \u003csource_path\u003e \u003ctarget_path\u003e \u003ccomponents\u003e\n```\n\n## Versioning\n\nVersion numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatible\nchanges will be kept to a minimum but be aware that these can occur. Lock\nyour dependencies for production and test your code when upgrading.\n\n## License\n\nThis bundle is under the MIT license. For the full copyright and license\ninformation please view the LICENSE file that was distributed with this source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fteleporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendroid%2Fteleporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fteleporter/lists"}