Show HN: Cliche, A Command line tool for the modern PHP developer.
This is something I made to automate a bunch of tasks for the modern php developer. Cliche works with a projects auto loader and can
1. Accept a set of partial class name as command line arguments. Using an interactive session with the user, Cliche resolves the partial class names to their proper names. It will generate the class file with all the required import statements (taking care of any conflicting imports) and any methods declared by the interfaces are generated as empty methods. Lastly it can place the class file in the correct location as expected by your auto loader. If it detects there are more than one location where auto loader looks for the class, it will ask the user to select the correct one.
2. It can provide auto completion data (for expressions, class names and built in functions) to editors like vim.
3. It can check for a dependency cycle for objects created from your pimple (or similar) container file.
4. It can add and remove file doc comments to source files in bulk.
Please let me know your thoughts..
0 comments
[ 3.2 ms ] story [ 9.9 ms ] threadNo comments yet.