Download the PHP package innmind/operating-system without Composer

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

OperatingSystem

Build Status codecov Type Coverage

Abstraction for most of the operating system the PHP code run on.

The goal is to deal with the operating system in a more abstract way (instead of dealing with concrete, low level, details).

[!IMPORTANT] you must use vimeo/psalm to make sure you use this library correctly.

Installation

Documentation

Documentation is located in the documentation/ folder.

Usage

Want to access the system clock ?

$os->clock() will return an instance of Innmind\TimeContinuum\Clock.

Want to access the filesystem ?

$adater is an instance of Innmind\Filesystem\Adapter.

Want to list processes running on the system ?

$os->status()->processes()->all() will return a map of Inmmind\Immutable\Set<Innmind\Server\Status\Server\Process>.

Want to run a command on the system ?

$process is an instance of Innmind\Server\Control\Server\Process.

Want to open a port to the outside world ?

$server is an instance of Innmind\Socket\Server.

Want to open a local socket ?

$server is an instance of Innmind\Socket\Server.

$client is an instance of Innmind\Socket\Client.

Want to execute commands on a remote server ?

$process is an instance of Innmind\Server\Control\Server\Process.

Want to do a http call ?

Want to access current process id ?

Want to pause the current process ?

Want to listen for a signal ?


All versions of operating-system with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2
innmind/time-continuum Version ~3.0
innmind/server-status Version ~4.0
innmind/server-control Version ~5.0
innmind/filesystem Version ~7.1
innmind/socket Version ~6.0
innmind/http-transport Version ~7.2
innmind/time-warp Version ~3.0
innmind/signals Version ~3.0
innmind/file-watch Version ~4.0
innmind/stream Version ~4.0
formal/access-layer Version ~4.0
innmind/io Version ~2.7
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 innmind/operating-system contains the following files

Loading the files please wait ....