Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sherlockode/advanced-form-bundle

Symfony Bundle with form components
https://github.com/sherlockode/advanced-form-bundle

Last synced: about 4 hours ago
JSON representation

Symfony Bundle with form components

Awesome Lists containing this project

README

        

Sherlockode Advanced Form Bundle
================================

Powerful Symfony form components

## Prerequisites

This bundle requires Symfony 3.4+ and jQuery.

## Installation

### Step 1: Install SherlockodeAdvancedFormBundle

The best way to install this bundle is to rely on [Composer](https://getcomposer.org/):

```bash
$ composer require sherlockode/advanced-form-bundle
```

### Step 2: Enable the bundle

Enable the bundle in the kernel

```php
['all' => true],
];
```

### Step 3: Configure the bundle

Import the routing in `config/routes.yml`

```yaml
sherlockode_advanced_form:
resource: "@SherlockodeAdvancedFormBundle/Resources/config/routing/all.xml"
```

### Step 4: Publish assets

You may use Webpack to import the JavaScript files or use the `assets` command.

```bash
$ php bin/console assets:install --symlink public
```

## Next steps

### Ajax uploader

[Create a single file upload form](Resources/doc/single_file_upload.md)

[Use the temporary upload mode](Resources/doc/temporary_upload.md)

[Multiple files upload form](Resources/doc/multiple_files_upload.md)

[Options overview](Resources/doc/options_overview.md)

### Dependent entity form type

[Overview](Resources/doc/dependent_entity.md)