Download the PHP package skocic/server-farm without Composer
On this page you can find all versions of the php package skocic/server-farm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download skocic/server-farm
More information about skocic/server-farm
Files in skocic/server-farm
Download skocic/server-farm
More information about skocic/server-farm
Files in skocic/server-farm
Vendor skocic
Package server-farm
Short Description Simulation of allocation of servers and virtual machines in a server farm
License MIT
Package server-farm
Short Description Simulation of allocation of servers and virtual machines in a server farm
License MIT
Please rate this library. Is it a good library?
Informations about the package server-farm
Server Farm
Simulation of allocation of servers and virtual machines in a server farm
Installation
Installed with Composer. Run this command:
Usage
Usage can be seen from tests.
In essence we create a ServerFarm object by specifying maximum server specs(cpu, ram and hdd size).
We create an array of Virtual machines and store them (bigger than maximum are skipped) with storeVmachines,
and then we:
- read the array of allocated machines with
getServers() - get the count with
count() - see detailed allocation list with
toString()
Tests
- Composer is a prerequisite for running the tests. Install composer globally, then run
composer installto install required files. - The tests can be executed by running this command from the root directory:
Contributing
Please see CONTRIBUTING for details.
License
Please see the license file for more information.
All versions of server-farm with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package skocic/server-farm contains the following files
Loading the files please wait ...
