fancyguy / todomvc-client-bundle
a Symfony/AngularJS implementation of the TodoMVC client
dev-master / 1.0.x-dev
2015-02-01 07:35 UTC
Requires
- php: >=5.3.2
- sensio/framework-extra-bundle: ~3.0
- symfony/assetic-bundle: ~2.3
- symfony/framework-bundle: ~2.6
- twig/extensions: ~1.0
This package is not auto-updated.
Last update: 2024-11-23 17:17:10 UTC
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