{"id":15726667,"url":"https://github.com/grasmash/drupal-alt-stream-wrappers","last_synced_at":"2025-03-31T01:41:06.754Z","repository":{"id":66224310,"uuid":"212240397","full_name":"grasmash/drupal-alt-stream-wrappers","owner":"grasmash","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-02T14:14:21.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"8.x-1.x","last_synced_at":"2025-02-06T06:49:49.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grasmash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-10-02T02:31:22.000Z","updated_at":"2019-10-02T14:14:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"557c0866-73c2-4de3-9b9d-e2b3f9de7e4e","html_url":"https://github.com/grasmash/drupal-alt-stream-wrappers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fdrupal-alt-stream-wrappers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fdrupal-alt-stream-wrappers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fdrupal-alt-stream-wrappers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grasmash%2Fdrupal-alt-stream-wrappers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grasmash","download_url":"https://codeload.github.com/grasmash/drupal-alt-stream-wrappers/tar.gz/refs/heads/8.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403893,"owners_count":20771526,"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-03T22:40:17.892Z","updated_at":"2025-03-31T01:41:06.719Z","avatar_url":"https://github.com/grasmash.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This module creates a second, alternative stream wrapper for temporary files.\n\nAfter installing this module, you will have both `temporary://` and `alttemporary://` streams\navailable.\n\n# Why might I need Alternative Stream Wrappers?\n\nSome hosting configurations with multiple webservers use a mix of\nfilesystems local to each webserver and storage which is shared between the \nwebs (e.g. using nfs or gluster).\n\nIt can sometimes be useful to, for example, use fast local storage for temp\nfiles wherever possible, but shared storage where the webs might need to\nshare access to the same set of temporary files. \n\nThe views_data_export module is a good example of where shared temp storage\nis useful. See: \u003chttps://drupal.org/node/1782038\u003e\n\nThis simple module allows Drupal to keep using the built-in stream wrappers \n but also have the use of an alternative, shared temporary directory.\n\nUsing Alternative Stream Wrappers\n=================================\n\n1. Set a path for the `alttemporary://` stream wrapper.\n\nThere are a few ways to do this:\n\n* Via the UI at /admin/config/media/file-system.\n* Via `drush config:set alt_stream_wrappers.settings path.temporary '/mnt/nfs/tmp' -y`\n* Via settings.php `$config['alt_stream_wrappers.settings']['path']['temporary'] = '/tmp';`\n\n2. Take advantage of this new stream wrapper by using the `alttemporary://` stream. E.g., configure DropzoneJS to use `alttemporary://` for temporary storage via `drush config:set dropzonejs.settings tmp_upload_scheme alttemporary`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrasmash%2Fdrupal-alt-stream-wrappers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrasmash%2Fdrupal-alt-stream-wrappers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrasmash%2Fdrupal-alt-stream-wrappers/lists"}