Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Form Bundle Laravel Package

amaxlab/form-bundle

View on GitHub
Deep Wiki
Context7

AmaxlabFormBundle

AmaxlabFormBundle provides some useful form types for Symfony2 framework

Install

0. Add to composer.json

composer require amaxlab/form-bundle

1. Add bundle to AppKernel.php

$bundles = array(
    ...
    new Amaxlab\Bundle\FormBundle\AmaxlabFormBundle(),
);

2. Configure

Create new recaptcha for you domain in https://www.google.com/recaptcha/intro/index.html

Add this keys to config.yml:

amaxlab_form:
    recaptcha2:
        public_key: 6LfaoQ4TAAAAAOdnLoFZIjBayGa5zUyUOOeNe3y4
        private_key: 6LfaoQ4TAAAAAJvOlPjYNgLUJMfNWllKR7zfiJb7

Form Types

1. select_or_add

Allow select from entity from standart select or add a new Entity throw attached form

2. amaxlab_recaptcha2

Add to you form new field (probably not mapped to entity)

$form
    ->add('recaptcha', 'amaxlab_recaptcha2', array(
        'mapped' => false,
    ));

Now form will not passed validation if recaptcha is invalid.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels