fancyguy/todomvc-client-bundle
Composer 安装命令:
composer require fancyguy/todomvc-client-bundle
包简介
a Symfony/AngularJS implementation of the TodoMVC client
README 文档
README
This bundle implements an API client interface in the style of TodoMVC to highlight best practices, defined by FancyGuy Technologies, in implementing a web client in PHP.
Prerequisites
This bundle requires Symfony 2.1+.
Installation
- Download FancyGuyTodoMVCClientBundle using composer
- Enable the bundle
- Update the application routes
Step 1: Download FancyGuyTodoMVCClientBundle using composer
Add FancyGuyTodoMVCClientBundle by running the command:
$ composer require fancyguy/todomvc-client-bundle "1.0.x-dev"
Composer will install the bundle to the project's vendor/fancyguy directory.
Step 2: Enable the bundle
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FancyGuy\Bundle\FancyGuyTodoMVCClientBundle(), ); }
Step 3: Update the application routes
# app/config/routing.yml fancyguy_todomvc_client: resource: "@FancyGuyTodoMVCClientBundle/Controller/" type: annotation prefix: /client
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-01