Download the PHP package aternos/io without Composer

On this page you can find all versions of the php package aternos/io. 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 io

aternos/io

PHP library for IO operations.

The main goal of this library is to abstract IO operations to make different kind of IO elements, e.g. files and streams, interchangeable and allow writing code that doesn't depend on the filesystem, but feature interfaces that can be implemented for any kind of IO backend, e.g. network based storages.

Installation

Basic Usage

IO Elements

Name Class Description
File Aternos\IO\System\File\File Regular filesystem file
TempDiskFile Aternos\IO\System\File\TempDiskFile Temporary disk file, created and deleted automatically
TempMemoryFile Aternos\IO\System\File\TempMemoryFile Temporary file in memory
TempMemoryDiskFile Aternos\IO\System\File\TempMemoryDiskFile Temporary file in memory, moved to disk when size exceeds a threshold
Directory Aternos\IO\System\Directory\Directory Regular filesystem directory
TempDirectory Aternos\IO\System\Directory\TempDirectory Temporary directory, created and deleted automatically
FilteredDirectory Aternos\IO\System\Directory\FilteredDirectory Directory that filters its children
Link Aternos\IO\System\Link\Link Generic filesystem link
FileLink Aternos\IO\System\Link\FileLink Filesystem link to a file, can be used like a file
DirectoryLink Aternos\IO\System\Link\DirectoryLink Filesystem link to a directory, can be used like a directory
SocketStream Aternos\IO\System\Socket\Stream\SocketStream Stream for reading from and writing to sockets
SocketReadStream Aternos\IO\System\Socket\Stream\SocketReadStream Stream for read only sockets
SocketWriteStream Aternos\IO\System\Socket\Stream\SocketWriteStream Stream for write only sockets

You can get the correct IO element from a path using FilesystemElement::getIOElementFromPath().

Interfaces

You can and should use the provided interfaces when writing your code to make it more flexible and interchangeable.

The basic interface for all IO elements is Aternos\IO\Interfaces\IOElementInterface.

Feature Interfaces

The feature interfaces define specific features that an IO element can have, e.g. reading or writing. You should limit the required type in your code to the specific features that you need. All feature interfaces are listed here: src/Interfaces/Features.

Example

Type Interfaces

For convenience, this library also provides type interfaces that combine multiple feature interfaces for common IO elements. All type interfaces are listed here: src/Interfaces/Types.


All versions of io with dependencies

PHP Build Version
Package Version
Requires php Version >=8.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 aternos/io contains the following files

Loading the files please wait ....