Please see our Debugging guide
for more information about the debugging tools.
Version
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in
any minor or patch releases. We will address issues and requests with the highest priority.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-storage-control/latest)\n- [1.4.0](/php/docs/reference/cloud-storage-control/1.4.0)\n- [1.3.0](/php/docs/reference/cloud-storage-control/1.3.0)\n- [1.1.0](/php/docs/reference/cloud-storage-control/1.1.0)\n- [1.0.3](/php/docs/reference/cloud-storage-control/1.0.3)\n- [0.2.1](/php/docs/reference/cloud-storage-control/0.2.1)\n- [0.1.1](/php/docs/reference/cloud-storage-control/0.1.1) \n\nGoogle Cloud Storage Control for PHP\n====================================\n\n\u003e Idiomatic PHP client for [Google Cloud Storage Control](https://cloud.google.com/storage).\n\n[](https://packagist.org/packages/google/cloud-storage-control) [](https://packagist.org/packages/google/cloud-storage-control)\n\n**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any\nsupport requests, bug reports, or development contributions should be directed to\nthat project.\n\n### Installation\n\nTo begin, install the preferred dependency manager for PHP, [Composer](https://getcomposer.org/).\n\nNow, install this component: \n\n $ composer require google/cloud-storage-control\n\n\u003e Browse the complete list of [Google Cloud APIs](https://cloud.google.com/php/docs/reference)\n\u003e for PHP\n\nThis component requires the gRPC extension. Please see our [gRPC installation guide](https://cloud.google.com/php/grpc)\nfor more information on how to configure the extension.\n\n### Authentication\n\nPlease see our [Authentication guide](https://github.com/googleapis/google-cloud-php/blob/main/AUTHENTICATION.md) for more information\non authenticating your client. Once authenticated, you'll be ready to start making requests.\n\n### Sample\n\n Google\\ApiCore\\ApiException;\n Google\\Cloud\\Storage\\Control\\V2\\Client\\StorageControlClient;\n Google\\Cloud\\Storage\\Control\\V2\\Folder;\n Google\\Cloud\\Storage\\Control\\V2\\GetFolderRequest;\n\n // Create a client.\n $storageControlClient = new StorageControlClient();\n\n // Prepare the request message.\n $request = (new GetFolderRequest())\n -\u003esetName($formattedName);\n\n // Call the API and handle any network failures.\n try {\n /** @var Folder $response */\n $response = $storageControlClient-\u003egetFolder($request);\n printf('Response data: %s' . PHP_EOL, $response-\u003eserializeToJsonString());\n } catch (ApiException $ex) {\n printf('Call failed with message: %s' . PHP_EOL, $ex-\u003egetMessage());\n }\n\nSee the [samples directory](https://github.com/googleapis/google-cloud-php-storage-control/tree/main/samples) for a canonical list of samples.\n\n### Debugging\n\nPlease see our [Debugging guide](https://github.com/googleapis/google-cloud-php/blob/main/DEBUG.md)\nfor more information about the debugging tools.\n\n### Version\n\nThis component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in\nany minor or patch releases. We will address issues and requests with the highest priority.\n\n### Next Steps\n\n1. Understand the [official documentation](https://cloud.google.com/storage/docs/overview)."]]