{"id":20583737,"url":"https://github.com/mzur/laravel-openstack-swift","last_synced_at":"2025-04-14T20:32:51.346Z","repository":{"id":28997070,"uuid":"119953488","full_name":"mzur/laravel-openstack-swift","owner":"mzur","description":"OpenStack Swift storage driver for Laravel/Lumen","archived":false,"fork":false,"pushed_at":"2023-11-21T07:55:31.000Z","size":40,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T08:51:12.506Z","etag":null,"topics":["flysystem","laravel","openstack-swift"],"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/mzur.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-02-02T08:19:55.000Z","updated_at":"2024-01-30T11:24:39.000Z","dependencies_parsed_at":"2022-07-26T04:02:24.516Z","dependency_job_id":null,"html_url":"https://github.com/mzur/laravel-openstack-swift","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzur%2Flaravel-openstack-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzur%2Flaravel-openstack-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzur%2Flaravel-openstack-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzur%2Flaravel-openstack-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mzur","download_url":"https://codeload.github.com/mzur/laravel-openstack-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505863,"owners_count":21115354,"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":["flysystem","laravel","openstack-swift"],"created_at":"2024-11-16T06:43:31.229Z","updated_at":"2025-04-14T20:32:51.318Z","avatar_url":"https://github.com/mzur.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel OpenStack Swift\n\nOpenStack Swift storage driver for Laravel/Lumen.\n\n## Installation\n\nRequire the package with Composer:\n\n```\ncomposer require mzur/laravel-openstack-swift\n```\n\n### Laravel\n\nThis package is auto-discovered.\n\n### Lumen\n\nAdd the service provider to `bootstrap/app.php`:\n```php\n$app-\u003eregister(Mzur\\Filesystem\\SwiftServiceProvider::class);\n```\n\n## Configuration\n\nAdd a new storage disk to `config/filesystems.php` (using v3 of the identity API):\n\n```php\n'disks' =\u003e [\n   'openstack' =\u003e [\n      'driver'    =\u003e 'swift',\n      'authUrl'   =\u003e env('OS_AUTH_URL', ''),\n      'region'    =\u003e env('OS_REGION_NAME', ''),\n      'user'      =\u003e env('OS_USERNAME', ''),\n      'domain'    =\u003e env('OS_USER_DOMAIN_NAME', 'default'),\n      'password'  =\u003e env('OS_PASSWORD', ''),\n      'container' =\u003e env('OS_CONTAINER_NAME', ''),\n   ],\n]\n```\n\nAdditional configuration options:\n\n- `projectId` (default: `null`) if you want to scope access to a specific project\n\n- `debugLog` (default: `false`), `logger` (default: `null`), `messageFormatter` (default: `null`) [[ref]](https://github.com/php-opencloud/openstack/issues/47#issuecomment-208181121)\n\n- `requestOptions` (default: `[]`) [[ref]](https://github.com/php-opencloud/openstack/pull/63#issue-74731062)\n\n- `swiftLargeObjectThreshold` [[ref]](https://github.com/mzur/flysystem-openstack-swift#configuration)\n\n- `swiftSegmentSize` [[ref]](https://github.com/mzur/flysystem-openstack-swift#configuration)\n\n- `swiftSegmentContainer` [[ref]](https://github.com/mzur/flysystem-openstack-swift#configuration)\n\n- `root` (default: `null`): Prefix to use for the names of the objects in the container.\n\n- `url` (default: `null`): Override URL to use for public URLs to objects. If this is not set, the public URL will point to the public URL of Swift. This configuration is useful if you use a reverse proxy to pass through requests to public Swift containers.\n\n- `tempUrlKey`: The account or container level key for [temporary URLs](https://docs.openstack.org/swift/latest/api/temporary_url_middleware.html). If set, support for [temporary URLs](https://laravel.com/docs/master/filesystem#temporary-urls) is automatically enabled for the storage disk.\n\n- `ttl`: Override the duration the OpenStack authentication token should be cached (in seconds). Values that are longer than the `expires_at` of the token are ignored.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzur%2Flaravel-openstack-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmzur%2Flaravel-openstack-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzur%2Flaravel-openstack-swift/lists"}