Compiling Skynet sources into standalone

The main idea of Skynet is to use single standalone easy to move files as clusters. Sources placed in /src folder should be compiled via built-in compile script and only compiled clusters should be used.
Of course, you can use non-compiled versions but that is not idea of this framework.

To compile all sources (including your custom listeners and classes) into single standalone cluster just launch:


from your browser or CLI Mode.
This will compile all sources from /src into /_compiled folder.
The name of the compiled file will be:


Compiled version includes all required classes and is ready to use.
You can specify compiler output directory in:


You can also compile sources from any cluster when you launching Skynet in CLI mode:

php skynet.php -compile
Full API Documentation is included in Skynet packages available on GitHub.