API-Viewer for JS Developers
Instead they just open /developer-remote-api.html in debug mode in their browser and can view all remotely available CakePHP Controller methods.
- Dynamically reflects on CakePHP app
- Displays searchable RemoteStubs
- Uses both Reflection and PHPDoc comments
- Supports code tags and MarkDown syntax
How to setup the project
Asuming you already use Bancha 2.1.0+ on the site, just copy this plugin into Plugin/ or app/Plugin/ and add following line to your app/Config/bootstrap.php:
CakePlugin::load(array('BanchaDeveloperRemoteApi' => array('routes' => true)));
More information about Bancha
This is a bancha-flavored light-weight build of Sencha JSDuck .
This project is distributed under the terms of the GNU General Public License version 3.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.