Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 20, 2024 via composer

superbalist/flysystem-google-storage 7.2.2

Flysystem adapter for Google Cloud Storage
Package summary
Share
0
issues
3
licenses
16
MIT
6
Apache-2.0
3
BSD-3-Clause
Package created
16 Oct 2015
Version published
10 Oct 2019
Maintainers
1
Total deps
25
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
brick/math@0.12.1
guzzlehttp/guzzle@7.8.1
guzzlehttp/promises@2.0.2
guzzlehttp/psr7@2.6.2
league/flysystem@1.1.10
league/mime-type-detection@1.15.0
monolog/monolog@3.6.0
psr/cache@3.0.0
psr/http-client@1.0.3
psr/http-factory@1.1.0
psr/log@3.0.0
ralouphie/getallheaders@3.0.3
ramsey/collection@2.0.0
ramsey/uuid@4.7.6
superbalist/flysystem-google-storage@7.2.2
symfony/deprecation-contracts@v3.5.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
6 Packages, Including:
google/auth@v1.39.0
google/cloud-core@v1.58.1
google/cloud-storage@v1.42.0
google/common-protos@v4.6.0
google/grpc-gcp@v0.4.0
grpc/grpc@1.57.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
firebase/php-jwt@v6.10.1
google/gax@v1.33.0
google/protobuf@v4.26.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of superbalist/flysystem-google-storage 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
google/cloud-storagev1.42.0-Apache-2.0
prod
league/flysystem1.1.10-MIT
prod

Visualizations

Frequently Asked Questions

What does superbalist/flysystem-google-storage do?

The PHP package 'superbalist/flysystem-google-storage' is a powerful utility that serves as an adapter for Google Cloud Storage. It is designed to work seamlessly with Flysystem, a popular PHP filesystem abstraction tool. This package offers functionalities that enable PHP developers to interact with Google Cloud Storage, performing operations like creating, reading, updating, and deleting files easily.

How do you use superbalist/flysystem-google-storage?

To utilize the 'superbalist/flysystem-google-storage' in your PHP program, you first need to install it using the Composer command:

composer require superbalist/flysystem-google-storage

Following the successful installation, you will need to import the required classes in your PHP file:

use Google\Cloud\Storage\StorageClient;
use League\Flysystem\Filesystem;
use Superbalist\Flysystem\GoogleStorage\GoogleStorageAdapter;

Next, you will set up the storage client and specify the Google Cloud project ID and the bucket you want to interact with:

$storageClient = new StorageClient([
    'projectId' => 'your-project-id',
]);
$bucket = $storageClient->bucket('your-bucket-name');
$adapter = new GoogleStorageAdapter($storageClient, $bucket);
$filesystem = new Filesystem($adapter);

Now that you've set up the filesystem, you can perform various operations like writing, reading, updating files, and more:

// write a file
$filesystem->write('path/to/file.txt', 'contents');

A full list of available operations can be found on the Flysystem API documentations.

Where are the superbalist/flysystem-google-storage docs?

The documentation for the 'superbalist/flysystem-google-storage' package is found on its GitHub page. It is inclusive of detailed instructions on how to set up and use the different features offered by the package. The documentation also provides code snippets that help users to better understand and implement the package's functionalities. The API documentation for Flysystem, which this package is designed to work with, is also available at http://flysystem.thephpleague.com/api/.