Files changed (1)
-Deeply is a simple php library to have easy access to SSH from within php. It allows you to create routines in php that can be easily executed on one or more servers defined in a JSON formatted file or string.
+Deeply is a simple php library that allows you to create routines in php that can be easily executed over SSH on one or more servers defined in a JSON formatted file or string.
+After you've put the repository in your project's composer.json file, you can let composer download the dependencies. Assuming that you have the `composer.phar` file in your project root:
Then create a class which contains some subroutines (as methods). The class should extend the `Deeploy\Deeploy` class. From within your routines you can use the `$this->server` variable to do some interesting things on the server the routine will run on.
+When that's done you can define some config vars in json format and run your routines on the defined servers.
+This example will log in to the server `test1`, and run routines `routine_one` and `routine_two`, defined in our `Routines` class.