{"id":36988493,"url":"https://github.com/openbuckets/openbuckets-sdk-php","last_synced_at":"2026-01-13T23:26:08.288Z","repository":{"id":187537910,"uuid":"677076553","full_name":"openbuckets/openbuckets-sdk-php","owner":"openbuckets","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-12T04:12:43.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-24T21:53:14.092Z","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/openbuckets.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}},"created_at":"2023-08-10T17:19:34.000Z","updated_at":"2023-10-29T05:47:42.000Z","dependencies_parsed_at":"2023-08-11T00:28:24.619Z","dependency_job_id":"815c7824-e974-40c0-b45c-bf4ade6ee47a","html_url":"https://github.com/openbuckets/openbuckets-sdk-php","commit_stats":null,"previous_names":["openbuckets/sdk-php","openbuckets/openbuckets-sdk-php"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/openbuckets/openbuckets-sdk-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbuckets%2Fopenbuckets-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbuckets%2Fopenbuckets-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbuckets%2Fopenbuckets-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbuckets%2Fopenbuckets-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openbuckets","download_url":"https://codeload.github.com/openbuckets/openbuckets-sdk-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbuckets%2Fopenbuckets-sdk-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-13T23:26:07.370Z","updated_at":"2026-01-13T23:26:08.279Z","avatar_url":"https://github.com/openbuckets.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openbuckets\n\nThe [OpenBuckets](https://openbuckets.io) web-based tool is a powerful utility that allows users to quickly locate [open buckets in cloud storage systems through a simple query](https://openbuckets.io). In addition, it provides a convenient way to search for various file types across these open buckets, making it an essential tool for security professionals, researchers, and anyone interested in discovering exposed data.\nThis Postman collection aims to showcase the capabilities of OpenBuckets by providing a set of API requests that demonstrate how to leverage its features. By following this collection, you'll learn how to utilize OpenBuckets to identify open buckets and search for specific file types within them.\n\n\n## Installation \u0026 Usage\n\n### Requirements\n\nPHP 7.4 and later.\nShould also work with PHP 8.0.\n\n### Composer\n\nTo install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:\n\n```\ncomposer require openbuckets/sdk-php\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n\u003c?php\nrequire_once('/path/to/openbuckets/vendor/autoload.php');\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n// Configure Bearer authorization: bearerAuth\n$config = OpenAPI\\Client\\Configuration::getDefaultConfiguration()-\u003esetAccessToken('YOUR_ACCESS_TOKEN');\n\n\n$apiInstance = new OpenAPI\\Client\\Api\\BucketsApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$keywords = abg; // string | the search keywords to filter bucket names (e.g., \\\"abg\\\")\n$type = aws; // string | the type of bucket to filter (e.g., aws,dos,azure,gcp)\n$exact = 0; // string | whether to perform an exact match for the keywords (0 for false, 1 for true)\n$start = 0; // string | starting index for pagination\n$limit = 1000; // string | number of search results to return per page\n$order = fileCount; // string | the sorting field for the search results (e.g., \\\"fileCount\\\" for sorting by file count)\n$direction = asc; // string | the sorting direction for the search results (e.g., \\\"asc\\\" for ascending)\n\ntry {\n    $result = $apiInstance-\u003esearchBuckets($keywords, $type, $exact, $start, $limit, $order, $direction);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling BucketsApi-\u003esearchBuckets: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n```\n\n## API Endpoints\n\nAll URIs are relative to *https://api.openbuckets.io*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*BucketsApi* | [**searchBuckets**](docs/Api/BucketsApi.md#searchbuckets) | **GET** /api/v2/buckets | Search Buckets\n*FilesApi* | [**searchFiles**](docs/Api/FilesApi.md#searchfiles) | **GET** /api/v2/files | Search Files\n\n## Models\n\n- [Bucket](docs/Model/Bucket.md)\n- [BucketSearchResults](docs/Model/BucketSearchResults.md)\n- [File](docs/Model/File.md)\n- [FileSearchResults](docs/Model/FileSearchResults.md)\n\n## Authorization\n\nAuthentication schemes defined for the API:\n### bearerAuth\n\n- **Type**: Bearer authentication\n\n## Tests\n\nTo run the tests, use:\n\n```bash\ncomposer install\nvendor/bin/phpunit\n```\n\n## Author\nOpenBuckets","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbuckets%2Fopenbuckets-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbuckets%2Fopenbuckets-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbuckets%2Fopenbuckets-sdk-php/lists"}