Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshuaestes/sthelloworld
https://github.com/joshuaestes/sthelloworld
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/joshuaestes/sthelloworld
- Owner: JoshuaEstes
- Created: 2012-04-20T00:59:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-20T01:32:40.000Z (over 12 years ago)
- Last Synced: 2024-11-08T05:41:48.327Z (about 2 months ago)
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
JoshuaEstes/stHelloWorld
========================This is an example of how to create commands to use for the ServerTools
script.See https://github.com/JoshuaEstes/ServerTools
Requirements
------------The command must end with Command.php, for example HelloCommand.php, HelloWorldCommand.php, FooCommand.php
are all valid, while CommandIAmNot.php is not.You can place the commands in any directory structure you like, as long as the namespace and classname
match the directory structure. An example of this is the WorldCommand.php located in the Hello
directory. The namespace matches, ie "JoshuaEstes\stHelloWorld\Hello" and the class name is "World".Also check out the composer.json file.
References
----------Here is come documentation that should help you write your own tasks. ServerTools by default will
pull these in. If you need anything else, put it in your composer.json file.* http://symfony.com/doc/current/components/console.html
* http://symfony.com/doc/current/components/finder.html
* http://symfony.com/doc/current/components/process.html
* https://github.com/symfony/Filesystem