2017 © Pedro Peláez
 

library angsym-forms

Symfony2 forms presentation and handling with Angular.js

image

legionofmyown/angsym-forms

Symfony2 forms presentation and handling with Angular.js

  • Monday, October 5, 2015
  • by legionofmyown
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

angsym-forms

Symfony2 bundle to expose forms for Angular.js interface and process AJAX submits., (*1)

Usage

Controller

/**
 * @Route("/")
 * @Template()
 */
public function indexAction()
{
    return [
        'formName' => Form1::class
    ];
}

/**
 * @Route("/test-form-1", name="test_form1")
 * @Template()
 */
public function testForm1Action(Request $request)
{
    $response = $this->get('angsym.form')->processForm($request, Form1::class, TestEntity::class);

    return $response;
}

Twig

{{ angsym_form('myAppTest', formName, path("test_form1"), 'POST' ) }}

The Versions

05/10 2015

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/legionofmyown/angsym-forms

Symfony2 forms presentation and handling with Angular.js

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

form ajax symfony angular

05/10 2015

dev-master

9999999-dev https://github.com/legionofmyown/angsym-forms

Symfony2 forms presentation and handling with Angular.js

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

form ajax symfony angular

05/10 2015

1.0.0

1.0.0.0 https://github.com/legionofmyown/angsym-forms

Symfony2 forms presentation and handling with Angular.js

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

form ajax symfony angular