- What is liberusoftware/module-cms-forms used for?
- It is a forms module for Liberu CMS that lets you define public forms, manage fields, and handle submissions inside a Laravel application. It includes spam-protected submissions and emits a FormSubmitted event so your application can react to new entries. It is intended for CMS-driven form functionality rather than standalone form building.
- How do I install the Liberu CMS forms module with Composer?
- Install it as a Composer package in your Laravel-based Liberu CMS application using liberusoftware/module-cms-forms. Follow the Liberu CMS module installation conventions for registration and configuration. Check the package release notes for any required migration or setup steps.
- Does this package support dynamic forms and reusable form fields?
- Yes, the module is described as providing public form definitions and fields for dynamic forms inside Liberu CMS. You can build reusable form components and extend CMS content with flexible form functionality. The exact field types available depend on the module version and CMS configuration.
- How does spam protection work for public form submissions?
- The module provides spam-protected submissions for public form definitions, which helps reduce unwanted entries. The package overview does not specify the exact spam-protection mechanisms, so review the module configuration and CMS documentation for details. You should test the protection behavior in your own environment before going live.
- What is the FormSubmitted event and how do I listen to it?
- FormSubmitted is an event emitted when a form submission is created through the module. In Laravel, you can listen for it using an event listener or the Event facade, then trigger notifications, storage, or other workflows. Confirm the event class namespace and payload in the module source or documentation for your installed version.
- Which Laravel versions are supported by this forms module?
- The package is built for Laravel applications as a Liberu CMS module, but supported Laravel versions can change between releases. Check the package composer.json and release notes for the exact version constraints before installing. Match the module version to your Liberu CMS and Laravel versions.
- How do I manage form submissions inside Liberu CMS?
- The module handles public form definitions and submissions within the CMS workflow. You manage forms, fields, and entries through the module's CMS integration rather than building a separate submission system. Review the CMS administration features and permissions for your installed module version.
- Can I test form submissions and the FormSubmitted event in Laravel?
- Because submissions emit a FormSubmitted event, you can test related behavior by dispatching or asserting that event in Laravel tests. You should also test validation, spam-protection paths, and CMS permissions around form submission. Use your application's normal testing setup and confirm event details for the installed module version.
- Is liberusoftware/module-cms-forms suitable for production use?
- The module is designed for CMS form definitions and spam-protected public submissions, which are production-facing concerns. Before deploying, review spam protection settings, event listeners, storage, and permissions in your Liberu CMS setup. Test submissions in staging and monitor FormSubmitted listeners for failures.
- What are alternatives to this Liberu CMS forms module?
- Alternatives include building forms directly with Laravel validation and Blade, or using general Laravel form packages. The main reason to choose this module is native integration with Liberu CMS content and the FormSubmitted event. Consider alternatives if you need form features outside the module's CMS-oriented form and submission scope.