Download the PHP package axinter/azureblobstorage without Composer

On this page you can find all versions of the php package axinter/azureblobstorage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package azureblobstorage

Azure Blob Storage for PHP

A modern PHP library for interacting with Azure Blob Storage, designed for seamless integration with Symfony and Laravel applications.

Features

Requirements

Installation

Install via Composer:

Configuration

Basic Setup

Create a configuration object using your Azure Storage connection string:

Azurite (Local Development)

Usage

Container Operations

File Operations

Upload Files

Download Files

File Management

List Files

Metadata

Version Control

The library includes custom version control for blob storage (particularly useful with Azurite which doesn't support native versioning):

Exception Handling

The library provides specific exceptions for different error scenarios:

API Reference

FileSystem Methods

Method Parameters Returns Description
write() string $path, string $contents bool Write content to a blob
read() string $path ?string Read blob content
delete() string $path bool Delete a blob
exists() string $path bool Check if blob exists
copy() string $source, string $dest bool Copy a blob
move() string $source, string $dest bool Move a blob
list() string $prefix = '' array List blobs with optional prefix
getSize() string $path ?int Get blob size in bytes
getMimeType() string $path ?string Get blob MIME type
getUrl() string $path string Get blob URL
writeStream() string $path, resource $stream bool Upload from stream
readStream() string $path resource\|null Download as stream
setMetadata() string $path, array $metadata bool Set blob metadata
getMetadata() string $path ?array Get blob metadata
listVersions() string $path array List all versions of a blob
getVersion() string $path, string $versionId ?string Get specific version content
restoreVersion() string $path, string $versionId bool Restore a previous version
deleteVersion() string $path, string $versionId bool Delete a specific version

Testing

Run the test suite:

License

MIT License - see LICENSE file for details

Author

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and feature requests, please use the GitHub issue tracker


All versions of azureblobstorage with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.0
azure-oss/storage Version ^1.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package axinter/azureblobstorage contains the following files

Loading the files please wait ...