Download the PHP package tobento/service-file-storage without Composer

On this page you can find all versions of the php package tobento/service-file-storage. 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 service-file-storage

File Storage Service

File storage interface for PHP applications using Flysystem as default implementation.

Table of Contents

Getting started

Add the latest version of the file storage service project running this command.

Requirements

Highlights

Documentation

Create Storage

Check out the Available Storages section to create storages.

File

Write File

supported content

File Exists

Returns if file exists, otherwise .

Retrieve File

Use the with method to retrieve specific file attributes. Check out the Available File Attributes for more detail.

Check out the File Interface to learn more about it.

Retrieve Files

Use the with method to retrieve specific file attributes. Check out the Available File Attributes for more detail.

Check out the Files Interface to learn more about it.

Delete File

Move File

Copy File

Available File Attributes

Check out the File Interface to learn more about it.

Folder

Create Folder

Folder Exists

Returns if folder exists, otherwise .

Retrieve Folders

Check out the Folders Interface to learn more about it.

Delete Folder

Deleting a folder will delete the specified folder and all of its files.

Visibility

Set Visibility

Storages

Create Storages

Add Storages

add

register

You may use the register method to only create the storage if requested.

Get Storage

If the storage does not exist or could not get created it throws a StorageException.

You may use the method to check if a storage exists.

Default Storages

You may add default storages for your application design.

Available Storages

Flysystem Storage

Check out the League Flysystem to learn more about it.

Null Storage

Read Only Storage Adapter

Any storage implementing the can be made read-only by decorating them using the :

Interfaces

Storage Factory Interface

You may use the storage factory interface for creating storages.

Storage Interface

All methods from:

name

Returns the storage name.

Storages Interface

All methods from:

File Interface

Methods

Files Interface

filter

Returns a new instance with the filtered files.

sort

Returns a new instance with the files sorted.

all

Returns all files.

Folder Interface

Methods

Folders Interface

filter

Returns a new instance with the filtered folders.

sort

Returns a new instance with the folders sorted.

first

Returns the first folder or null if none.

get

Returns the folder by path or null if not exists.

all

Returns all folders.

Credits


All versions of service-file-storage with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0
tobento/service-iterable Version ^1.0
tobento/service-filesystem Version ^1.0
league/flysystem Version ^3.0
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 tobento/service-file-storage contains the following files

Loading the files please wait ....