partitech/advanced-form-bundle

Powerful Symfony form components

v1.1.2 2022-11-11 09:08 UTC

This package is auto-updated.

Last update: 2024-10-31 00:21:41 UTC


README

Powerful Symfony form components

initialy fork from https://github.com/sherlockode/advanced-form-bundle and upgraded to SF6

Prerequisites

This bundle requires Symfony 6.0 and jQuery.

Installation

Step 1: Install PartitechAdvancedFormBundle

The best way to install this bundle is to rely on Composer:

$ composer require partitech/advanced-form-bundle

Step 2: Enable the bundle

Enable the bundle in the kernel

<?php
// config/bundles.php

return [
    // ...
    Partitech\AdvancedFormBundle\PartitechAdvancedFormBundle::class => ['all' => true],
];

Step 3: Configure the bundle

Import the routing in config/routes.yml

Partitech_advanced_form:
    resource: "@PartitechAdvancedFormBundle/Resources/config/routing/all.yml"

Step 4: Publish assets

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

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

Next steps

Ajax uploader

Create a single file upload form

Use the temporary upload mode

Multiple files upload form

Options overview

Dependent entity form type

Overview