Download the PHP package piga/angular without Composer
On this page you can find all versions of the php package piga/angular. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package angular
Angular Bundle
Idea
This bundle integrate angular with symfony. The idea is create easy bundle without any magic. Bundle consist of one controller one view and little configuration. Bundle use bower as js dependency manager. The idea is create symfony action in normal way, but have access to angular in all of views.
What bundle do?
- Add angular files to base layout
- Allow you to use oneReload page with symfony routing
- Allow you to use Angular in twig which is rendering by symfony controller
instalation
- Download PigaAngularBundle using composer
- Enable the Bundle and RelatedBundle
- Import angular routing
- Run initialize commmand
- Open default page in browser
step one
download bundle using composer
composer require piga/angular
or add to your composer.json
"piga/angular": "^1.0"
step two
Enable the bundle and related bundle in the kernel:
Step three
you have to import angular routing
In YAML:
Step four
run command
app/console piga:angular:install
this command run
- bower install (in pigabundle directory)
-
app/console assetic:install --symlink web
result of runing this command should be symlink to angular libraries inside your web catalog
step five
open demo page in browser
app_dev.php/index
And you will see demo controller
If you get some errors please report it creating new issue
Basic usage
What next?
Usage tutorial tutorial
Usage flow usage
Demo project useing this bundle demo